[gradsusr] Displaying a .nc file
David Stanfel
dstanfel at ualberta.ca
Wed Jun 18 22:56:37 EDT 2014
So I figured out how to use a descriptor file but I am still having
troubles opening the file. My descriptor file is as follows:
DSET ^atmos_month.nc.0000
UNDEF 1.e-10
TITLE 6 Months Sample Model Output
*
XDEF 96 LINEAR 0.0 3.75
*
YDEF 80 GAUSR30 1
*
ZDEF 18 LEVELS 1000 950 900 850 800 750 700 650 600 550 500 450 400 350 300
250 200 150
*
TDEF 804 LINEAR JAN0 1MO
*
VARS 7
u 18 0 u
v 18 0 v
w 18 0 v
t 18 0 v
sh 18 0 v
rh 18 0 v
z 18 0 v
ENDVARS
It was able to open it without issue:
ga-> open cont.ctl
Scanning description file: cont.ctl
Data file atmos_month.nc.0000 is open as file 1
LON set to 0 360
LAT set to -88.29 88.29
LEV set to 1000 1000
Time values set: 0:1:1:0 0:1:1:0
E set to 1 1
However, I am having trouble displaying the data. I tried to use the
display command (d) with this result:
ga-> d atmos_month.nc.0000
Syntax error: Bad file number for variable atmos_month
Error ocurred at column 1
DISPLAY error: Invalid expression
Expression = atmos_month.nc.0000
Is my syntax off?
Thanks,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20140618/202a7e08/attachment.html
More information about the gradsusr
mailing list