[gradsusr] unable to create idx file.

Jennifer Adams jma at cola.iges.org
Fri May 15 08:44:43 EDT 2015


What version of grads are you using? What is the output from ‘q config’ ? —Jennifer


On May 15, 2015, at 6:59 AM, Geeta Geeta <geeta124 at hotmail.com> wrote:

> I have to plot GRIB2 data with grads. hence I am using g2ctl script. 
> The problem is that IDX file is NOT CREATED. 
> 
> Can someone tell me whats the problem. 
> 
> bash-3.2$ ~/g2ctl -0 fnl_20110422_12_00 >2011042212.ctl
> bash-3.2$ gribmap -i 2011042212.ctl
> Open Error:  Data file type invalid
>   --> The invalid description file record is:
>   --> dtype grib2
>  
>   The data file was not opened.
> File name is:  2011042212.ctl
> bash-3.2$
>  The ctl file is created OK. 
> dset ^fnl_20110422_12_00
> index ^fnl_20110422_12_00.idx
> undef 9.999E+20
> title fnl_20110422_12_00
> * produced by g2ctl v0.0.8.8
> * command line options: -0 fnl_20110422_12_00
> * griddef=1:0:(360 x 181):grid_template=0: lat-lon grid:(360 x 181) units 1e-06 input WE:NS output WE:SN res 48 lat 90.000000 to -90.000000 by 1.000000 lon 0.000000 to 359.000000 by 1.000000 #points=65160:winds(N/S)
>                                                                                                                              
> dtype grib2
> ydef 181 linear -90.000000 1
> xdef 360 linear 0.000000 1.000000
> tdef 1 linear 12Z22apr2011 1mo
> * PROFILE hPa
> zdef 26 levels 100000 97500 95000 92500 90000 85000 80000 75000 70000 65000 60000 55000 50000 45000 40000 35000 30000 25000 20000 15000 10000 7000 5000 3000 2000 1000
> options pascals
> vars 138
> no4LFTXsfc   0,1,0   0,7,193 ** surface Best (4 layer) Lifted Index [K]
> no5WAVA500mb   0,100,50000   0,3,197 ** 500 mb 5-Wave Geopotential Height Anomaly [gpm]
> no5WAVH500mb   0,100,50000   0,3,193 ** 500 mb 5-Wave Geopotential Height [gpm]
> ABSVprs    26,100  0,2,10 ** (1000 975 950 925 900.. 70 50 30 20 10) Absolute Vorticity [1/s]
> ACPCPsfc   0,1,0   0,1,10,1 ** surface Convective Precipitation [kg/m^2]
> ALBDOsfc   0,1,0   0,19,1,0 ** surface Albedo [%]
> APCPsfc   0,1,0   0,1,8,1 ** surface Total Precipitation [kg/m^2]
> CAPEsfc   0,1,0   0,7,6 ** surface Convective Available Potential Energy [J/kg]
> CAPE180_0mb  0,108,18000,0   0,7,6 ** 180-0 mb above ground Convective Available Potential Energy [J/kg]
> CFRZRsfc   0,1,0   0,1,193,0 ** surface Categorical Freezing Rain (yes=1; no=0) [non-dim]
> CICEPsfc   0,1,0   0,1,194,0 ** surface Categorical Ice Pellets (yes=1; no=0) [non-dim]
> CINsfc   0,1,0   0,7,7 ** surface Convective Inhibition [J/kg]
> CIN180_0mb  0,108,18000,0   0,7,7 ** 180-0 mb above ground Convective Inhibition [J/kg]
> CLWMRprs    21,100  0,1,22 ** (1000 975 950 925 900.. 300 250 200 150 100) Cloud Mixing Ratio [kg/kg]
> CPRATsfc   0,1,0   0,1,196,0 ** surface Convective Precipitation Rate [kg/m^2/s]
> CRAINsfc   0,1,0   0,1,192,0 ** surface Categorical Rain (yes=1; no=0) [non-dim]
> CSNOWsfc   0,1,0   0,1,195,0 ** surface Categorical Snow (yes=1; no=0) [non-dim]
> CWATclm   0,200,0   0,6,6 ** entire atmosphere (considered as a single layer
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

--
Jennifer M. Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
111 Research Hall, Mail Stop 2B3
George Mason University
4400 University Drive
Fairfax, VA 22030 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20150515/5ec36d07/attachment-0001.html 


More information about the gradsusr mailing list