[gradsusr] need information regarding grads operation

Luis Blacutt luis.blacutt at gmail.com
Tue Sep 3 10:44:40 EDT 2013


Dear jayanti,

what you need is to add a line before
sdfwrite tot_precip

that might be
define RF=tot_precip
no spaces and the new variable name should go to the left

Then you change the final line to
sdfwrite RF
Best regards
Luis




On Fri, May 31, 2013 at 2:12 AM, jayanti pal <jiban_samudra18 at yahoo.com>wrote:

>
>  Dear sir,
>
> I have used grads 2.0.2 version in Ubuntu linux (versiob 12.04). I want to
> save an image output in netcdf format and i have used following codes
>
> ga> sdfopen ppt3.nc
> ga> q file
> ga> set lat 0 40
> ga> set lon 60 100
> ga> set gxout shaded
> ga> set grads off
> ga> d tot_precip
> ga> xcbar
> ga> draw title precipitation over India
> ga> draw xlabs longitude
> ga> draw ylabs latitude
> ga> set sdfwrite output.nc
> ga> sdfwrite tot_precip
>
>
> after putting this comment its show " variable not define"
>
> and when i used the followinf comment to define:
>
>  ga> define tot_precip = RF
>
> then it shows " too long name, missing "=".
>
>  I need help urgently
> If you kindly help me  I will grateful to you.
>  Thanking you,
>
> Jayanti Pal
> Junior Research Fellow
> Department of Atmospheric SCience
> University Of Calcutta
> email-jiban_samudra18 at yahoo.com
> jayantibright at gmail.com
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130903/851e43d3/attachment-0003.html 


More information about the gradsusr mailing list