[Thread Prev][Thread Next][Index]

[ferret_users] Ferret v.6 and save data in a netCDF file



Hi Ferret users!

I have recently changed to the last version of Ferret and now encounter a problem with a script that just worked perfectly with the previous version.
All I do is to open a few netCDF files (each one = 3-month long) and write some selected variables into a new one (1-year long). So mainly it's just a time concatenation. My time axis is lost somewhere and I just don't understand why since it didn't happen before.

Here is the script:

use input.1987.01-03.nc
use input.1987.04-06.nc
use input.1987.07-09.nc
use input.1987.10-12.nc
let nb = 4

define symbol file = output.1987.nc

save/file=($file)/clobber lon,lat,sh,isol !a few time independent variables

repeat/range=1:`nb`:1/name=f ( \
save/file=($file)/append uairdy[d=`f`,k=40] ;\
save/file=($file)/append eta_tv[d=`f`] ;\
save/file=($file)/append evapot[d=`f`] ;\
save/file=($file)/append vairdy[d=`f`,k=40] ;\
save/file=($file)/append tairdy[d=`f`,k=40] ;\
)

Why does it not work anymore?

Many thanks for any clue on this!

Emilie V.

[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement