[gradsusr] problem regarding opening data descriptor file in grads

Andrew Friedman andfried at berkeley.edu
Fri Nov 29 13:47:04 EST 2013


Hi Asmat and Fahim,

You should be able to open the files using GrADS 2.

The instructions and links below are from a previous post by Jennifer Adams on opening 365-day calendar files:
http://gradsusr.org/pipermail/gradsusr/2011-June/013406.html

-Andrew

-----------------------------------------------------------------------------------------------
….Here are just a few threads to choose from (search string was  
"site:gradsusr.org 365 calendar sdfopen") :

http://gradsusr.org/pipermail/gradsusr/2009-December/010064.html
http://gradsusr.org/pipermail/gradsusr/2009-April/008489.html
http://gradsusr.org/pipermail/gradsusr/2009-January/008103.html
http://gradsusr.org/pipermail/gradsusr/2011-April/013123.html

The error message delivered by GrADS is carefully written to give you  
the information you need -- you must write a descriptor file to open  
this file with GrADS. Your descriptor file must have the following  
entries:
DSET
TDEF
OPTIONS 365_day_calendar
The link to the documentation in the error message shows you how to  
create these entries, and help you decide whether you need to use  
'xdfopen' or the 'open' command. If the documentation is incomplete in  
any way, I welcome suggestions for improvements.
-----------------------------------------------------------------------------------------------




On Nov 29, 2013, at 5:22 AM, fahim ahmad <fahimpmd at yahoo.com> wrote:

> Hi
> try to use grads 1.9.
> 
>  
> **************************************
> Muhammad FAHIM Ahmad,
> PhD Scholar,
> Nanjing Univ. of Info. Science & Tech.
> Nanjing, China P.R.
> Cell# +8615715191564.
> **************************************
> 
> From: asmat ullah <asmat-786 at hotmail.com>
> To: "gradsusr at gradsusr.org" <gradsusr at gradsusr.org> 
> Sent: Wednesday, November 27, 2013 8:07 PM
> Subject: [gradsusr] problem regarding opening data descriptor file in grads
> 
> hi,
> i am using GFDL CM2.0...i have download the data form LAS portal of GFDL. i have run the .nc file than this error has been occurred as under..
> 
> SDF Error: 365 day calendars are no longer supported by sdfopen.
> To open this file with grads us a descriptor file with a complete TDEF entry and Options 365 day calendar......
> 
> than i use xconv and convert nc file in grads readable. this software give the output in two file one was .ctl file and .dat file. these file were not open properly when i gave the path in script of .ctl file by applying xdfopen, the error was as under....
> gadxdf error: invalid options keyword
> The invalid description file record is:
> options little_endian
> The data file was not opened.
> 
> In .ctl file the script was as under
> dset ^cm112.dat
> undef 200000004008175470000.000000
> options little_endian
> *
> xdef 2 linear 1.000000 1.000000
> *
> ydef 1 linear 1 1
> *
> zdef 1 linear 1 1
> *
> tdef 264 linear 01:-3Z55 708dyhr
> *
> vars 2
> TIME_bnds 0 99 TIME_bnds
> PR 0 99 Precipitation [kg m-2 s-1]
> endvars
> 
> 
> Please let me knw ho can i open .dat and .ctl files in grads, and how to operate .dat file in grads. 
> 
> Regards
> ASMAT ULLAH
> 
> 
> 
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
> 
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr




More information about the gradsusr mailing list