<br> Hi,<br> Is there a grads 1.9b4 for IBM/AIX? From the e-mail it seems, there is one. But I could not find in the GrADS download page?<br><br>thanks.<br><br><div><span class="gmail_quote">On 1/30/07, <b class="gmail_sendername">
Youhua Tang</b> <<a href="mailto:ytang@cgrer.uiowa.edu">ytang@cgrer.uiowa.edu</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi, All:<br><br>I think I may find a bug about grads 1.9b4 on AIX when using<br>PDEF and FILEHEADER/THEADER. My description file is<br><br>dset /ptmp/wx20yt/premaq-20060802/aqm.t12z.grdcro2d.bin<br>title 12km domain for CONUS
<br>undef -9.99e-33<br>PDEF 442 265 lcc 21.8212 -120.628 1 1 33 45 -97 12000. 12000.<br>FILEHEADER 12844<br>THEADER 48<br>xdef 614 linear -133.459000 0.113383763365335<br>ydef 290 linear 22.190000 0.110827272727273<br>zdef 1 linear 1 1
<br>tdef 1 linear 12:00Z02AUG2006 1hr<br>vars 6<br>mlat 0 99 Longitude<br>mlon 0 99 Latitude<br>mf 0 99 squared map-scale factor (M/M)**2<br>topo 0 99 TOPOGRAPH<br>land 0 99 Landuse in USGS 25-Category<br>purb 0 99 percent of urban category
<br>endvars<br><br><br>I found grads did not read this file correctly as it showed some funny<br>value. However, when I removed the PDEF and use native the grid,<br><br>dset /ptmp/wx20yt/premaq-20060802/aqm.t12z.grdcro2d.bin
<br>title 12km domain for CONUS<br>undef -9.99e-33<br>FILEHEADER 12844<br>THEADER 48<br>xdef 442 linear 1 1<br>ydef 265 linear 1 1<br>zdef 1 linear 1 1<br>tdef 1 linear 12:00Z02AUG2006 1hr<br>vars 6<br>mlat 0 99 Longitude
<br>mlon 0 99 Latitude<br>mf 0 99 squared map-scale factor (M/M)**2<br>topo 0 99 TOPOGRAPH<br>land 0 99 Landuse in USGS 25-Category<br>purb 0 99 percent of urban category<br>endvars<br><br>then all value look correct just without map projection.
<br><br>To test it again, I also converted my binary files to NETCDF, and used<br>grads read netcdf file. GrADS can read netcdf file correctly in both<br>native grid and PDEF grid. So I think the problem is on the combination of
<br>PDEF and FILEHEADER/THEADER. The same bug is also found in GrADS 1.8sl11<br>on AIX.<br><br><br>Youhua<br></blockquote></div><br><br clear="all"><br>-- <br>John Guhin