[gradsusr] reading ASCII data file

Michael Rawlins rawlins02 at yahoo.com
Wed Sep 22 17:14:03 EDT 2010


GrADS does not like the 365 day calendar (see below).  I am processing the data using FORTRAN, thus the desire to map the resultant ASCII data. The processed grid domain, I should mention, is the same as the grid laid out in the netCDF file. 
  

ga-> sdfopen tas_CRCM_1971010103.nc
Scanning self-describing file:  tas_CRCM_1971010103.nc
Definition of "kt" in "/usr/share/xml/udunits2-common.xml", line 86, overrides prefixed-unit "1000000 kilogram"
Definition of "microns" in "/usr/share/xml/udunits2-common.xml", line 296, overrides prefixed-unit "1e-15 second"
Definition of "ft" in "/usr/share/xml/udunits2-common.xml", line 393, overrides prefixed-unit "1e-12 kilogram"
Definition of "yd" in "/usr/share/xml/udunits2-common.xml", line 401, overrides prefixed-unit "8.64e-20 second"
Definition of "pt" in "/usr/share/xml/udunits2-common.xml", line 622, overrides prefixed-unit "1e-09 kilogram"
Definition of "at" in "/usr/share/xml/udunits2-common.xml", line 1019, overrides prefixed-unit "1e-15 kilogram"
Definition of "ph" in "/usr/share/xml/udunits2-common.xml", line 1537, overrides prefixed-unit "3.6e-09 second"
Definition of "nt" in "/usr/share/xml/udunits2-common.xml", line 1544, overrides prefixed-unit "1e-06 kilogram"
SDF Error: 365 day calendars are no longer supported by sdfopen.
  To open this file with GrADS, use a descriptor file with 
  a complete TDEF entry and OPTIONS 365_day_calendar. 
  Documentation is at http://iges.org/grads/gadoc/SDFdescriptorfile.html



-----------------------------


Hi Michael,

Have you tried reading in the netcdf file using the following instead of 
creating a ctl file?

ga > sdfopen filename.nc





      




More information about the gradsusr mailing list