[gradsusr] Problem templating nc files

Luis Blacutt luis.blacutt at gmail.com
Fri Feb 15 11:03:07 EST 2013


Dear all,

I have five nc files, I generated a ctl file to open them all as follows.

dset ^EraInterim%ch.nc
chsub     1  4384 1979-1984
chsub  4385  8766 1985-1990
chsub  8767 13150 1991-1996
chsub 13151 17532 1997-2002
chsub 17533 21916 2003-2008
chsub 21917 24776 2009-2012
undef 200000004008175468544.000000
options template little_endian yrev
dtype netcdf
xdef 36 linear 274.500000 1.500000
ydef 46 linear -55.500000 1.500000
zdef 1 linear 1 1
tdef 24776 linear 06:00Z01jan1985 12hr
vars 4
t2m 0  t,y,x  2-metre temperature [K]
cp  0  t,y,x  Convective precipitation
lsp 0  t,y,x  Stratiform precipitation (Large-scale precipitation)
tp  0  t,y,x  Total precipitation
endvars

Apparently I succeeded, however the values I get are totally wrong. At this
point I'm clueless, can anyone help me out?

Best regards
Luis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130215/52788d2e/attachment-0003.html 


More information about the gradsusr mailing list