[gradsusr] time format

Yaqiang Wang yaqiang.wang at gmail.com
Wed Jul 27 04:41:49 EDT 2011


 time:units = "day as %Y%m%d.%f"   It does not follow GOARDS
conventions which is used in 'sdfopen' function. So you need to write
a control file to tell GrADS the dimensions and variables in the data
set. You have to use 'xdfopen' or 'open' commands to open the data
file.

On Wed, Jul 27, 2011 at 4:27 PM, Simon Kiertscher
<simon.kiertscher at gmx.de> wrote:
> Dear all,
>
> i have a problem with opening a file.
> I use (GrADS) Version 2.0.a9 on Suse
>
> ga-> sdfopen GKSS-2.nc
> Scanning self-describing file:  GKSS-2.nc
> gadsdf: Error parsing time_units for SDF file.
>
> the format is as follows:
> (from ncdump)
>
>         double time(time) ;
>                 time:units = "day as %Y%m%d.%f" ;
>                 time:calendar = "proleptic_gregorian" ;
>                 time:axis = "t" ;
>                 time:long_name = "time" ;
>
> So i think this is valid format? Can anyone tell my what is wrong?
>
> Best Regards,
> Simon
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>



-- 
*************************************************
Dr. Yaqiang Wang
Chinese Academy of Meteorological Sciences (CAMS)
46, Zhong-Guan-Cun South Avenue
Beijing, 100081
China

yaqiang.wang at gmail.com
**************************************************




More information about the gradsusr mailing list