<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:16px"><div id="yui_3_16_0_1_1431579740023_18496" dir="ltr">I have to plot GRIB2 data with grads. hence I am using g2ctl script. </div><div id="yui_3_16_0_1_1431579740023_18496" dir="ltr">The IDX file is NOT CREATED. </div><div id="yui_3_16_0_1_1431579740023_18496" dir="ltr"><br></div><div id="yui_3_16_0_1_1431579740023_18496" dir="ltr">Can someone tell me whats the problem. </div><div id="yui_3_16_0_1_1431579740023_18496" dir="ltr"><br></div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">bash-3.2$ ~/g2ctl -0 fnl_20110422_12_00 >2011042212.ctl</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">bash-3.2$ gribmap -i 2011042212.ctl</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">Open Error: Data file type invalid</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style=""> --> The invalid description file record is:</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style=""> --> dtype grib2</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style=""> </div><div id="yui_3_16_0_1_1431579740023_18496" class="" style=""> The data file was not opened.</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">File name is: 2011042212.ctl</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">bash-3.2$</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style=""> The ctl file is created OK. </div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">dset ^fnl_20110422_12_00</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">index ^fnl_20110422_12_00.idx</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">undef 9.999E+20</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">title fnl_20110422_12_00</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">* produced by g2ctl v0.0.8.8</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">* command line options: -0 fnl_20110422_12_00</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">* 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)</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style=""> </div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">dtype grib2</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">ydef 181 linear -90.000000 1</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">xdef 360 linear 0.000000 1.000000</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">tdef 1 linear 12Z22apr2011 1mo</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">* PROFILE hPa</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">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</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">options pascals</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">vars 138</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">no4LFTXsfc 0,1,0 0,7,193 ** surface Best (4 layer) Lifted Index [K]</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">no5WAVA500mb 0,100,50000 0,3,197 ** 500 mb 5-Wave Geopotential Height Anomaly [gpm]</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">no5WAVH500mb 0,100,50000 0,3,193 ** 500 mb 5-Wave Geopotential Height [gpm]</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">ABSVprs 26,100 0,2,10 ** (1000 975 950 925 900.. 70 50 30 20 10) Absolute Vorticity [1/s]</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">ACPCPsfc 0,1,0 0,1,10,1 ** surface Convective Precipitation [kg/m^2]</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">ALBDOsfc 0,1,0 0,19,1,0 ** surface Albedo [%]</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">APCPsfc 0,1,0 0,1,8,1 ** surface Total Precipitation [kg/m^2]</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">CAPEsfc 0,1,0 0,7,6 ** surface Convective Available Potential Energy [J/kg]</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">CAPE180_0mb 0,108,18000,0 0,7,6 ** 180-0 mb above ground Convective Available Potential Energy [J/kg]</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">CFRZRsfc 0,1,0 0,1,193,0 ** surface Categorical Freezing Rain (yes=1; no=0) [non-dim]</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">CICEPsfc 0,1,0 0,1,194,0 ** surface Categorical Ice Pellets (yes=1; no=0) [non-dim]</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">CINsfc 0,1,0 0,7,7 ** surface Convective Inhibition [J/kg]</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">CIN180_0mb 0,108,18000,0 0,7,7 ** 180-0 mb above ground Convective Inhibition [J/kg]</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">CLWMRprs 21,100 0,1,22 ** (1000 975 950 925 900.. 300 250 200 150 100) Cloud Mixing Ratio [kg/kg]</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">CPRATsfc 0,1,0 0,1,196,0 ** surface Convective Precipitation Rate [kg/m^2/s]</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">CRAINsfc 0,1,0 0,1,192,0 ** surface Categorical Rain (yes=1; no=0) [non-dim]</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">CSNOWsfc 0,1,0 0,1,195,0 ** surface Categorical Snow (yes=1; no=0) [non-dim]</div><div id="yui_3_16_0_1_1431579740023_18496" class="" dir="ltr" style="">CWATclm 0,200,0 0,6,6 ** entire atmosphere (considered as a single layer</div><div dir="ltr" class="" style="" id="yui_3_16_0_1_1431579740023_18583"><br class="" style=""></div><div></div><div id="yui_3_16_0_1_1431579740023_18466"> </div><div id="yui_3_16_0_1_1431579740023_18487"><div id="yui_3_16_0_1_1431579740023_18486">Geeta. </div></div></div></body></html>