Hello,
I'm trying to put clim data partially. Because of not finding variable which can change range to put clim data, I've been editing coding file( mod_clima.F -> to change nudge coff, step3d_t.F -> to change range of clim data).
***************step3d_t.F************************
DO k=1,N(ng)
DO j=230,JendR
DO i=120,IendR
t(i,j,k,nnew,itrc)=t(i,j,k,nnew,itrc)+ &
& dt(ng)*Tnudgcof(i,j,itrc)* &
& (tclm(i,j,k,itrc)-t(i,j,k,nnew,itrc))
END DO
END DO
END DO
But, I've always failed to run model. Please, give me some tips.
Thanks to reading my question.
problem with adding climatology data partially
-
- Posts: 4
- Joined: Fri Aug 10, 2012 4:58 am
- Location: Seoul national university
Re: problem with adding climatology data partially
I'm afraid I don't quite understand what you are trying to do and what's not working. How is it not working?
Re: problem with adding climatology data partially
If you are trying to restrict the climatological nudging to a certain region, you should customize the ana_nudgcoef.h functional.
Set CLIMA(ng)%Tnudgcof(i,j,itrc) etc to be zero where you don't want nudging, then the code in step3d_t.F won't do anything. You don't need to, and should not, modify step3d_t.F.
Be sure to follow the practice in the ana_nudgcoef.h template (in Functionals) in coding the limits on the i and j DO loops if you intend to run this with MPI.
Set CLIMA(ng)%Tnudgcof(i,j,itrc) etc to be zero where you don't want nudging, then the code in step3d_t.F won't do anything. You don't need to, and should not, modify step3d_t.F.
Be sure to follow the practice in the ana_nudgcoef.h template (in Functionals) in coding the limits on the i and j DO loops if you intend to run this with MPI.
John Wilkin: DMCS Rutgers University
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu