[Thread Prev][Thread Next][Index]
Re: bug in interpreter?
Ansley Manke wrote:
> LET dtdz_anom = dtdz_month - dtdz_clim[gt=dtdz_month@asn]
>
> Note that in the definition of dtdz_anom, you regrid dtdz_clim to the
> grid of dtdz_month. The time axis of dtdz_month is hope_month, so
> you could replace
>
> dtdz_clim[gt=dtdz_month@asn] with dtdz_clim[gt=hope_month@asn]
>
> Now you have a simpler definition. In a similar example I created,
> this fixes the problem.
Thanks Ansley, I'll try that workaround. In the mean time I already
got the script working using a tip from another colleague, to use the
load command to "preload" complex variables before using them. Adding
the lines
load wv_month
load dtdz_month
at the end of the script, before trying to use any of the derived
variables, seems to fix the problem. Could it be that Ferret gets
confused because in a single variable definition the time axis is
regridded twice? I can imagine that loading the first one forces
ferret to compute it, after which the second regrid action succeeds.
Hein Zelle
>-----------------------------------------------------------------<
Hein Zelle
Dept. of Oceographic Research
KNMI, The Netherlands
work: zelle@knmi.nl http://www.knmi.nl/~zelle
private: hein@icce.rug.nl http://www.icce.rug.nl/~hein
Phone: +31 (0)30 2206704
>-----------------------------------------------------------------<
--------------------------------------------------------------
Zie ook/see also: http://www.knmi.nl/maildisclaimer.html
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement