problem with adding climatology data partially

Report or discuss software problems and other woes

Moderators: arango, robertson

Post Reply
Message
Author
yjtack1234
Posts: 4
Joined: Fri Aug 10, 2012 4:58 am
Location: Seoul national university

problem with adding climatology data partially

#1 Unread post by yjtack1234 »

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.

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: problem with adding climatology data partially

#2 Unread post by kate »

I'm afraid I don't quite understand what you are trying to do and what's not working. How is it not working?

User avatar
wilkin
Posts: 922
Joined: Mon Apr 28, 2003 5:44 pm
Location: Rutgers University
Contact:

Re: problem with adding climatology data partially

#3 Unread post by wilkin »

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.
John Wilkin: DMCS Rutgers University
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu

Post Reply