[Thread Prev][Thread Next][Index]

[ferret_users] Using a go_script



Hi all
I am trying to use a go-script for repeated calculation like temperature at MLD.
Example....

1 use temp1.cdf
2 use temp2.cdf
3
4 let q = temp[d=1]
5 go mld.jnl
6 let t_mld1= t_at_mld
7
8 let q=temp[d=2]
9 go mld.jnl
10 let t_mld2= t_at_mld
11 contour/l=12 t_mld1
12 contour/l=12/ov t_mld2
13
and mld.jnl looks like
===========
\cancel mode verify
let dt = q[k=1]-q
let mld = dt[z=0:500@loc:0.5]
let depth = z[g=q]
let zero_at_mld = depth-mld
let t_integrand = q*zero_at_mld[k=@weq]
let t_at_mld=t_integrand[k=@sum]
set mode lask verify

The "t_mld1" and "t_mld2" look same exactly.

When I moved the statement for contouring of t_mld1 from the 11th line to the 7th,
they look different, which is what i expected .

Is there any someting wrong above ?

Thank you very much in advance.

Seon Tae...

[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement