On Thu, May 29, 2008 at 10:25 PM, yangxing zheng <
yangxingz@xxxxxxxxx> wrote:
Hi Peter,
Thanks for great help. I still have questions.
Since there is missing values in land for ocean MLD
datasets, I try using mask to define integration
repeat/l=1:10 (repeat/j=1:100 (repeat/i=1:100 (let
end=mld[d=2];\
let heat_mld = if end ne (0-(1e+34)) then
heat[d=1,z=`beg`:`end`@din else (0-(1e+34));\
save/file="heat_mld.nc"/append/ilimits=1:100/jlimits=1:100/llimits=1:10/i=`i`/j=`j`/l=`l`/clobber
heat_mld)))
....
The major problem is the definition of
heat[d=1,z=0:bad@din] fails as end = missing values
How to avoid something like z=0:bad@din?