[Thread Prev][Thread Next][Index]

[ferret_users] regrid problem



Dear all,

I have a data file I called 3d_ave.nc has the grid as following:

Grid GGR1
Longitude200_450 	longitud 	251mi	82.08W(-82.08)	62.08W(-62.08)
Latitude800_1050	Latitude		251   i	32.838N	47.96N
Depth_1-		Depth(m)	10     i-	0		200
normal 			T

I'd like to resample the data point to 81x81, instead of the original
251x251.
I used the following scripts:

can data/all;
use 3d_ave
def axis/x=82.08w:62.08w:0.25 xax;
def axis/y=32.83n:47.96n:0.19 yax;
def grid/x=xax/y=yax grd
let temperature=temp[g=grd]	! temp is the varialbe in file 3d_ave
list temperature
list/clobber/file=test.nc/format="CDF" temperature

the result from "list temperature" looks fine, however when I save to the
file test.nc, and list the temperature from the file, it has error:

** ERROR: variable unknown or not in data set: TEMP[G=grd]

Can you tell me what is the problem?

thank you very much,
Zibiao



[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement