[RegCNET] Re: coding problem

Jonathan Winter jwinter at MIT.EDU
Tue Dec 6 16:55:38 CET 2005


Yan,

As Bi said, ldoc1d is simply the 1 dimensional version of ocld2d, which
is a land-water mask.  In initb.f you should see the ocean and lake
vegetation types, 14 and 15 I think, set ocld2d to 0 for water and 1 for
land.  Like the chunks of code you included in your email, it's usually
used as a flag for some process over land or water.

If all is right in the world, you should be seeing values of 0 or 1 for
ocld2d and ldoc1d, and your evaporation/transpiration values should be
different between land and ocean.

hope that helps,

jonathan 

On Tue, 2005-12-06 at 03:39, BI XUNQIANG wrote:
> Hi, Zhang Yan:
> 
> On Mon, 5 Dec 2005, Yan Zhang wrote:
> 
> >     Could you please tell me what those varibles below are?
> >
> > interf.f:           if(ocld2d(n,i,j).lt.0.5) then
> > interf.f:           ldoc1d(n,i)=ocld2d(n,i,j)
> > lftemp.f:           if (ldoc1d(n,np).gt.0.5) then
> >
> >     I have no idea about 'ocld2d' and 'ldoc1d'. But I found when
> > calculating evaporate and transpiration, they are very important.
> >
> I just reply the first question of yours, since it's easy :)
> 
> ocld2d is used for run sub-BATS experiment, if you not run
> sub-BATS (n=1), then ldoc1d is the same as ocld2d (except ldoc1d just
> hold one row).
> 
> I have checked, the adding of ocld2d (and sub-BATS) doesn't cause
> any difference for normal (not subBATS) run.
> 
> There is no BATS1E documentation with me right now, hope you could
> get the answer of your second question from someone else.
> 
> Best regards,
> Xunqiang
> _______________________________________________
> RegCNET mailing list
> RegCNET at lists.ictp.it
> https://lists.ictp.it/mailman/listinfo/regcnet




More information about the RegCNET mailing list