[gradsusr] gxout print

Jeff Duda jeffduda319 at gmail.com
Tue Dec 4 21:15:39 EST 2012


So where in this series of steps does the Grads part fit in?  What fields
are you trying to print to a file?

Jeff

On Tue, Dec 4, 2012 at 6:57 PM, Jeff Lake <admin at michiganwxsystem.com>wrote:

>  Jeff,
> I'll explain what I'm doing now, and my hopes further on..
> as of now..
> I am using wgrib2 to extract 4 perimeter's from the 13km RAP and dump to
> csv
> 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
> problem is .. using php its painfully slow (75,000 data points ~12minutes)
> Was hoping I could get GrADS to do the calculations for me and output the
> final to csv or text
>
> -Jeff Lake
> MichiganWxSystem.com
> AllisonHouse.com
> TheWeatherCenter.net
> GRLevelXStuff.com
>
> On 12/4/2012 19:04, Jeff Duda wrote:
>
> Jeff,
> fprintf.gs can be found here:
> http://cookbooks.opengrads.org/index.php?title=Recipe-002:_Saving_GrADS_variable_data_to_a_text_file
>
> What data are you using?  Are you sure the data array itself is not
> undefined values or all zeros?
>
> Jeff
>
> On Tue, Dec 4, 2012 at 5:45 PM, Jeff Lake <admin at michiganwxsystem.com>wrote:
>
>>  I am getting zero output .. except .
>>
>> Config: v2.0.2 little-endian readline printim grib2 netcdf hdf4-sds hdf5
>> opendap-grids,stn geotiff shapefile
>> Issue 'q config' command for more detailed configuration information
>> GX Package Initialization: Size = 11 8.5
>> Running in Batch mode
>> Command line history in /usr/local/ldm/.grads.log
>> Notice: Implied interpolation for file rap_mesoan.bin.ctl
>>  Interpolation will be performed on any data displayed from this file
>> Warning from LOG:  Data has 62765 values <= zero
>>                    These were set to the undefined value
>> No hardcopy metafile open
>> GX package terminated
>>
>>
>> fprintf.gs ??
>>
>> -Jeff Lake
>> MichiganWxSystem.com
>> AllisonHouse.com
>> TheWeatherCenter.net
>> GRLevelXStuff.com
>>
>> On 12/4/2012 10:04, Jeff Duda wrote:
>>
>> What's going wrong with it?
>>
>> I usually use fprintf.gs when I want to write to a text file.
>>
>> Jeff Duda
>>
>> On Tue, Dec 4, 2012 at 8:29 AM, Jeff Lake <admin at michiganwxsystem.com>wrote:
>>
>>>  Greetings,
>>> I have been trying, unsuccessfully, to write an ascii file ..
>>> here is what I have in the template
>>>
>>> 'clear'
>>> 'set mpproj latlon'
>>> 'set gxout print'
>>> 'set prnopts %g 8 1'
>>> 'set sdfwrite dls_XXX.txt'
>>> 'd dls'
>>>
>>> This is my first attempt at writing to an ascii file ..
>>> so any pointers would be appreciated
>>> using 2.0.2
>>>
>>>  --
>>> -Jeff Lake
>>> MichiganWxSystem.com
>>> AllisonHouse.com
>>> TheWeatherCenter.net
>>> GRLevelXStuff.com
>>>
>>>
>>> _______________________________________________
>>> gradsusr mailing list
>>> gradsusr at gradsusr.org
>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>>
>>>
>>
>>
>> --
>> Jeff Duda
>> Graduate research assistant
>> University of Oklahoma School of Meteorology
>> Center for Analysis and Prediction of Storms
>>
>>
>>
>> _______________________________________________
>> gradsusr mailing listgradsusr at gradsusr.orghttp://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
>
>
> --
> Jeff Duda
> Graduate research assistant
> University of Oklahoma School of Meteorology
> Center for Analysis and Prediction of Storms
>
>
>
> _______________________________________________
> gradsusr mailing listgradsusr at gradsusr.orghttp://gradsusr.org/mailman/listinfo/gradsusr
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
Jeff Duda
Graduate research assistant
University of Oklahoma School of Meteorology
Center for Analysis and Prediction of Storms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20121204/94acca9a/attachment-0003.html 


More information about the gradsusr mailing list