[gradsusr] gxout print

Jeff Duda jeffduda319 at gmail.com
Tue Dec 4 19:04:16 EST 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20121204/7426e9c1/attachment-0003.html 


More information about the gradsusr mailing list