[gradsusr] gradsusr Digest, Vol 36, Issue 77

kombo kai kaikombo at yahoo.com
Thu Feb 28 09:35:38 EST 2013


Adam Bamba
Hi Bamba I were having the same problem with openGrads, but when I changed the version of grads it works well
this is the way to do
d variable
draw title "the grax of x vs y"
draw xlab
draw ylab
printim c:/your drive/imagename.png
this works well with other version of  grads HDF
regards
kaikombo

--- On Thu, 2/28/13, gradsusr-request at gradsusr.org <gradsusr-request at gradsusr.org> wrote:

From: gradsusr-request at gradsusr.org <gradsusr-request at gradsusr.org>
Subject: gradsusr Digest, Vol 36, Issue 77
To: gradsusr at gradsusr.org
Date: Thursday, February 28, 2013, 5:14 AM

Send gradsusr mailing list submissions to
    gradsusr at gradsusr.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://gradsusr.org/mailman/listinfo/gradsusr
or, via email, send a message with subject or body 'help' to
    gradsusr-request at gradsusr.org

You can reach the person managing the list at
    gradsusr-owner at gradsusr.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of gradsusr digest..."


Today's Topics:

   1. How to calculate the velocity potential for a local    domain ?
      (Arlindo Meque)
   2. Re: problem displaying title_legend and figure saving (Adam Bamba)
   3. FW: problem in displaying variables (T. haghroosta)


----------------------------------------------------------------------

Message: 1
Date: Thu, 28 Feb 2013 01:13:46 -0800 (PST)
From: Arlindo Meque <mequitomz at yahoo.com.br>
Subject: [gradsusr] How to calculate the velocity potential for a
    local    domain ?
To: gradsusers <gradsusr at gradsusr.org>
Message-ID:
    <1362042826.72029.YahooMailNeo at web141403.mail.bf1.yahoo.com>
Content-Type: text/plain; charset="utf-8"



 
Dear all,

I have  wind fields covering   only 
the African domain and I want to  calculate the velocity potential.

To my knowledge, the  classical ?fish?
algorithm  under the opengrads version works for a global domain. 

Any suggestion?


Arlindo 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130228/7ac2d100/attachment-0001.html 

------------------------------

Message: 2
Date: Thu, 28 Feb 2013 04:44:19 -0800 (PST)
From: Adam Bamba <adambamba_2000 at yahoo.com>
Subject: Re: [gradsusr] problem displaying title_legend and figure
    saving
To: Abatan Abayomi <yomiabatan69 at gmail.com>,    GrADS Users Forum
    <gradsusr at gradsusr.org>
Message-ID:
    <1362055459.46952.YahooMailNeo at web141404.mail.bf1.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"

Dear Abayomi,
thank for your help. I have tried with the script you suggested but it doesn't work.
the problem is still the same:
The tittle and the legend doesn't appear and the figure is not well saved (only a small part of figure appear on the png file).
no error message is seen. 

My regards,


?
?
?
Mr. BAMBA Adama,
Cel: +234 816 306 2828(Nigeria)
PhD student in West African Climate System 
Programme : the West African Science Service Center
for Climate Change and Adapted Land use?(WASCAL)
?
Federal University of technology Akure (FUTA), Ondo State,?Nigeria
?
>>?
>>?????????????????????????????????


________________________________
 From: Abatan Abayomi <yomiabatan69 at gmail.com>
To: Adam Bamba <adambamba_2000 at yahoo.com>; GrADS Users Forum <gradsusr at gradsusr.org> 
Sent: Wednesday, February 27, 2013 6:16 PM
Subject: Re: [gradsusr] problem displaying title_legend and figure saving
 

Adama,
All you need to do is include the following in your script:

set string?color <justification <thickness <rotation>>>
set strsiz?hsiz <vsiz>
draw string?x y string

For example:

'set string 1 tc 5 1'
'set strsiz 0.14 0.14'
'draw string 1.14 10.56 (a) Characteristic of xxxxx'

Modify the values, especially in set strsiz and draw string to suite your purpose.

I hope that works for you.

Abayomi


On Tue, Feb 26, 2013 at 5:38 PM, Adam Bamba <adambamba_2000 at yahoo.com> wrote:

Dear Jeff, Saulo, and Duan
>
>
>My problem is that:
>I did a sum over time with GPCP data. Like the following 
>example: 
>sdfopen.......
>set lat 1 2
>set lon 2 3
>set t 1 30
>define totalpr1=sum(pr, t=1, t=30, 12, -b)
>define totalpr2=sum(pr, t=31, t=60, 12, -b)
>d totalpr1
>draw title .........
>printim figure.png
>..............
>d totalpr3
>I can plot totalpr but the title and the cbarn do not appear and I can not save the figure however it is not showing an error.
>I don't know what to do.
>
>?I have Grads v 2.0.1 installed on linux system.
>
>My regards
>
>?
>Mr. BAMBA Adama,
>Cel: +234 816 306 2828(Nigeria)
>PhD student in West African Climate System 
>Programme : the West African Science Service Center
>for Climate Change and Adapted Land use?(WASCAL)
>?
>Federal University of technology Akure (FUTA), Ondo State,?Nigeria
>?
>>>?
>>>?????????????????????????????????
>_______________________________________________
>gradsusr mailing list
>gradsusr at gradsusr.org
>http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 


? ? ? ? ? Trust in the Lord......
*******************************************************************************************
*?? Abayomi A. Abatan? ? ? ? ? ? ? ? ? ? ? ? ? ?? *?? +1 515 572 4490 (Home)? ? ?? *
*?? Geo. and Atmos. Sci.? ? ? ? ? ? ? ? ? ? ? ? ?? *?? +1 515 294 1321 (Office)? ? ?? *
*?? Iowa State University, Ames? ? ? ? ? ? ? ?? *?? +1 515 203 9020 (Cell)? ? ? ? ? *
*?? Iowa. USA.? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? *? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? *
*******************************************************************************************? ? ? ? ? 

****************************************************************************************************
*?? Abayomi A. Abatan? ? ? ? ? ? ? ? ? ? ? ? ? ?? *?? 234-802-724-7846 (out of service)? ?? *
*?? Fed. Univ. of Tech.,? ? ? ? ? ? ? ? ? ? ? ? ? ? ? *?? 234-803-217-8815 (out of service)? ? *
*?? SEMS, PMB 704 Akure? ? ? ? ? ? ? ? ? ? ? ? *? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? *
*?? Ondo Nigeria.? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? *? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? *
****************************************************************************************************? ? ?? 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130228/81400856/attachment-0001.html 

------------------------------

Message: 3
Date: Thu, 28 Feb 2013 13:14:36 +0000
From: "T. haghroosta" <haghroosta at hotmail.com>
Subject: [gradsusr] FW: problem in displaying variables
To: <gradsusr at gradsusr.org>
Message-ID: <DUB121-W3494AB506A78E820B70163DDFE0 at phx.gbl>
Content-Type: text/plain; charset="windows-1256"


Dear Jeff, I send the files as you said, but unfortunately because it was more tha 5 mb, moderator rejected my email. So I cannot send the fnl file, I just have attached a ctl file and an idx file.  Regards, T.
 From: haghroosta at hotmail.com
To: gradsusr at gradsusr.org
Subject: RE: problem in displaying variables
Date: Thu, 28 Feb 2013 08:42:42 +0000





Dear Jeff,
 
Because the grads in my computer couldn't do the process of converting I did it in another computer and transfered it to my computer. The process of converting was as follows:
$ grib2ctl.pl grib_file >grib_file.ctl
$ gribmap -i grib_file.ctl -0   
 
I have attached my fnl file, idx and ctl files. 
 
Best regards,
 
T.
From: Jeff Duda <jeffduda319 at gmail.com>
> Subject: Re: [gradsusr] problem in displaying variables
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Message-ID:
>     <CAAig09CUruufsC220ZLuGtAqFBh+kVGRddKi7-iZLvcA+5wB1w at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> T.,
> This would be much easier if you attached your control file and gave us the
> full path to
> 1) your control file
> 2) your index file
> 3) your data file
> 
> and told us how you obtained the control file.  I get the sense that, as
> others have indicated, there was probably an error in the specification of
> your control file or in the creation of your index file.
> 
> Jeff Duda
> 

                                                      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130228/68c45248/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 12-00.ctl
Type: application/octet-stream
Size: 6498 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20130228/68c45248/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fnl_20081112_00_00_c.idx
Type: application/octet-stream
Size: 6898 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20130228/68c45248/attachment-0001.obj 

------------------------------

_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr


End of gradsusr Digest, Vol 36, Issue 77
****************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130228/aeb1a559/attachment-0003.html 


More information about the gradsusr mailing list