<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
I have a problem with longitude ranges not matching when opening multiple grib2 files.<br>- the first grib2 file (gfs) has a longitude range defined by g2ctl.pl as:<br>xdef 720 linear 0 0.5<br><br>- the second grib2 file has a longitude range defined by g2ctl.pl as:<br>xdef 586 linear 261 0.066667<br><br>when opening both files, setting an arbitrary longitude range, and displaying a variable from the 2nd file, I get the following error:<br>ga-> set lon -100 -50<br>LON set to -100 -50<br>ga-> d myvar.2<br>Data Request Warning: Request is completely outside file limits<br> Entire grid contents are set to missing data<br> Grid limits of file: X = 1 586 Y = 1 481 Z = 1 1 T = 1 61 E = 1 1<br> Grid limits of request: X = -3914 1486 Y = -1724 -1123 Z = 1 1 T = 1 1 E = 1 1<br><br>the problem occurs because the first (gfs) grib2 longitude range gets set from -180 to 180, while the second file's longitude range is in the 0-360 range. grads doesnt seem to understand that the ranges overlap and are, in fact, valid.<br><br>I need set the 2nd file's longitude range to the -180-180 range, without manually editing the .ctl file created by g2ctl.pl.<br>is this possible to do through either grads or through wgrib2/g2ctl.pl?<br><br>please help,<br>thanks,<br>P.R.<br><br>                                            <br /><hr />The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail. <a href='http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4' target='_new'>Get busy.</a></body>
</html>