<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.&nbsp;</div><div id="yui_3_16_0_1_1431579740023_18496" dir="ltr">The IDX file is NOT CREATED.&nbsp;</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.&nbsp;</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 &gt;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: &nbsp;Data file type invalid</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">&nbsp; --&gt; The invalid description file record is:</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">&nbsp; --&gt; dtype grib2</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">&nbsp;</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">&nbsp; The data file was not opened.</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">File name is: &nbsp;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="">&nbsp;The ctl file is created OK.&nbsp;</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="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</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 &nbsp; 0,1,0 &nbsp; 0,7,193 ** surface Best (4 layer) Lifted Index [K]</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">no5WAVA500mb &nbsp; 0,100,50000 &nbsp; 0,3,197 ** 500 mb 5-Wave Geopotential Height Anomaly [gpm]</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">no5WAVH500mb &nbsp; 0,100,50000 &nbsp; 0,3,193 ** 500 mb 5-Wave Geopotential Height [gpm]</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">ABSVprs &nbsp; &nbsp;26,100 &nbsp;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 &nbsp; 0,1,0 &nbsp; 0,1,10,1 ** surface Convective Precipitation [kg/m^2]</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">ALBDOsfc &nbsp; 0,1,0 &nbsp; 0,19,1,0 ** surface Albedo [%]</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">APCPsfc &nbsp; 0,1,0 &nbsp; 0,1,8,1 ** surface Total Precipitation [kg/m^2]</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">CAPEsfc &nbsp; 0,1,0 &nbsp; 0,7,6 ** surface Convective Available Potential Energy [J/kg]</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">CAPE180_0mb &nbsp;0,108,18000,0 &nbsp; 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 &nbsp; 0,1,0 &nbsp; 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 &nbsp; 0,1,0 &nbsp; 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 &nbsp; 0,1,0 &nbsp; 0,7,7 ** surface Convective Inhibition [J/kg]</div><div id="yui_3_16_0_1_1431579740023_18496" class="" style="">CIN180_0mb &nbsp;0,108,18000,0 &nbsp; 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 &nbsp; &nbsp;21,100 &nbsp;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 &nbsp; 0,1,0 &nbsp; 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 &nbsp; 0,1,0 &nbsp; 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 &nbsp; 0,1,0 &nbsp; 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 &nbsp; 0,200,0 &nbsp; 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">&nbsp;</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>