[gradsusr] With respect to comparison.

Andrew Friedman andfried at gmail.com
Mon Apr 17 09:17:33 EDT 2017


Hi Ugo,

You can use the maskout command to restrict your defined variable only to land areas.
http://cola.gmu.edu/grads/gadoc/gradfuncmaskout.html

Andrew

> On Apr 17, 2017, at 11:26 AM, ugo okoro <uknac23 at yahoo.com> wrote:
> 
> Dear All, 
> 
> I have two datasets, one has data over land only (such as CRU, 0.5)whereas another has data both over land and ocean (such as NCEP, 2.5). How do I regrid the NCEP in order to compare both?
> I have tried 
> 'define par=re(var,0.5,0.5)' 
> where par is a new defined term, var is the parameter being studied and 0.5 is the grid resolution of CRU
>  
> Ugo Okoro
> uknac23 at yahoo.com
> 
> 
> 
> On Saturday, April 15, 2017 1:51 PM, "gradsusr-request at gradsusr.org" <gradsusr-request at gradsusr.org> wrote:
> 
> 
> 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. Re: Convert WRF output to rainrate
>       (Juan Jose Amides Figueroa Urbano)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Fri, 14 Apr 2017 23:47:31 -0600
> From: Juan Jose Amides Figueroa Urbano <juanjosefigueroa at gmail.com>
> Subject: Re: [gradsusr] Convert WRF output to rainrate
> To: gradsusr at gradsusr.org
> Message-ID:
>     <CANJsaNL686UfoDcgz_ONODb91-k6xA9sDo0OP5wV3x5orR_sTA at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> Hi, if i can remember the WRF model already have rain rate output, I don't
> remember if this in the WRF model version EMS or in the always WRF model.
> Please check the EMS webpage for more info:
> http://strc.comet.ucar.edu/software/newrems/
> 
> Good luck.
> 
> El 13 abr. 2017 3:22 PM, <gradsusr-request at gradsusr.org> escribi?:
> 
> 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. Convert WRF output to rainrate (Usha Verma)
>   2. Re: Convert WRF output to rainrate (Jeff Duda)
>   3. Re: tildes (Ricardo Hallak)
>   4. Re: tildes (Ricardo Hallak)
>   5. Re: Add outline to output of set gxout grfill in GrADS
>       (Mike Fiorino - NOAA Federal)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Thu, 13 Apr 2017 22:50:56 +0530
> From: Usha Verma <loukayaverma at gmail.com>
> Subject: [gradsusr] Convert WRF output to rainrate
> To: gradsusr at gradsusr.org
> Message-ID:
>         <CANfef=tFrW1Mktqw_Z5vnTs28m2xJQ0gwfRDAurE58fDsv4pkQ at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> Dear fellow GrADS users,
> 
> I have WRF 1hr rainfall output data and i want to compare this output with
> satellite rainrate data (TRMM,GPM)
> My question is as below
> 
> How to convert WRF(mm) rainfall data into rainrate(mm/hr)?
> If you have any script regarding this please share it.
> 
> Sincerely,
> Usha
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://gradsusr.org/pipermail/gradsusr/attachments/20170413/
> 153cfcca/attachment-0001.html
> 
> ------------------------------
> 
> Message: 2
> Date: Thu, 13 Apr 2017 12:30:24 -0500
> From: Jeff Duda <jeffduda319 at gmail.com>
> Subject: Re: [gradsusr] Convert WRF output to rainrate
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Message-ID:
>         <CAAig09D+C8vzJzsQbyHcBXWw=-n7fehXnQPU2HgK-rLhrEoDDw at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> There is no way to convert the output from RAINNC or RAINC (WRF history
> arrays for grid-resolved and convectively parameterized precipitation,
> respectively) from accumulations to instantaneous rain rates. However, if
> you are running convective parameterization, the array PRATEC will provide
> instantaneous rain rates, but only that produced by the convective scheme
> itself.
> 
> The only thing you can really do is take the difference in accumulated
> rainfall over your 1-hour intervals to get a 1-hour rain rate. You don't
> need a script to do it, as it's a one-line command:
> 
> 'd rain(t=x)-rain(t=x-1)'
> 
> where x is any time index corresponding to valid data.
> 
> Jeff Duda
> 
> On Thu, Apr 13, 2017 at 12:20 PM, Usha Verma <loukayaverma at gmail.com> wrote:
> 
> > Dear fellow GrADS users,
> >
> > I have WRF 1hr rainfall output data and i want to compare this output with
> > satellite rainrate data (TRMM,GPM)
> > My question is as below
> >
> > How to convert WRF(mm) rainfall data into rainrate(mm/hr)?
> > If you have any script regarding this please share it.
> >
> > Sincerely,
> > Usha
> >
> > _______________________________________________
> > gradsusr mailing list
> > gradsusr at gradsusr.org
> > http://gradsusr.org/mailman/listinfo/gradsusr
> >
> >
> 
> 
> --
> Jeff Duda
> Post-doctoral research fellow
> University of Oklahoma School of Meteorology
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://gradsusr.org/pipermail/gradsusr/attachments/20170413/
> cbd1efb1/attachment-0001.html
> 
> ------------------------------
> 
> Message: 3
> Date: Thu, 13 Apr 2017 17:28:29 -0300 (BRT)
> From: Ricardo Hallak <ricardo.hallak at iag.usp.br>
> Subject: Re: [gradsusr] tildes
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Message-ID:
>         <855528982.76364523.1492115309929.JavaMail.root at iag.usp.br>
> Content-Type: text/plain; charset=utf-8
> 
> Hi again, Alan.
> 
> It is possible to save a "txt" file in the system and "read" a string from
> the file from the disk to write it in a figure.
> 
> Example:
> 
> Criate an file with this content:
> 
> "Ni?o ni?o Ni?a ni?a"
> 
> When necessary, read the file with your GrADS script and get the string you
> want, once that string 1 = Ni?o, string 2 = ni?o, and so on.
> 
> Maybe this can solve your problem if you handle strings appropriately.
> 
> Hope this helps,
> Ricardo
> 
> ----- Mensagem original -----
> | Hi, Alan.
> |
> | If I correctly remember, there was a way to do that. In older
> | versions of GrADS, it was possible for a user to create a new set of
> | characters. Unfortunatelly I can't help you with that, once I've
> | never done it. Besides, I'm not sure if it is possible with new
> | versios of GrADS.
> |
> | Is there someone in the list who has any experience in creating a new
> | set of characteres in GrADS?
> |
> | Regards,
> | Ricardo
> |
> | ----- Mensagem original -----
> | | Dear Ricardo,
> | |
> | | Yes, I know how to do that, but I was wondering if there is a font
> | | that
> | | includes letters from other alphabets that include tildes and
> | | accent
> | | marks, so they do not have to be done manually.  Thanks.
> | |
> | | Alan
> | |
> | | Alan Robock, Distinguished Professor
> | |    Editor, Reviews of Geophysics
> | | Department of Environmental Sciences            Phone:
> | | +1-848-932-5751
> | | Rutgers University                                Fax:
> | | +1-732-932-8644
> | | 14 College Farm Road                  E-mail:
> | | robock at envsci.rutgers.edu
> | | New Brunswick, NJ 08901-8551  USA
> | |    http://envsci.rutgers.edu/~robock
> | | ? http://twitter.com/AlanRobock
> | | Watch my 18 min TEDx talk at
> | | http://www.youtube.com/watch?v=qsrEk1oZ-54
> | |
> | | On 4/12/2017 9:14 AM, Ricardo Hallak wrote:
> | | > Hi, Alan.
> | | >
> | | > Yes, there is. Use "draw string":
> | | >
> | | > draw string x y string
> | | >
> | | > Draws the character string at the x,y position. x and y are given
> | | > in inches on the virtual page.
> | | > The string is drawn using current string attributes -- set the
> | | > set
> | | > string and set strsiz commands.
> | | >
> | | > Regards,
> | | > Ricardo
> | | >
> | | > ----- Mensagem original -----
> | | > | Hi,
> | | > |
> | | > | Is there a way to write "El Ni?o" on a plot, with a tilde over
> | | > | the n?
> | | > |
> | | > | --
> | | > | Alan
> | | > |
> | | > | Alan Robock, Distinguished Professor
> | | > |    Editor, Reviews of Geophysics
> | | > | Department of Environmental Sciences            Phone:
> | | > | +1-848-932-5751
> | | > | Rutgers University                                Fax:
> | | > | +1-732-932-8644
> | | > | 14 College Farm Road                  E-mail:
> | | > | robock at envsci.rutgers.edu
> | | > | New Brunswick, NJ 08901-8551  USA
> | | > |    http://envsci.rutgers.edu/~robock
> | | > | ? http://twitter.com/AlanRobock
> | | > | Watch my 18 min TEDx talk at
> | | > | http://www.youtube.com/watch?v=qsrEk1oZ-54
> | | > |
> | | > | _______________________________________________
> | | > | gradsusr mailing list
> | | > | gradsusr at gradsusr.org
> | | > | http://gradsusr.org/mailman/listinfo/gradsusr
> | | > |
> | | >
> | | > _______________________________________________
> | | > gradsusr mailing list
> | | > gradsusr at gradsusr.org
> | | > http://gradsusr.org/mailman/listinfo/gradsusr
> | |
> | | _______________________________________________
> | | gradsusr mailing list
> | | gradsusr at gradsusr.org
> | | http://gradsusr.org/mailman/listinfo/gradsusr
> | |
> |
> | --
> | Prof. Ricardo Hallak
> | Laborat?rio de Meteorologia de Mesoescala - LMM
> | Departamento de Ci?ncias Atmosf?ricas
> | Instituto de Astronomia, Geof?sica e Ci?ncias Atmosf?ricas
> | Universidade de S?o Paulo
> |
> | Phone: +55(11)3091-4698
> |
> | _______________________________________________
> | gradsusr mailing list
> | gradsusr at gradsusr.org
> | http://gradsusr.org/mailman/listinfo/gradsusr
> |
> 
> --
> Prof. Ricardo Hallak
> Laborat?rio de Meteorologia de Mesoescala - LMM
> Departamento de Ci?ncias Atmosf?ricas
> Instituto de Astronomia, Geof?sica e Ci?ncias Atmosf?ricas
> Universidade de S?o Paulo
> 
> Phone: +55(11)3091-4698
> 
> 
> 
> ------------------------------
> 
> Message: 4
> Date: Thu, 13 Apr 2017 17:41:14 -0300 (BRT)
> From: Ricardo Hallak <ricardo.hallak at iag.usp.br>
> Subject: Re: [gradsusr] tildes
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Message-ID:
>         <1325495063.76376125.1492116074374.JavaMail.root at iag.usp.br>
> Content-Type: text/plain; charset=utf-8
> 
> Sorry, Alan.
> It doesn't work. You really will need a new font.
> 
> Bye,
> Ricardo
> 
> ----- Mensagem original -----
> | Hi again, Alan.
> |
> | It is possible to save a "txt" file in the system and "read" a string
> | from the file from the disk to write it in a figure.
> |
> | Example:
> |
> | Criate an file with this content:
> |
> | "Ni?o ni?o Ni?a ni?a"
> |
> | When necessary, read the file with your GrADS script and get the
> | string you want, once that string 1 = Ni?o, string 2 = ni?o, and so
> | on.
> |
> | Maybe this can solve your problem if you handle strings
> | appropriately.
> |
> | Hope this helps,
> | Ricardo
> |
> | ----- Mensagem original -----
> | | Hi, Alan.
> | |
> | | If I correctly remember, there was a way to do that. In older
> | | versions of GrADS, it was possible for a user to create a new set
> | | of
> | | characters. Unfortunatelly I can't help you with that, once I've
> | | never done it. Besides, I'm not sure if it is possible with new
> | | versios of GrADS.
> | |
> | | Is there someone in the list who has any experience in creating a
> | | new
> | | set of characteres in GrADS?
> | |
> | | Regards,
> | | Ricardo
> | |
> | | ----- Mensagem original -----
> | | | Dear Ricardo,
> | | |
> | | | Yes, I know how to do that, but I was wondering if there is a
> | | | font
> | | | that
> | | | includes letters from other alphabets that include tildes and
> | | | accent
> | | | marks, so they do not have to be done manually.  Thanks.
> | | |
> | | | Alan
> | | |
> | | | Alan Robock, Distinguished Professor
> | | |    Editor, Reviews of Geophysics
> | | | Department of Environmental Sciences            Phone:
> | | | +1-848-932-5751
> | | | Rutgers University                                Fax:
> | | | +1-732-932-8644
> | | | 14 College Farm Road                  E-mail:
> | | | robock at envsci.rutgers.edu
> | | | New Brunswick, NJ 08901-8551  USA
> | | |    http://envsci.rutgers.edu/~robock
> | | | ? http://twitter.com/AlanRobock
> | | | Watch my 18 min TEDx talk at
> | | | http://www.youtube.com/watch?v=qsrEk1oZ-54
> | | |
> | | | On 4/12/2017 9:14 AM, Ricardo Hallak wrote:
> | | | > Hi, Alan.
> | | | >
> | | | > Yes, there is. Use "draw string":
> | | | >
> | | | > draw string x y string
> | | | >
> | | | > Draws the character string at the x,y position. x and y are
> | | | > given
> | | | > in inches on the virtual page.
> | | | > The string is drawn using current string attributes -- set the
> | | | > set
> | | | > string and set strsiz commands.
> | | | >
> | | | > Regards,
> | | | > Ricardo
> | | | >
> | | | > ----- Mensagem original -----
> | | | > | Hi,
> | | | > |
> | | | > | Is there a way to write "El Ni?o" on a plot, with a tilde
> | | | > | over
> | | | > | the n?
> | | | > |
> | | | > | --
> | | | > | Alan
> | | | > |
> | | | > | Alan Robock, Distinguished Professor
> | | | > |    Editor, Reviews of Geophysics
> | | | > | Department of Environmental Sciences            Phone:
> | | | > | +1-848-932-5751
> | | | > | Rutgers University                                Fax:
> | | | > | +1-732-932-8644
> | | | > | 14 College Farm Road                  E-mail:
> | | | > | robock at envsci.rutgers.edu
> | | | > | New Brunswick, NJ 08901-8551  USA
> | | | > |    http://envsci.rutgers.edu/~robock
> | | | > | ? http://twitter.com/AlanRobock
> | | | > | Watch my 18 min TEDx talk at
> | | | > | http://www.youtube.com/watch?v=qsrEk1oZ-54
> | | | > |
> | | | > | _______________________________________________
> | | | > | gradsusr mailing list
> | | | > | gradsusr at gradsusr.org
> | | | > | http://gradsusr.org/mailman/listinfo/gradsusr
> | | | > |
> | | | >
> | | | > _______________________________________________
> | | | > gradsusr mailing list
> | | | > gradsusr at gradsusr.org
> | | | > http://gradsusr.org/mailman/listinfo/gradsusr
> | | |
> | | | _______________________________________________
> | | | gradsusr mailing list
> | | | gradsusr at gradsusr.org
> | | | http://gradsusr.org/mailman/listinfo/gradsusr
> | | |
> | |
> | | --
> | | Prof. Ricardo Hallak
> | | Laborat?rio de Meteorologia de Mesoescala - LMM
> | | Departamento de Ci?ncias Atmosf?ricas
> | | Instituto de Astronomia, Geof?sica e Ci?ncias Atmosf?ricas
> | | Universidade de S?o Paulo
> | |
> | | Phone: +55(11)3091-4698
> | |
> | | _______________________________________________
> | | gradsusr mailing list
> | | gradsusr at gradsusr.org
> | | http://gradsusr.org/mailman/listinfo/gradsusr
> | |
> |
> | --
> | Prof. Ricardo Hallak
> | Laborat?rio de Meteorologia de Mesoescala - LMM
> | Departamento de Ci?ncias Atmosf?ricas
> | Instituto de Astronomia, Geof?sica e Ci?ncias Atmosf?ricas
> | Universidade de S?o Paulo
> |
> | Phone: +55(11)3091-4698
> |
> | _______________________________________________
> | gradsusr mailing list
> | gradsusr at gradsusr.org
> | http://gradsusr.org/mailman/listinfo/gradsusr
> |
> 
> --
> Prof. Ricardo Hallak
> Laborat?rio de Meteorologia de Mesoescala - LMM
> Departamento de Ci?ncias Atmosf?ricas
> Instituto de Astronomia, Geof?sica e Ci?ncias Atmosf?ricas
> Universidade de S?o Paulo
> 
> Phone: +55(11)3091-4698
> 
> 
> 
> ------------------------------
> 
> Message: 5
> Date: Thu, 13 Apr 2017 21:19:51 +0000
> From: Mike Fiorino - NOAA Federal <michael.fiorino at noaa.gov>
> Subject: Re: [gradsusr] Add outline to output of set gxout grfill in
>         GrADS
> To: GrADS Users Forum <gradsusr at gradsusr.org>,  Lyndon Mark Olaguera
>         <olagueralyndonmark429 at gmail.com>
> Message-ID: <7370b34e-8cc1-70da-53d2-a8459000ea70 at noaa.gov>
> Content-Type: text/plain; charset="us-ascii"
> 
> An HTML attachment was scrubbed...
> URL: http://gradsusr.org/pipermail/gradsusr/attachments/20170413/
> ce430c0f/attachment.html
> 
> ------------------------------
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
> 
> 
> End of gradsusr Digest, Vol 86, Issue 19
> ****************************************
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://gradsusr.org/pipermail/gradsusr/attachments/20170414/a76b865c/attachment.html 
> 
> ------------------------------
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
> 
> 
> End of gradsusr Digest, Vol 86, Issue 22
> ****************************************
> 
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr




More information about the gradsusr mailing list