[Thread Prev][Thread Next][Index]

Re: [ferret_users] Regridding error



Dear Swetha,

use d03_2011_u80_l12.nc
define axis/x=65.1359E:99.368E:0.0415441/units=degrees xfine
define axis/y=5.484N:35.063N:0.0384/units=degrees yfine
define axis/t="02-Jan-2011 01:00":"02-Jan-2012 00:00":1/units=hours tfine
define grid/X=xfine/Y=yfine/T=tfine gfine
show grid gfine
let Unew=U[g=gfine]
save/file=test.nc Unew

**ERROR: regridding: only @ASN regridding between calendar and
non-calendar axes: U80


This message suggeststhat the time axis, which seems to be called "U80",of your original data (d03_ . . . .nc), is not a proper calendar axis.

So, before mapping it onto a finer time grid, you need to set proper calendar attributes to the time axis.

I guess

set/axis/calendar=. . ./t0=. . . U80

would fix the problem. See "SET AXIS" in

../../documentation/users-guide/commands-reference/SET.html

Ryo


[Thread Prev][Thread Next][Index]