[Thread Prev][Thread Next][Index]

Re: [ferret_users] netcdf longitude module problem



Hi Lev & Ansley,

| Ferret won't write a dataset with a non-monotonic axis, which would
| violate the CF standard for netCDF files.  Would it make sense for
| ARCgis to have two datasets, one for longitudes = ...359, 360, and a
| second for 1, 2, ... ?

Lev, do you really need the longitudes to be

  . . . 359, 360, 1, 2, . . .

or are you okay with

   1, 2, 3, . . . , 360

??  If the latter is okay, you can "shift" the longitude axis as

yes? define axis/x=1:360:1/units=degrees_east newlon
yes? let newsst = sst[gx=newlon@NRST]
yes? save/file=newfile.nc newsst

Hope this helps,
Ryo


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement