<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>Question about problem with g2ctl with a sample lat-long grib2 file</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Hello GrADS community. </FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">This message below is also in the readme file along with sample grib2 file at the following site: </FONT>
<BR><A HREF="http://collaboration.cmc.ec.gc.ca/cmc/cmoi/grads/reps-glblatlong/"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">http://collaboration.cmc.ec.gc.ca/cmc/cmoi/grads/reps-glblatlong/</FONT></U></A>
</P>
<BR>
<P><FONT SIZE=2 FACE="Arial">(Caution - the grib2 file is 11MB)</FONT>
</P>
<BR>
<P><FONT FACE="Times New Roman">Dear GrADS community: </FONT>
</P>
<P><FONT FACE="Times New Roman">(1) I produced a lat-long grid: </FONT>
</P>
<P><FONT FACE="Times New Roman">- 0.14 degrees lat x 0.14 deg longitutde</FONT>
<BR><FONT FACE="Times New Roman">- from -23S to 90N</FONT>
<BR><FONT FACE="Times New Roman">- from 0 to 360</FONT>
<BR><FONT FACE="Times New Roman">- file is 2012110600_CMC_naefs-reps_0.14x0.14deg_P000_000.grib2 - included in this directory</FONT>
</P>
<BR>
<P><FONT FACE="Times New Roman">(2) wgrib2 -V 2012110600_CMC_naefs-reps_0.14x0.14deg_P000_000.grib2</FONT>
</P>
<P><FONT FACE="Times New Roman">This appears to work fine. I can see the records and the -V output of the grib2 file.</FONT>
</P>
<BR>
<P><FONT FACE="Times New Roman">(3) However when I execute the command</FONT>
</P>
<P><FONT FACE="Times New Roman">g2ctl 2012110600_CMC_naefs-reps_0.14x0.14deg_P000_000.grib2 > 2012110600_CMC_naefs-reps_0.14x0.14deg_P000_000.grib2.ctl</FONT></P>
<P><FONT FACE="Times New Roman">I get the following error messages: </FONT>
</P>
<P><FONT FACE="Times New Roman">*** script needs to be modified ***</FONT>
<BR><FONT FACE="Times New Roman">*** unknown grid ***</FONT>
<BR><FONT FACE="Times New Roman">Floating point exception </FONT>
<BR><FONT FACE="Times New Roman">Done</FONT>
</P>
<P><FONT FACE="Times New Roman">I am using code from grads_2.0.1</FONT>
</P>
<P><FONT FACE="Times New Roman">The resulting .ctl file is included in this directory</FONT>
</P>
<BR>
<BR>
<BR>
<P><FONT FACE="Times New Roman">Would you have any advice? </FONT>
</P>
<P><FONT FACE="Times New Roman">Thanks for your assistance. </FONT>
</P>
<P><FONT FACE="Times New Roman">Lewis Poulin</FONT>
<BR><FONT FACE="Times New Roman">Canadian Meteorological Centre</FONT>
<BR><FONT FACE="Times New Roman">Dorval, Quebec</FONT>
<BR><FONT FACE="Times New Roman">Canada</FONT>
</P>
</BODY>
</HTML>