So where in this series of steps does the Grads part fit in?  What fields are you trying to print to a file?<div><br></div><div>Jeff<br><br><div class="gmail_quote">On Tue, Dec 4, 2012 at 6:57 PM, Jeff Lake <span dir="ltr">&lt;<a href="mailto:admin@michiganwxsystem.com" target="_blank">admin@michiganwxsystem.com</a>&gt;</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>Jeff,<br>
      I&#39;ll explain what I&#39;m doing now, and my hopes further on..<br>
      as of now..<br>
      I am using wgrib2 to extract 4 perimeter&#39;s from the 13km RAP and
      dump to csv<br>
      I then import to MySQL, and utilize php to run severe formula&#39;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<div class="im"><br>
      <pre cols="72">-Jeff Lake
MichiganWxSystem.com
AllisonHouse.com
TheWeatherCenter.net
GRLevelXStuff.com</pre></div><div><div class="h5">
      On 12/4/2012 19:04, Jeff Duda wrote:<br>
    </div></div></div><div><div class="h5">
    <blockquote type="cite">Jeff,<br>
      <a href="http://fprintf.gs" target="_blank">fprintf.gs</a>
      can be found here: <a href="http://cookbooks.opengrads.org/index.php?title=Recipe-002:_Saving_GrADS_variable_data_to_a_text_file" target="_blank">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">&lt;<a href="mailto:admin@michiganwxsystem.com" target="_blank">admin@michiganwxsystem.com</a>&gt;</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 &#39;q config&#39; 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 &lt;= zero<br>
                                 These were set to the undefined value<br>
              No hardcopy metafile open<br>
              GX package terminated<br>
              <br>
              <br>
              <a 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&#39;s going wrong with it?<br>
              <br>
              I usually use <a 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">&lt;<a href="mailto:admin@michiganwxsystem.com" target="_blank">admin@michiganwxsystem.com</a>&gt;</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>
                    &#39;clear&#39;<br>
                    &#39;set mpproj latlon&#39;<br>
                    &#39;set gxout print&#39;<br>
                    &#39;set prnopts %g 8 1&#39;<br>
                    &#39;set sdfwrite dls_XXX.txt&#39;<br>
                    &#39;d dls&#39;<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 href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
                  <a 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><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 href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>
<a 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 href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
          <a 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></fieldset>
      <br>
      <pre>_______________________________________________
gradsusr mailing list
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</pre>
    </blockquote>
    <br>
  </div></div></div>

<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Jeff Duda<br>Graduate research assistant<br>University of Oklahoma School of Meteorology<br>Center for Analysis and Prediction of Storms<br><br>
</div>