[gradsusr] gradsusr Digest, Vol 27, Issue 46

Ashok Priyadarshan Dimri apdimri at yahoo.com
Mon May 28 19:25:33 EDT 2012


Dear Resmi E A

Try this.
Make necessary path change while reacding the input file.
Another things please see it it not 'vint' it is 'vint2'.
So please chencek which grads version you are using.
It is just a test script.
you make change as per your own.

Best
Dimri


'reinit'
'set display color white'
'c'

'sdfopen /home/apdimri/data/shum.mon.mean.nc'
'sdfopen /home/apdimri/data/uwnd.mon.mean.nc'
'sdfopen /home/apdimri/data/vwnd.mon.mean.nc'
'define prmsl=1000'
'define QiMAR=ave(vint2(prmsl,shum*uwnd.2,300),t=3,t=713,12)'
'define QiAPR=ave(vint2(prmsl,shum*uwnd.2,300),t=4,t=713,12)'
'define QiMAY=ave(vint2(prmsl,shum*uwnd.2,300),t=5,t=713,12)'

'define QjMAR=ave(vint2(prmsl,shum*vwnd.3,300),t=3,t=713,12)'
'define QjAPR=ave(vint2(prmsl,shum*vwnd.3,300),t=4,t=713,12)'
'define QjMAY=ave(vint2(prmsl,shum*vwnd.3,300),t=5,t=713,12)'

'Qi=(QiMAR+QiAPR+QiMAY)/3.'
'Qj=(QjMAR+QjAPR+QjMAY)/3.'

'define divQ=-hdivg(Qi,Qj)'
'set mpdset hires'
'set lat 0 50'
'set lon 20 120'
'set gxout shaded'
'ving.gs'
'd divQ'
'cbar'
'set gxout vector'
'd Qi;Qj'
'draw map'
'close 3'
'close 2'
'close 1'




________________________________
 From: "gradsusr-request at gradsusr.org" <gradsusr-request at gradsusr.org>
To: gradsusr at gradsusr.org 
Sent: Tuesday, May 29, 2012 6:00 AM
Subject: gradsusr Digest, Vol 27, Issue 46
 
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. vint function (resmi ea)
   2. Re: vint function (RafaelCB)
   3. Re: vint function (James Song)
   4. help (Claudia Wanzeler)
   5. New RUC/RAP (Jeff Lake)
   6. Re: New RUC/RAP (Joey Woodson)
   7. Re: New RUC/RAP (Jeff Lake)
   8. Re: New RUC/RAP (Joey Woodson)


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

Message: 1
Date: Mon, 28 May 2012 06:52:38 -0400
From: resmi ea <reshmiea at gmail.com>
Subject: [gradsusr] vint function
To: GrADS Users Forum <gradsusr at gradsusr.org>
Message-ID:
    <CAHda7ja_cuH-K3SS78idVA0meQsuzK+A8wQ60va48iLyTHsRSQ at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Dear users

i am finding difficulty in using vint function in grads.
Please anyone point out the error in the gs scripts
while running it shows Segmentation fault (core dumped)
'reinit'
'sdfopen /media/resmi-1/windows/ncep/uwnd/vwnd.2009.nc'
'sdfopen /media/resmi-1/windows/ncep/uwnd/slp.2009.nc'
'set lat 0 90'
'set lon 0 180'
'define aaf=vint(slp.2,vwnd,200)'
'd aaf'


-- 
Resmi E A
Research Scholar
Cochin university of science and technology
Cochin-16
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120528/04f4f091/attachment-0001.html 

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

Message: 2
Date: Mon, 28 May 2012 09:36:23 -0300
From: RafaelCB <rafael.ciram at gmail.com>
Subject: Re: [gradsusr] vint function
To: GrADS Users Forum <gradsusr at gradsusr.org>
Message-ID:
    <CAAgZ0pLGjXCVdmwrVKsRqwfp+CWBE7Ee=c2YMiD-h+poTqs84A at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi,
You can use the command "define" for create variable.
Exemplo: 'define v=vwnd.1'
               'define s=slp.2'
               'define aaf=vint(s,v,200)'

or 'define aaf=vint( slp.2,vwnd.1,200)'

but I'm not sure you can use the variable wind, because the documention
says  GrADS "the expression integrated is specific humidity (q) in units of
g/g, the result is kg of water per square meter, or precipitable water in
mm. "

Att.
Rafael


2012/5/28 resmi ea <reshmiea at gmail.com>

> Dear users
>
> i am finding difficulty in using vint function in grads.
> Please anyone point out the error in the gs scripts
> while running it shows Segmentation fault (core dumped)
>  'reinit'
> 'sdfopen /media/resmi-1/windows/ncep/uwnd/vwnd.2009.nc'
> 'sdfopen /media/resmi-1/windows/ncep/uwnd/slp.2009.nc'
> 'set lat 0 90'
> 'set lon 0 180'
> 'define aaf=vint(slp.2,vwnd,200)'
> 'd aaf'
>
>
> --
> Resmi E A
> Research Scholar
> Cochin university of science and technology
> Cochin-16
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
Rafael Censi Borges
T?c.Meteorologia - Epagri/Ciram
+55 (48)3239-8064/8066
http://ciram.epagri.sc.gov.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120528/33069f92/attachment-0001.html 

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

Message: 3
Date: Mon, 28 May 2012 05:38:55 -0700 (PDT)
From: James Song <littleho_song at yahoo.com>
Subject: Re: [gradsusr] vint function
To: GrADS Users Forum <gradsusr at gradsusr.org>
Message-ID:
    <1338208735.38227.YahooMailClassic at web126001.mail.ne1.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"

wait, first of all, it should be surface pressure, not SLP. Make sure that is right.

--- On Mon, 5/28/12, resmi ea <reshmiea at gmail.com> wrote:

From: resmi ea <reshmiea at gmail.com>
Subject: [gradsusr] vint function
To: "GrADS Users Forum" <gradsusr at gradsusr.org>
Date: Monday, May 28, 2012, 6:52 AM

Dear users 

i am finding difficulty in using vint function in grads.
Please anyone point out the error in the gs scripts
while running it shows Segmentation fault (core dumped)
?'reinit'

'sdfopen /media/resmi-1/windows/ncep/uwnd/vwnd.2009.nc'
'sdfopen /media/resmi-1/windows/ncep/uwnd/slp.2009.nc'
'set lat 0 90'

'set lon 0 180'

'define aaf=vint(slp.2,vwnd,200)'
'd aaf'



-- 
Resmi E A
Research Scholar
Cochin university of science and technology
Cochin-16



-----Inline Attachment Follows-----

_______________________________________________
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/20120528/903f1db8/attachment-0001.html 

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

Message: 4
Date: Mon, 28 May 2012 08:05:15 -0400
From: Claudia Wanzeler <claudia.wanzeler at gmail.com>
Subject: [gradsusr] help
To: gradsusr at gradsusr.org
Message-ID:
    <CAN=Q7v=ne8v1jP2kWQFfSpUKWay88XQsy44b-xLQ2XEnEwLg5w at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hello Everybody,


  I need to plot a wind field on a map, but would like to mask the Andes.
  Someone on the list already made a mask over the Andes and that could help me?


Regards,

   Cl?udia



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

Message: 5
Date: Mon, 28 May 2012 16:18:31 -0400
From: Jeff Lake <admin at michiganwxsystem.com>
Subject: [gradsusr] New RUC/RAP
To: Grads <gradsusr at gradsusr.org>
Message-ID: <4FC3DD97.5050902 at michiganwxsystem.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Has anyone gotten GrADS to map the new RAP model??

I have tried everything I can think of 64bit CentOS, 32bit RELH
and all I get is segmentation fault after segmentation fault
this is getting extremely annoying

-- 
-Jeff Lake
MichiganWxSystem.com
WeatherMichigan.net
TheWeatherCenter.net
GRLevelXStuff.com



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

Message: 6
Date: Mon, 28 May 2012 15:27:09 -0500
From: Joey Woodson <instantweathermaps at gmail.com>
Subject: Re: [gradsusr] New RUC/RAP
To: GrADS Users Forum <gradsusr at gradsusr.org>
Message-ID:
    <CAJv4EQpfcc6gLehe6i+7ccNEeORi18Z6g3gTtCXrVVxHQ8Vv3Q at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Yeah I really didn't have to change anything other than the filenames when
I made the switch on my model site, http://www.instantweathermaps.com .

On Mon, May 28, 2012 at 3:18 PM, Jeff Lake <admin at michiganwxsystem.com>wrote:

> Has anyone gotten GrADS to map the new RAP model??
>
> I have tried everything I can think of 64bit CentOS, 32bit RELH
> and all I get is segmentation fault after segmentation fault
> this is getting extremely annoying
>
> --
> -Jeff Lake
> MichiganWxSystem.com
> WeatherMichigan.net
> TheWeatherCenter.net
> GRLevelXStuff.com
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>



-- 

http://www.instantweathermaps.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120528/d96ae0de/attachment-0001.html 

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

Message: 7
Date: Mon, 28 May 2012 16:52:23 -0400
From: Jeff Lake <admin at michiganwxsystem.com>
Subject: Re: [gradsusr] New RUC/RAP
To: GrADS Users Forum <gradsusr at gradsusr.org>
Message-ID: <4FC3E587.70103 at michiganwxsystem.com>
Content-Type: text/plain; charset="iso-8859-1"

which resolution ??
40 20 or 13k ??
I was trying the 20k
waiting for the 20z 13k right now to try it

-Jeff Lake
MichiganWxSystem.com
WeatherMichigan.net
TheWeatherCenter.net
GRLevelXStuff.com


On 5/28/2012 4:27 PM, Joey Woodson wrote:
> Yeah I really didn't have to change anything other than the filenames 
> when I made the switch on my model site, 
> http://www.instantweathermaps.com .
>
> On Mon, May 28, 2012 at 3:18 PM, Jeff Lake <admin at michiganwxsystem.com 
> <mailto:admin at michiganwxsystem.com>> wrote:
>
>     Has anyone gotten GrADS to map the new RAP model??
>
>     I have tried everything I can think of 64bit CentOS, 32bit RELH
>     and all I get is segmentation fault after segmentation fault
>     this is getting extremely annoying
>
>     --
>     -Jeff Lake
>     MichiganWxSystem.com
>     WeatherMichigan.net
>     TheWeatherCenter.net
>     GRLevelXStuff.com
>
>     _______________________________________________
>     gradsusr mailing list
>    gradsusr at gradsusr.org <mailto:gradsusr at gradsusr.org>
>    http://gradsusr.org/mailman/listinfo/gradsusr
>
>
>
>
> -- 
>
> http://www.instantweathermaps.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/20120528/2e8f0c90/attachment-0001.html 

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

Message: 8
Date: Mon, 28 May 2012 16:00:35 -0500
From: Joey Woodson <instantweathermaps at gmail.com>
Subject: Re: [gradsusr] New RUC/RAP
To: GrADS Users Forum <gradsusr at gradsusr.org>
Message-ID:
    <CAJv4EQosGx6GWODp4Fq8M_1yZm0nfXhh3ngksLFPF-Z+UG8ZpA at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

13km

On Mon, May 28, 2012 at 3:52 PM, Jeff Lake <admin at michiganwxsystem.com>wrote:

>  which resolution ??
> 40 20 or 13k ??
> I was trying the 20k
> waiting for the 20z 13k right now to try it
>
> -Jeff Lake
> MichiganWxSystem.com
> WeatherMichigan.net
> TheWeatherCenter.net
> GRLevelXStuff.com
>
>
> On 5/28/2012 4:27 PM, Joey Woodson wrote:
>
> Yeah I really didn't have to change anything other than the filenames when
> I made the switch on my model site, http://www.instantweathermaps.com .
>
>  On Mon, May 28, 2012 at 3:18 PM, Jeff Lake <admin at michiganwxsystem.com>wrote:
>
>> Has anyone gotten GrADS to map the new RAP model??
>>
>> I have tried everything I can think of 64bit CentOS, 32bit RELH
>> and all I get is segmentation fault after segmentation fault
>> this is getting extremely annoying
>>
>> --
>> -Jeff Lake
>> MichiganWxSystem.com
>> WeatherMichigan.net
>> TheWeatherCenter.net
>> GRLevelXStuff.com
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>
>
>
> --
>
> http://www.instantweathermaps.com
>
>
>
> _______________________________________________
> gradsusr mailing listgradsusr at gradsusr.orghttp://gradsusr.org/mailman/listinfo/gradsusr
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 

http://www.instantweathermaps.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120528/ff24c062/attachment.html 

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

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


End of gradsusr Digest, Vol 27, Issue 46
****************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120528/8ede440e/attachment-0003.html 


More information about the gradsusr mailing list