<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Problem posting nps grib2 data in grads</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.17109" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN lang=en-ca><FONT face=Arial><FONT size=2><SPAN
class=476411120-08062012><FONT
color=#0000ff>Hi</FONT></SPAN></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN lang=en-ca><FONT face=Arial><FONT size=2><SPAN
class=476411120-08062012></SPAN></FONT></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN lang=en-ca><FONT><SPAN
class=476411120-08062012></SPAN><FONT face=Arial><FONT size=2><SPAN
class=476411120-08062012><FONT color=#0000ff>I already mentioned to Lewis (we
work for the same organization) that his problem is that his grib-file contains
2 different grids (depending upon
variable).</FONT></SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN lang=en-ca><FONT><FONT face=Arial><FONT
color=#0000ff size=2><SPAN
class=476411120-08062012></SPAN></FONT></FONT></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN lang=en-ca><FONT><FONT face=Arial><FONT
color=#0000ff size=2><SPAN class=476411120-08062012>I answer him to the entire
list, though, in case somebody knows how to handle this situation (other than
breaking the file into two files .. each with their own
grid).</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN lang=en-ca><FONT><FONT face=Arial><FONT
color=#0000ff size=2><SPAN
class=476411120-08062012></SPAN></FONT></FONT></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN lang=en-ca><FONT><FONT face=Arial><FONT
color=#0000ff size=2><SPAN
class=476411120-08062012>tks</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN lang=en-ca><FONT><FONT face=Arial><FONT
color=#0000ff size=2><SPAN
class=476411120-08062012></SPAN></FONT></FONT></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN lang=en-ca><FONT><FONT face=Arial><FONT
color=#0000ff size=2><SPAN
class=476411120-08062012>ron</SPAN></FONT></FONT></FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> gradsusr-bounces@gradsusr.org
[mailto:gradsusr-bounces@gradsusr.org] <B>On Behalf Of </B>Poulin,Lewis
[CMC]<BR><B>Sent:</B> June 8, 2012 9:40 AM<BR><B>To:</B>
gradsusr@gradsusr.org<BR><B>Subject:</B> [gradsusr] Problem posting nps grib2
data in grads<BR></FONT><BR></DIV>
<DIV></DIV><!-- Converted from text/rtf format -->
<P><FONT face=Arial size=2>Hello</FONT> </P>
<P><FONT face=Arial size=2>I am having difficulty in posting in GrADS my grib2
data on a north polar stereographic grid</FONT> </P>
<P><FONT face=Arial size=2>I placed all relevent files and information in the
directory at: </FONT><BR><A
href="http://collaboration.cmc.ec.gc.ca/cmc/CMOI/grads/regional/"><U><FONT
face=Arial color=#0000ff
size=2>http://collaboration.cmc.ec.gc.ca/cmc/CMOI/grads/regional/</FONT></U></A>
</P>
<P><FONT face=Arial size=2>From this site you can see my grib2 file: called
reg_00_024.grib2</FONT> </P>
<P><FONT face=Arial size=2>I am using grads-2.0.a5</FONT> </P>
<P><FONT face=Arial size=2>I made the following ctl and idx files (available
that above site)</FONT> <BR><FONT face=Arial size=2>
reg_00_024.grib2.ctl</FONT> <BR><FONT face=Arial size=2>
reg_00_024.grib2.idx</FONT> </P>
<P><FONT face=Arial size=2>When I run the following simple script: </FONT></P>
<P><FONT face=Arial size=2>*start sample script</FONT> </P>
<P><FONT face=Arial size=2>'open reg_00_024.grib2.ctl'</FONT> </P>
<P><FONT face=Arial size=2>'clear'</FONT> <BR><FONT face=Arial size=2>'set lon
230 310'</FONT> <BR><FONT face=Arial size=2>'set lat 30 70'</FONT> <BR><FONT
face=Arial size=2>'set mpvals 235 305 35 65' </FONT><BR><FONT face=Arial
size=2>'set mproj nps'</FONT> </P>
<P><FONT face=Arial size=2>'set lev 850'</FONT> <BR><FONT face=Arial size=2>'d
HGTprs'</FONT> </P>
<P><FONT face=Arial size=2>'set lev 500'</FONT> <BR><FONT face=Arial size=2>'d
TMPprs'</FONT> </P>
<P><FONT face=Arial size=2>*end sample script</FONT> </P><BR><BR>
<P><FONT face=Arial size=2>I get the following messages: </FONT></P>
<P><FONT face=Arial size=2>Notice: Implied interpolation for file
reg_00_024.grib2.ctl</FONT> <BR><FONT face=Arial size=2> Interpolation will
be performed on any data displayed from this file</FONT> <BR><FONT face=Arial
size=2>Cannot contour grid - all undefined values </FONT><BR><FONT face=Arial
size=2>Cannot contour grid - all undefined values </FONT></P><BR><BR>
<P><FONT face=Arial size=2>I cannot get my data to display. </FONT></P>
<P><FONT face=Arial size=2>Thanks in advance for your suggestions and
assistance. </FONT></P>
<P><FONT face=Arial size=2>Lewis</FONT> </P></BODY></HTML>