[gradsusr] Saving a data file in Grads

Charles Seman Charles.Seman at noaa.gov
Fri Jan 21 16:03:56 EST 2011


Chidzambwa,

Try adding 'disable fwrite' after 'd u;v'
Please see 
http://cookbooks.opengrads.org/index.php?title=Recipe-006:_Creating_GrADS_binary_output_for_use_by_another_application

Hope this helps,
Chuck

Chidzambwa Simba wrote:
> Hie,
> I am trying to save a data file in grads but when I run my script 
> nothing happens and there is no error message. The script is as below;
>  
> 'open pgrb19641231.ctl'
> 'set lat -40 -10'
> 'set lon 110 155'
> 'set gxout fwrite'
> 'set fwrite -st pgrn1964'
> 'set lev 1000'
> 'define u=ave(ugrdprs,t=1,t=4)'
> 'define v=ave(vgrdprs,t=1,t=4)'
> 'd u;v'
>  
> Can anyone help?
>  
> Simba
>  
>
> *Simba** Chidzambwa*
>
> Information and Knowledge
>
> *Queensland Climate Change Centre of Excellence*
>
>  
>
> Ph:+61 7 3896 9632 Fax: +61 7 3896 9843
>
> *Email: Simba.Chidzambwa at climatechange.qld.gov.au*
>
>  
>
> +----------------------------------------------------------------+
>
> Think B4U Print
>
> 1 ream of paper = 6% of a tree and 5.4kg CO2 in the atmosphere
>
> 3 sheets of A4 paper = 1 litre of water
>
> +----------------------------------------------------------------+
>
>  
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>   

-- 

Please note that Charles.Seman at noaa.gov should be considered my NOAA
email address, not cjs at gfdl.noaa.gov.

********************************************************************
 Charles Seman                                Charles.Seman at noaa.gov
 U.S. Department of Commerce / NOAA / OAR
 Geophysical Fluid Dynamics Laboratory         voice: (609) 452-6547
 201 Forrestal Road                              fax: (609) 987-5063
 Princeton, NJ  08540-6649            http://www.gfdl.noaa.gov/~cjs/
********************************************************************

"The contents of this message are mine personally and do not reflect any
official or unofficial position of the United States Federal Government,
the United States Department of Commerce, or NOAA."




More information about the gradsusr mailing list