Jeff,<div><br></div><div>Thank you very much for your response.</div><div>I tried but so far, I cannot get what I want.</div><div>I do not need streamlines. They would complicate the issue.</div><div>What I want is to "implant" arrows on already existent contour lines.</div>
<div>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.</div><div>By contrast, streamlines are independent and appear in a set of points different from</div>
<div>from the set of points of my contours.</div><div><br></div><div>Best regards,</div><div><br></div><div>Juan Carlos.<br><br><div class="gmail_quote">On Wed, Jan 18, 2012 at 8:12 PM, <span dir="ltr"><<a href="mailto:gradsusr-request@gradsusr.org">gradsusr-request@gradsusr.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send gradsusr mailing list submissions to<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:gradsusr-request@gradsusr.org">gradsusr-request@gradsusr.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:gradsusr-owner@gradsusr.org">gradsusr-owner@gradsusr.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of gradsusr digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Arrows on Contours (Juan Carlos Jusem)<br>
2. Re: Arrows on Contours (Jeff Duda)<br>
3. Re: grads and UTM (jc)<br>
4. vertically integrated moisture flux (khaled ammar)<br>
5. Re: vertically integrated moisture flux (Tereza Cavazos)<br>
6. Re: 0 360 data to -180 180 (James T. Potemra)<br>
7. Re: vertically integrated moisture flux (Mario Caffera)<br>
8. Wgrib2 / g2ctl / gribmap (Andrew Revering)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Wed, 18 Jan 2012 10:38:15 -0500<br>
From: Juan Carlos Jusem <<a href="mailto:jcjusem@gmail.com">jcjusem@gmail.com</a>><br>
Subject: [gradsusr] Arrows on Contours<br>
To: <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
Message-ID:<br>
<<a href="mailto:CAGbDskwbTuoU_Zah7cNk-T1VmXAEqtiABnz2XTKBZrJh%2BCY_KQ@mail.gmail.com">CAGbDskwbTuoU_Zah7cNk-T1VmXAEqtiABnz2XTKBZrJh+CY_KQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Please, I would like to know how to put arrows on stream function contours,<br>
using GRADs.<br>
<br>
Streamlines don't do the job.<br>
<br>
Thanks,<br>
<br>
Juan Carlos<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20120118/30c04507/attachment-0001.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20120118/30c04507/attachment-0001.html</a><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 18 Jan 2012 10:04:56 -0600<br>
From: Jeff Duda <<a href="mailto:jeffduda319@gmail.com">jeffduda319@gmail.com</a>><br>
Subject: Re: [gradsusr] Arrows on Contours<br>
To: GrADS Users Forum <<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>
Message-ID:<br>
<<a href="mailto:CAAig09CnmYNoAJtv88Q7kgAWUBwhXRFkWrhcvMoJVHMo1dvR4A@mail.gmail.com">CAAig09CnmYNoAJtv88Q7kgAWUBwhXRFkWrhcvMoJVHMo1dvR4A@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Juan,<br>
Have a look at this<br>
page<<a href="http://www.iges.org/grads/gadoc/gradcomdsetstrmden.html" target="_blank">http://www.iges.org/grads/gadoc/gradcomdsetstrmden.html</a>>(set<br>
strmopts). As long as you're using version 2.0 or better it should<br>
help you with what you want.<br>
<br>
Jeff Duda<br>
<br>
On Wed, Jan 18, 2012 at 9:38 AM, Juan Carlos Jusem <<a href="mailto:jcjusem@gmail.com">jcjusem@gmail.com</a>>wrote:<br>
<br>
> Please, I would like to know how to put arrows on stream function<br>
> contours, using GRADs.<br>
><br>
> Streamlines don't do the job.<br>
><br>
> Thanks,<br>
><br>
> Juan Carlos<br>
><br>
> _______________________________________________<br>
> gradsusr mailing list<br>
> <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
><br>
><br>
<br>
<br>
--<br>
Jeff Duda<br>
Graduate research assistant<br>
University of Oklahoma School of Meteorology<br>
Center for Analysis and Prediction of Storms<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20120118/6e18a4c9/attachment-0001.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20120118/6e18a4c9/attachment-0001.html</a><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Wed, 18 Jan 2012 10:07:11 -0700<br>
From: jc <<a href="mailto:jciolek@alphatrac.com">jciolek@alphatrac.com</a>><br>
Subject: Re: [gradsusr] grads and UTM<br>
To: GrADS Users Forum <<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>
Message-ID: <<a href="mailto:645D197E-664D-49CC-ABE2-6E8245D71EF9@alphatrac.com">645D197E-664D-49CC-ABE2-6E8245D71EF9@alphatrac.com</a>><br>
Content-Type: text/plain; charset=iso-8859-1<br>
<br>
Hi Davide,<br>
<br>
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.<br>
<br>
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.<br>
<br>
<br>
John Ciolek<br>
AlphaTRAC, Inc.<br>
10385 Westmoor Dr., Suite 310<br>
Westminster, CO 80021<br>
<br>
<br>
On Jan 18, 2012, at 4:41 AM, Davide Sacchetti wrote:<br>
<br>
> dears,<br>
> does anybody know how and if to plot UTM preprojected data in grads?<br>
> cheers to all<br>
><br>
> Davide<br>
><br>
> --<br>
> Davide Sacchetti<br>
> Centro Funzionale Meteo Idrologico di Protezione Civile della Regione Liguria<br>
> ARPAL Unit? Tecnica Complessa di livello Regionale<br>
> V.le Brigare Partigiane 2 16121 Genova (I)<br>
> tel: <a href="tel:%2B39%20010%206437535" value="+390106437535">+39 010 6437535</a> fax: <a href="tel:%2B39%20010%206437520" value="+390106437520">+39 010 6437520</a><br>
> mail: <a href="mailto:davide.sacchetti@arpal.gov.it">davide.sacchetti@arpal.gov.it</a> web: <a href="http://www.arpal.gov.it" target="_blank">www.arpal.gov.it</a><br>
><br>
><br>
> _______________________________________________<br>
> gradsusr mailing list<br>
> <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Wed, 18 Jan 2012 10:30:38 -0800 (PST)<br>
From: khaled ammar <<a href="mailto:khaledammar2003@yahoo.com">khaledammar2003@yahoo.com</a>><br>
Subject: [gradsusr] vertically integrated moisture flux<br>
To: "<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>" <<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>
Message-ID:<br>
<<a href="mailto:1326911438.75221.YahooMailNeo@web160117.mail.bf1.yahoo.com">1326911438.75221.YahooMailNeo@web160117.mail.bf1.yahoo.com</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
dear friends<br>
<br>
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<br>
<br>
<br>
my best<br>
khaled ammar<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20120118/bf11eecc/attachment-0001.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20120118/bf11eecc/attachment-0001.html</a><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: <a href="http://qu.gs" target="_blank">qu.gs</a><br>
Type: application/octet-stream<br>
Size: 331 bytes<br>
Desc: not available<br>
Url : <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20120118/bf11eecc/attachment-0001.obj" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20120118/bf11eecc/attachment-0001.obj</a><br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Wed, 18 Jan 2012 10:45:50 -0800<br>
From: Tereza Cavazos <<a href="mailto:tcavazos@cicese.mx">tcavazos@cicese.mx</a>><br>
Subject: Re: [gradsusr] vertically integrated moisture flux<br>
To: <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
Message-ID: <<a href="mailto:4F17135E.40402@cicese.mx">4F17135E.40402@cicese.mx</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi,<br>
<br>
Another way to calculate<br>
Vertically integarted moisture flux convergence (VIMFC)<br>
from 1000mb to 100mb:<br>
<br>
sdfopen <a href="http://shum.nc" target="_blank">shum.nc</a><br>
sdfopen <a href="http://uwnd.nc" target="_blank">uwnd.nc</a><br>
sdfopen <a href="http://vwnd.nc" target="_blank">vwnd.nc</a><br>
<br>
set lon x1 x2<br>
set lat y1 y2<br>
set t 1 T<br>
set lev 1<br>
qu=vint(1000,shum.1*uwnd.2,100)<br>
qv=vint(1000,shum.1*vwnd.3,100)<br>
vimf=-hdivg(qu,qv)<br>
d vimf<br>
<br>
Best,<br>
Tereza Cavazos<br>
<br>
On 1/18/2012 10:30 AM, khaled ammar wrote:<br>
> dear friends<br>
> you can use the script to calculate qu component and adjust for qv<br>
> comonent for vertically integrated moisture flux vector between 1000<br>
> and 300 hpa levels<br>
><br>
> my best<br>
> khaled ammar<br>
><br>
><br>
> _______________________________________________<br>
> gradsusr mailing list<br>
> <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20120118/7b5499a6/attachment-0001.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20120118/7b5499a6/attachment-0001.html</a><br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Wed, 18 Jan 2012 09:00:54 -1000<br>
From: "James T. Potemra" <<a href="mailto:jimp@hawaii.edu">jimp@hawaii.edu</a>><br>
Subject: Re: [gradsusr] 0 360 data to -180 180<br>
To: GrADS Users Forum <<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>
Message-ID: <<a href="mailto:4F1716E6.3070601@hawaii.edu">4F1716E6.3070601@hawaii.edu</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
Sebastian:<br>
<br>
I'm not sure if you've solved this yet? I think if your longitudes can<br>
be made continuous around the globe, you should be able to plot either<br>
as 0 to 360 or -180 to 180 (or any range for that matter). As an<br>
example, if you have "imax" number of longitudes extending over the<br>
whole globe, you need longitude(imax+1)=longitude(1). Again, as an<br>
example, if you have 360 longitudes at 1-degree spacing, and lon(1)=0.5,<br>
lon(360)=359.5, you should be able to plot (and fill) the whole map with<br>
"set lon -180 180", "set lon 0 360", etc. You could even "set lon 0<br>
720" and get twice the globe. Of course, you want to remain true to the<br>
actual data locations (i.e., not advisable to edit the control file in a<br>
way to misrepresent the data).<br>
<br>
Jim<br>
<br>
On 1/17/12 10:03 AM, Sebastian Steinig wrote:<br>
> Hi,<br>
><br>
> 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?<br>
><br>
> Best Regards<br>
> _______________________________________________<br>
> gradsusr mailing list<br>
> <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br>
<br>
------------------------------<br>
<br>
Message: 7<br>
Date: Wed, 18 Jan 2012 16:53:34 -0800 (PST)<br>
From: Mario Caffera <<a href="mailto:rmcaffera@yahoo.com">rmcaffera@yahoo.com</a>><br>
Subject: Re: [gradsusr] vertically integrated moisture flux<br>
To: GrADS Users Forum <<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>
Message-ID:<br>
<<a href="mailto:1326934414.45058.YahooMailClassic@web161502.mail.bf1.yahoo.com">1326934414.45058.YahooMailClassic@web161502.mail.bf1.yahoo.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
<br>
Thank you Tere. That was the way I calculated early.<br>
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.<br>
<br>
? ? ? ? ?? best<br>
<br>
? ? ? ? ? ? ? ? ? ? mario<br>
--- On Wed, 1/18/12, Tereza Cavazos <<a href="mailto:tcavazos@cicese.mx">tcavazos@cicese.mx</a>> wrote:<br>
<br>
From: Tereza Cavazos <<a href="mailto:tcavazos@cicese.mx">tcavazos@cicese.mx</a>><br>
Subject: Re: [gradsusr] vertically integrated moisture flux<br>
To: <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
Date: Wednesday, January 18, 2012, 4:45 PM<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
Hi,<br>
<br>
?<br>
<br>
Another way to calculate<br>
<br>
Vertically integarted moisture flux convergence (VIMFC)<br>
<br>
from 1000mb to 100mb:<br>
<br>
<br>
<br>
sdfopen <a href="http://shum.nc" target="_blank">shum.nc</a><br>
<br>
sdfopen <a href="http://uwnd.nc" target="_blank">uwnd.nc</a><br>
<br>
sdfopen <a href="http://vwnd.nc" target="_blank">vwnd.nc</a><br>
<br>
<br>
<br>
set lon x1 x2<br>
<br>
set lat y1 y2<br>
<br>
set t 1 T<br>
<br>
set lev 1<br>
<br>
qu=vint(1000,shum.1*uwnd.2,100)<br>
<br>
qv=vint(1000,shum.1*vwnd.3,100)<br>
<br>
vimf=-hdivg(qu,qv)<br>
<br>
d vimf<br>
<br>
<br>
<br>
Best,<br>
<br>
Tereza Cavazos<br>
<br>
<br>
<br>
On 1/18/2012 10:30 AM, khaled ammar wrote:<br>
<br>
<br>
<br>
dear friends<br>
<br>
<br>
you can use the script to calculate qu component and adjust<br>
for qv comonent for vertically integrated moisture flux vector<br>
between 1000 and 300 hpa levels<br>
<br>
<br>
<br>
<br>
<br>
my best<br>
khaled ammar<br>
<br>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br>
<br>
<br>
<br>
<br>
<br>
-----Inline Attachment Follows-----<br>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20120118/88251c8c/attachment-0001.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20120118/88251c8c/attachment-0001.html</a><br>
<br>
------------------------------<br>
<br>
Message: 8<br>
Date: Wed, 18 Jan 2012 19:12:49 -0600<br>
From: Andrew Revering <<a href="mailto:andy@f5data.com">andy@f5data.com</a>><br>
Subject: [gradsusr] Wgrib2 / g2ctl / gribmap<br>
To: GrADS User List <<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>
Message-ID:<br>
<CAHXC6uuNDbmEZgBb3Wy0f+Pm3qD963h6p5G9EFXi+M=<a href="mailto:SKejQig@mail.gmail.com">SKejQig@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
I'm having a problem with gribmap, g2ctl or potentially wgrib2 when trying<br>
to create my CTL and IDX files.<br>
<br>
I'm just installing this on a new Linux machine (CentOs6 64 bit) and I<br>
create the CTL file with the command:<br>
<br>
g2ctl ruc.grib > ruc.ctl<br>
<br>
I get the error:<br>
<br>
*Warning: g2lib/g2clib jpeg deocde may differ from WMO standard, use use<br>
-g2clib 0 for WMO standardg2*<br>
*Use of uninitialized value $east in addition (+) at g2ctl line 619.*<br>
*Use of uninitialized value $west in addition (+) at g2ctl line 619.*<br>
*Use of uninitialized value $east in addition (+) at g2ctl line 620.*<br>
*Use of uninitialized value $west in addition (+) at g2ctl line 620.*<br>
*Use of uninitialized value $west in subtraction (-) at g2ctl line 635.*<br>
*Use of uninitialized value $east in subtraction (-) at g2ctl line 635.*<br>
*Use of uninitialized value $west in numeric eq (==) at g2ctl line 636.*<br>
*Use of uninitialized value $west in concatenation (.) or string at g2ctl<br>
line 639.*<br>
*Use of uninitialized value $south in subtraction (-) at g2ctl line 640.*<br>
*Use of uninitialized value $north in subtraction (-) at g2ctl line 640.*<br>
*Use of uninitialized value $south in concatenation (.) or string at g2ctl<br>
line 641.*<br>
<br>
The CTL file did get created and looks alright... but then when I run<br>
Gribmap ...<br>
<br>
*Open Error: Missing or invalid dimension increment value*<br>
* --> The invalid description file record is:*<br>
* --> xdef 1 linear 0.192425685762171*<br>
* The data file was not opened.*<br>
<br>
So I'm not sure if its a problem with Gribmap, g2ctl or Wgrib2....nor am I<br>
sure how to resolve it.<br>
I use the same exact file on a windows machine using the same process to<br>
create the CTL and IDX files without a problem, so I assume it has to be<br>
machine specific with the installation or something.<br>
<br>
Thoughts?<br>
<br>
Andy<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20120118/9bc271f3/attachment.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20120118/9bc271f3/attachment.html</a><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br>
<br>
End of gradsusr Digest, Vol 23, Issue 23<br>
****************************************<br>
</blockquote></div><br></div>