<div dir="ltr">Hi. With the latest beta the error I had is gone but as you said drawing one meteogram takes forever, like 10 minutes or so. Is it possible you could post your solution?<br><br>Best regards.<br><br><div class="gmail_quote">
2008/3/3 Jennifer Adams <span dir="ltr">&lt;<a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="">Drawing meteograms with grib2 data highlights the principal drawback of the compressed data format -- you must read and uncompress a global grid in order to extract data values at a single grid point. The time series plots and especially the Z-T panel at the top of the meteogram require a significant amount of memory and I/O when using grib2 data. My experience is that even on local data files, it can take 10+ minutes to draw a meteogram. When using data that is behind GDS ... I&#39;m not sure whether the request would timeout before the I/O was finished. Haven&#39;t tried it.&nbsp;<div>
<br></div><div>My workaround for drawing the meteograms at <a href="http://wxmaps.org" target="_blank">wxmaps.org</a> was to use fwrite to extract the required data first, then draw the meteograms based on the fwritten data set. There were other issues too that were solved with fwrite scripts: the precip fields are 3hr accumulations at 3hr forecast intervals and 6hr accumulations at 6hr forecast intervals.&nbsp;I will try to post a generalized script solution to the grib2 meteogram problem as soon as I can.&nbsp;</div>
<div><br></div><div>The other problem you have is unrelated to the above. I believe the &quot;Unable to open file&quot; error message might come from a missing null terminator at the end of the string variable that contains the data set name. (The behavior of strncpy() does not seem to be the same on all systems.) This was a bug that was reported by Hoop after he tried out the 2.0.a1 builds. The patch is a one-line bit of code that will be in 2.0.a2 (coming out very soon). If you are using a pre-compiled binary downloaded from COLA, I suggest you try downloading a fresh copy -- Hoop&#39;s builds of 2.0.a1 for 32-bit linux (that are posted on COLA&#39;s FTP server) contain the fix, but they were re-posted a few days after the release of 2.0.a1.&nbsp;</div>
<div><br></div><div>Jennifer &nbsp;</div><div><div><div><div></div><div class="Wj3C7c"><br><div><div>On Mar 1, 2008, at 12:53 PM, Fil wrote:</div><br><blockquote type="cite"><div style="margin: 0px;">Hi all,</div><div style="margin: 0px; min-height: 14px;">
<br></div><div style="margin: 0px;">I&#39;m trying to use the meteogram scripts available at IGES ftp server but I</div><div style="margin: 0px;">always get the following error:</div><div style="margin: 0px; min-height: 14px;">
<br></div><div style="margin: 0px;">ga-&gt; meteogram_gfsb Boston 2008030112 -71 42 e</div><div style="margin: 0px;">No hardcopy metafile open</div><div style="margin: 0px;">All files closed; all defined objects released;</div>
<div style="margin: 0px;">All GrADS attributes have been reinitialized</div><div style="margin: 0px;">NetCDF Error (nc_open): Unable to open file</div><div style="margin: 0px;"><a href="http://monsoondata.org:9090/dods/gfs2/gfs.2008030112b" target="_blank">http://monsoondata.org:9090/dods/gfs2/gfs.2008030112b</a></div>
<div style="margin: 0px;">read_metadata: gaopnc failed</div><div style="margin: 0px;">gadsdf: Couldn&#39;t ingest SDF metadata.</div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;">I&#39;m using gradsdap 2.0.a1 on i686 32b Linux system. Anyone knows what the</div>
<div style="margin: 0px;">problem is?</div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;">Regards.</div> </blockquote></div><br></div></div><font color="#888888"><div> <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div>
--</div><div>Jennifer M. Adams</div><div>IGES/COLA</div><div>4041 Powder Mill Road, Suite 302</div><div>Calverton, MD 20705</div><div><a href="mailto:jma@cola.iges.org" target="_blank">jma@cola.iges.org</a></div><div><br>
</div><br></span></span></span> </div><br></font></div></div></div></blockquote></div>
</div>