<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Jeff,<br>
I'll explain what I'm doing now, and my hopes further on..<br>
as of now..<br>
I am using wgrib2 to extract 4 perimeter's from the 13km RAP and
dump to csv<br>
I then import to MySQL, and utilize php to run severe formula's to
give me the bulk shear at 0-1 km and 0-6km<br>
problem is .. using php its painfully slow (75,000 data points
~12minutes)<br>
Was hoping I could get GrADS to do the calculations for me and
output the final to csv or text<br>
<pre class="moz-signature" cols="72">-Jeff Lake
MichiganWxSystem.com
AllisonHouse.com
TheWeatherCenter.net
GRLevelXStuff.com</pre>
On 12/4/2012 19:04, Jeff Duda wrote:<br>
</div>
<blockquote
cite="mid:CAAig09ANYL2EymObHUCU4cWbkw-n+=eYjnwSGc9ObeBNufej7Q@mail.gmail.com"
type="cite">Jeff,<br>
<a moz-do-not-send="true" href="http://fprintf.gs">fprintf.gs</a>
can be found here: <a moz-do-not-send="true"
href="http://cookbooks.opengrads.org/index.php?title=Recipe-002:_Saving_GrADS_variable_data_to_a_text_file">http://cookbooks.opengrads.org/index.php?title=Recipe-002:_Saving_GrADS_variable_data_to_a_text_file</a><br>
<br>
What data are you using? Are you sure the data array itself is
not undefined values or all zeros?<br>
<br>
Jeff<br>
<br>
<div class="gmail_quote">On Tue, Dec 4, 2012 at 5:45 PM, Jeff Lake
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:admin@michiganwxsystem.com" target="_blank">admin@michiganwxsystem.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>I am getting zero output .. except .<br>
<br>
Config: v2.0.2 little-endian readline printim grib2 netcdf
hdf4-sds hdf5 opendap-grids,stn geotiff shapefile<br>
Issue 'q config' command for more detailed configuration
information<br>
GX Package Initialization: Size = 11 8.5<br>
Running in Batch mode<br>
Command line history in /usr/local/ldm/.grads.log<br>
Notice: Implied interpolation for file rap_mesoan.bin.ctl<br>
Interpolation will be performed on any data displayed
from this file<br>
Warning from LOG: Data has 62765 values <= zero<br>
These were set to the undefined value<br>
No hardcopy metafile open<br>
GX package terminated<br>
<br>
<br>
<a moz-do-not-send="true" href="http://fprintf.gs"
target="_blank">fprintf.gs</a> ??<br>
<br>
<pre cols="72">-Jeff Lake
MichiganWxSystem.com
AllisonHouse.com
TheWeatherCenter.net
GRLevelXStuff.com</pre>
On 12/4/2012 10:04, Jeff Duda wrote:<br>
</div>
<blockquote type="cite">What's going wrong with it?<br>
<br>
I usually use <a moz-do-not-send="true"
href="http://fprintf.gs" target="_blank">fprintf.gs</a>
when I want to write to a text file.<br>
<br>
Jeff Duda<br>
<br>
<div class="gmail_quote">On Tue, Dec 4, 2012 at 8:29 AM,
Jeff Lake <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:admin@michiganwxsystem.com"
target="_blank">admin@michiganwxsystem.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> Greetings,<br>
I have been trying, unsuccessfully, to write an
ascii file ..<br>
here is what I have in the template<br>
<br>
'clear'<br>
'set mpproj latlon'<br>
'set gxout print'<br>
'set prnopts %g 8 1'<br>
'set sdfwrite dls_XXX.txt'<br>
'd dls'<br>
<br>
This is my first attempt at writing to an ascii file
..<br>
so any pointers would be appreciated<br>
using 2.0.2<span><font color="#888888"><br>
<div><br>
</div>
<pre cols="72">--
-Jeff Lake
MichiganWxSystem.com
AllisonHouse.com
TheWeatherCenter.net
GRLevelXStuff.com</pre>
</font></span></div>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a moz-do-not-send="true"
href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a moz-do-not-send="true"
href="http://gradsusr.org/mailman/listinfo/gradsusr"
target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<span class="HOEnZb"><font color="#888888"> <br>
-- <br>
Jeff Duda<br>
Graduate research assistant<br>
University of Oklahoma School of Meteorology<br>
Center for Analysis and Prediction of Storms<br>
<br>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
gradsusr mailing list
<a moz-do-not-send="true" href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>
<a moz-do-not-send="true" href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</pre>
</font></span></blockquote>
<br>
</div>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a moz-do-not-send="true" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a moz-do-not-send="true"
href="http://gradsusr.org/mailman/listinfo/gradsusr"
target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Jeff Duda<br>
Graduate research assistant<br>
University of Oklahoma School of Meteorology<br>
Center for Analysis and Prediction of Storms<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gradsusr mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<a class="moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</pre>
</blockquote>
<br>
</body>
</html>