[gradsusr] gradsusr Digest, Vol 23, Issue 23

Juan Carlos Jusem jcjusem at gmail.com
Thu Jan 19 13:29:10 EST 2012


Jeff,

Thank you very much for your response.
I tried but so far, I cannot get what I want.
I do not need streamlines. They would complicate the issue.
What I want is to "implant" arrows on already existent contour lines.
Of course that the routine that controls the density of the arrows would be
helpful, once I can "draw" arrows on the contours of my choice, with
nothing else in between.
By contrast, streamlines are independent and appear in a set of points
different from
from the set of points of my contours.

Best regards,

Juan Carlos.

On Wed, Jan 18, 2012 at 8:12 PM, <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. Arrows on Contours (Juan Carlos Jusem)
>   2. Re: Arrows on Contours (Jeff Duda)
>   3. Re: grads and UTM (jc)
>   4. vertically integrated moisture flux (khaled ammar)
>   5. Re: vertically integrated moisture flux (Tereza Cavazos)
>   6. Re: 0 360 data to -180 180 (James T. Potemra)
>   7. Re: vertically integrated moisture flux (Mario Caffera)
>   8. Wgrib2 / g2ctl / gribmap (Andrew Revering)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 18 Jan 2012 10:38:15 -0500
> From: Juan Carlos Jusem <jcjusem at gmail.com>
> Subject: [gradsusr] Arrows on Contours
> To: gradsusr at gradsusr.org
> Message-ID:
>        <CAGbDskwbTuoU_Zah7cNk-T1VmXAEqtiABnz2XTKBZrJh+CY_KQ at mail.gmail.com
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> Please, I would like to know how to put arrows on stream function contours,
> using GRADs.
>
> Streamlines don't do the job.
>
> Thanks,
>
> Juan Carlos
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://gradsusr.org/pipermail/gradsusr/attachments/20120118/30c04507/attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Wed, 18 Jan 2012 10:04:56 -0600
> From: Jeff Duda <jeffduda319 at gmail.com>
> Subject: Re: [gradsusr] Arrows on Contours
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Message-ID:
>        <CAAig09CnmYNoAJtv88Q7kgAWUBwhXRFkWrhcvMoJVHMo1dvR4A at mail.gmail.com
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> Juan,
> Have a look at this
> page<http://www.iges.org/grads/gadoc/gradcomdsetstrmden.html>(set
> strmopts).   As long as you're using version 2.0 or better it should
> help you with what you want.
>
> Jeff Duda
>
> On Wed, Jan 18, 2012 at 9:38 AM, Juan Carlos Jusem <jcjusem at gmail.com
> >wrote:
>
> > Please, I would like to know how to put arrows on stream function
> > contours, using GRADs.
> >
> > Streamlines don't do the job.
> >
> > Thanks,
> >
> > Juan Carlos
> >
> > _______________________________________________
> > gradsusr mailing list
> > gradsusr at gradsusr.org
> > http://gradsusr.org/mailman/listinfo/gradsusr
> >
> >
>
>
> --
> Jeff Duda
> Graduate research assistant
> University of Oklahoma School of Meteorology
> Center for Analysis and Prediction of Storms
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://gradsusr.org/pipermail/gradsusr/attachments/20120118/6e18a4c9/attachment-0001.html
>
> ------------------------------
>
> Message: 3
> Date: Wed, 18 Jan 2012 10:07:11 -0700
> From: jc <jciolek at alphatrac.com>
> Subject: Re: [gradsusr] grads and UTM
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Message-ID: <645D197E-664D-49CC-ABE2-6E8245D71EF9 at alphatrac.com>
> Content-Type: text/plain; charset=iso-8859-1
>
> Hi Davide,
>
> I use UTM coordinates with GrADS all the time, so it will work.  However,
> in most cases you need to modify your coordinates.  I multiply each
> coordinate by 10E-5 or 10E-6 since GrADS wants Lat/Lon coordinates.  That
> makes pseudo Lat/Lon coordinates that will plot just fine.
>
> Do not use the default GrADS base maps with your plots.  I was plotting
> velocity vectors in New Mexico, USA and kept getting a strange shape in my
> plots.  That turned out to be Sicily.
>
>
> John Ciolek
> AlphaTRAC, Inc.
> 10385 Westmoor Dr., Suite 310
> Westminster, CO 80021
>
>
> On Jan 18, 2012, at 4:41 AM, Davide Sacchetti wrote:
>
> > dears,
> > does anybody know how and if to plot UTM preprojected data in grads?
> > cheers to all
> >
> > Davide
> >
> > --
> > Davide Sacchetti
> > Centro Funzionale Meteo Idrologico di Protezione Civile della Regione
> Liguria
> > ARPAL Unit? Tecnica Complessa di livello Regionale
> > V.le Brigare Partigiane 2 16121 Genova (I)
> > tel: +39 010 6437535                    fax: +39 010 6437520
> > mail: davide.sacchetti at arpal.gov.it     web: www.arpal.gov.it
> >
> >
> > _______________________________________________
> > gradsusr mailing list
> > gradsusr at gradsusr.org
> > http://gradsusr.org/mailman/listinfo/gradsusr
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 18 Jan 2012 10:30:38 -0800 (PST)
> From: khaled ammar <khaledammar2003 at yahoo.com>
> Subject: [gradsusr] vertically integrated moisture flux
> To: "gradsusr at gradsusr.org" <gradsusr at gradsusr.org>
> Message-ID:
>        <1326911438.75221.YahooMailNeo at web160117.mail.bf1.yahoo.com>
> Content-Type: text/plain; charset="us-ascii"
>
> dear friends
>
> you can use the script to calculate qu component and adjust for qv
> comonent for vertically integrated moisture flux vector between 1000 and
> 300 hpa levels
>
>
> my best
> khaled ammar
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://gradsusr.org/pipermail/gradsusr/attachments/20120118/bf11eecc/attachment-0001.html
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: qu.gs
> Type: application/octet-stream
> Size: 331 bytes
> Desc: not available
> Url :
> http://gradsusr.org/pipermail/gradsusr/attachments/20120118/bf11eecc/attachment-0001.obj
>
> ------------------------------
>
> Message: 5
> Date: Wed, 18 Jan 2012 10:45:50 -0800
> From: Tereza Cavazos <tcavazos at cicese.mx>
> Subject: Re: [gradsusr] vertically integrated moisture flux
> To: gradsusr at gradsusr.org
> Message-ID: <4F17135E.40402 at cicese.mx>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> Another way to calculate
> Vertically integarted moisture flux convergence (VIMFC)
> from 1000mb to 100mb:
>
> sdfopen shum.nc
> sdfopen uwnd.nc
> sdfopen vwnd.nc
>
> set lon x1 x2
> set lat y1 y2
> set t 1 T
> set lev 1
> qu=vint(1000,shum.1*uwnd.2,100)
> qv=vint(1000,shum.1*vwnd.3,100)
> vimf=-hdivg(qu,qv)
> d vimf
>
> Best,
> Tereza Cavazos
>
> On 1/18/2012 10:30 AM, khaled ammar wrote:
> > dear friends
> > you can use the script to calculate qu component and adjust for qv
> > comonent for vertically integrated moisture flux vector between 1000
> > and 300 hpa levels
> >
> > my best
> > khaled ammar
> >
> >
> > _______________________________________________
> > 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/20120118/7b5499a6/attachment-0001.html
>
> ------------------------------
>
> Message: 6
> Date: Wed, 18 Jan 2012 09:00:54 -1000
> From: "James T. Potemra" <jimp at hawaii.edu>
> Subject: Re: [gradsusr] 0 360 data to -180 180
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Message-ID: <4F1716E6.3070601 at hawaii.edu>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Sebastian:
>
> I'm not sure if you've solved this yet?  I think if your longitudes can
> be made continuous around the globe, you should be able to plot either
> as 0 to 360 or -180 to 180 (or any range for that matter).  As an
> example, if you have "imax" number of longitudes extending over the
> whole globe, you need longitude(imax+1)=longitude(1).  Again, as an
> example, if you have 360 longitudes at 1-degree spacing, and lon(1)=0.5,
> lon(360)=359.5, you should be able to plot (and fill) the whole map with
> "set lon -180 180", "set lon 0 360", etc.  You could even "set lon 0
> 720" and get twice the globe.  Of course, you want to remain true to the
> actual data locations (i.e., not advisable to edit the control file in a
> way to misrepresent the data).
>
> Jim
>
> On 1/17/12 10:03 AM, Sebastian Steinig wrote:
> > Hi,
> >
> > I have a data set with lon 0 360 and want to use a robinson projection
> with lon -180 180. If I set lon to -180 180 it will only display the
> shifted half of the data. How can I change the data, like subtracting 180
> from the lon-values?
> >
> > Best Regards
> > _______________________________________________
> > gradsusr mailing list
> > gradsusr at gradsusr.org
> > http://gradsusr.org/mailman/listinfo/gradsusr
>
>
> ------------------------------
>
> Message: 7
> Date: Wed, 18 Jan 2012 16:53:34 -0800 (PST)
> From: Mario Caffera <rmcaffera at yahoo.com>
> Subject: Re: [gradsusr] vertically integrated moisture flux
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Message-ID:
>        <1326934414.45058.YahooMailClassic at web161502.mail.bf1.yahoo.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
> Thank you Tere. That was the way I calculated early.
> But like thies, there is a lack of moist from surface to 1000hPa, in the
> cases when surface pressure is higher than 1000. Otherwise I guess it could
> be some problems by the fact of having constant pressure files in one side,
> and surface files apart. That is puzzling me.
>
> ? ? ? ? ?? best
>
> ? ? ? ? ? ? ? ? ? ? mario
> --- On Wed, 1/18/12, Tereza Cavazos <tcavazos at cicese.mx> wrote:
>
> From: Tereza Cavazos <tcavazos at cicese.mx>
> Subject: Re: [gradsusr] vertically integrated moisture flux
> To: gradsusr at gradsusr.org
> Date: Wednesday, January 18, 2012, 4:45 PM
>
>
>
>
>
>
>
>    Hi,
>
>    ?
>
>    Another way to calculate
>
>    Vertically integarted moisture flux convergence (VIMFC)
>
>    from 1000mb to 100mb:
>
>
>
>    sdfopen shum.nc
>
>    sdfopen uwnd.nc
>
>    sdfopen vwnd.nc
>
>
>
>    set lon x1 x2
>
>    set lat y1 y2
>
>    set t 1 T
>
>    set lev 1
>
>    qu=vint(1000,shum.1*uwnd.2,100)
>
>    qv=vint(1000,shum.1*vwnd.3,100)
>
>    vimf=-hdivg(qu,qv)
>
>    d vimf
>
>
>
>    Best,
>
>    Tereza Cavazos
>
>
>
>    On 1/18/2012 10:30 AM, khaled ammar wrote:
>
>
>
>        dear friends
>
>
>        you can use the script to calculate qu component and adjust
>          for qv comonent for vertically integrated moisture flux vector
>          between 1000 and 300 hpa levels
>
>
>
>
>
>        my best
>        khaled ammar
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
>
>
>
>
> -----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/20120118/88251c8c/attachment-0001.html
>
> ------------------------------
>
> Message: 8
> Date: Wed, 18 Jan 2012 19:12:49 -0600
> From: Andrew Revering <andy at f5data.com>
> Subject: [gradsusr] Wgrib2 / g2ctl / gribmap
> To: GrADS User List <gradsusr at gradsusr.org>
> Message-ID:
>        <CAHXC6uuNDbmEZgBb3Wy0f+Pm3qD963h6p5G9EFXi+M=SKejQig at mail.gmail.com
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> I'm having a problem with gribmap, g2ctl or potentially wgrib2 when trying
> to create my CTL and IDX files.
>
> I'm just installing this on a new Linux machine (CentOs6 64 bit) and I
> create the CTL file with the command:
>
> g2ctl ruc.grib > ruc.ctl
>
> I get the error:
>
> *Warning: g2lib/g2clib jpeg deocde may differ from WMO standard, use use
> -g2clib 0 for WMO standardg2*
> *Use of uninitialized value $east in addition (+) at g2ctl line 619.*
> *Use of uninitialized value $west in addition (+) at g2ctl line 619.*
> *Use of uninitialized value $east in addition (+) at g2ctl line 620.*
> *Use of uninitialized value $west in addition (+) at g2ctl line 620.*
> *Use of uninitialized value $west in subtraction (-) at g2ctl line 635.*
> *Use of uninitialized value $east in subtraction (-) at g2ctl line 635.*
> *Use of uninitialized value $west in numeric eq (==) at g2ctl line 636.*
> *Use of uninitialized value $west in concatenation (.) or string at g2ctl
> line 639.*
> *Use of uninitialized value $south in subtraction (-) at g2ctl line 640.*
> *Use of uninitialized value $north in subtraction (-) at g2ctl line 640.*
> *Use of uninitialized value $south in concatenation (.) or string at g2ctl
> line 641.*
>
> The CTL file did get created and looks alright... but then when I run
> Gribmap ...
>
> *Open Error:  Missing or invalid dimension increment value*
> *  --> The invalid description file record is:*
> *  --> xdef 1 linear  0.192425685762171*
> *  The data file was not opened.*
>
> So I'm not sure if its a problem with Gribmap, g2ctl or Wgrib2....nor am I
> sure how to resolve it.
> I use the same exact file on a windows machine using the same process to
> create the CTL and IDX files without a problem, so I assume it has to be
> machine specific with the installation or something.
>
> Thoughts?
>
> Andy
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://gradsusr.org/pipermail/gradsusr/attachments/20120118/9bc271f3/attachment.html
>
> ------------------------------
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
> End of gradsusr Digest, Vol 23, Issue 23
> ****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120119/3ee079c7/attachment-0003.html 


More information about the gradsusr mailing list