<div dir="ltr">Excellent!!!!! I want to give Eric, Austin & Bill a big thanks for responding to my emails. You all was very helpful in helping me figure everything out. The pictures look great and the way I wanted them!! I wrote a script to loop through time and contour my shades the same as my first time step. Here it is my script.<br>
<br><br>'reinit'<br>'clear'<br>'open Debby.ctl'<br>'set display color black'<br>'set t 1'<br>'set z 13'<br>'set clab off'<br>'run <a href="http://rgbset.gs">rgbset.gs</a>'<br>
'set mpdset hires'<br>'d hcurl(u,v)'<br>'draw map'<br>'run <a href="http://cbar.gs">cbar.gs</a>'<br>'draw title Tropical Storm Debby: 2006-08-05_0000'<br>'printim 05_0000.png x1600 y1200'<br>
'clear'<br><br><br>'set t 2'<br>'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'<br>'set ccols 9 14 4 5 13 10 7 8 2 6'<br>'d hcurl(u,v)'<br>'draw map'<br>
'run <a href="http://cbar.gs">cbar.gs</a>'<br>'draw title Tropical Storm Debby: 2006-08-05_0600'<br>'printim 05_0600.png x1600 y1200'<br>'clear'<br><br><br>'set t 3'<br>'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'<br>
'set ccols 9 14 4 5 13 10 7 8 2 6'<br>'d hcurl(u,v)'<br>'draw map'<br>'run <a href="http://cbar.gs">cbar.gs</a>'<br>'draw title Tropical Storm Debby: 2006-08-05_1200'<br>'printim 05_1200.png x1600 y1200'<br>
'clear'<br><br><br>'set t 4'<br>'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'<br>'set ccols 9 14 4 5 13 10 7 8 2 6'<br>'d hcurl(u,v)'<br>'draw map'<br>
'run <a href="http://cbar.gs">cbar.gs</a>'<br>'draw title Tropical Storm Debby: 2006-08-05_1800'<br>'printim 05_1800.png x1600 y1200'<br>'clear'<br><br>*********************************************<br>
<br>'set t 5'<br>'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'<br>'set ccols 9 14 4 5 13 10 7 8 2 6'<br>'d hcurl(u,v)'<br>'draw map'<br>'run <a href="http://cbar.gs">cbar.gs</a>'<br>
'draw title Tropical Storm Debby: 2006-08-06_0000'<br>'printim 06_0000.png x1600 y1200'<br>'clear'<br><br><br>'set t 6'<br>'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'<br>
'set ccols 9 14 4 5 13 10 7 8 2 6'<br>'d hcurl(u,v)'<br>'draw map'<br>'run <a href="http://cbar.gs">cbar.gs</a>'<br>'draw title Tropical Storm Debby: 2006-08-06_0600'<br>'printim 06_0600.png x1600 y1200'<br>
'clear'<br><br><br>'set t 7'<br>'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'<br>'set ccols 9 14 4 5 13 10 7 8 2 6'<br>'d hcurl(u,v)'<br>'draw map'<br>
'run <a href="http://cbar.gs">cbar.gs</a>'<br>'draw title Tropical Storm Debby: 2006-08-06_1200'<br>'printim 06_1200.png x1600 y1200'<br>'clear'<br><br><br>'set t 8'<br>'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'<br>
'set ccols 9 14 4 5 13 10 7 8 2 6'<br>'d hcurl(u,v)'<br>'draw map'<br>'run <a href="http://cbar.gs">cbar.gs</a>'<br>'draw title Tropical Storm Debby: 2006-08-06_1800'<br>'printim 06_1800.png x1600 y1200'<br>
'clear'<br><br>*************************************************<br><br>'set t 9'<br>'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'<br>'set ccols 9 14 4 5 13 10 7 8 2 6'<br>
'd hcurl(u,v)'<br>'draw map'<br>'run <a href="http://cbar.gs">cbar.gs</a>'<br>'draw title Tropical Storm Debby: 2006-08-07_0000'<br>'printim 07_0000.png x1600 y1200'<br>'clear'<br>
<br><br>'set t 10'<br>'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'<br>'set ccols 9 14 4 5 13 10 7 8 2 6'<br>'d hcurl(u,v)'<br>'draw map'<br>'run <a href="http://cbar.gs">cbar.gs</a>'<br>
'draw title Tropical Storm Debby: 2006-08-07_0600'<br>'printim 07_0600.png x1600 y1200'<br>'clear'<br><br><br>'set t 11'<br>'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'<br>
'set ccols 9 14 4 5 13 10 7 8 2 6'<br>'d hcurl(u,v)'<br>'draw map'<br>'run <a href="http://cbar.gs">cbar.gs</a>'<br>'draw title Tropical Storm Debby: 2006-08-07_1200'<br>'printim 07_1200.png x1600 y1200'<br>
'clear'<br><br><br>'set t 12'<br>'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'<br>'set ccols 9 14 4 5 13 10 7 8 2 6'<br>'d hcurl(u,v)'<br>'draw map'<br>
'run <a href="http://cbar.gs">cbar.gs</a>'<br>'draw title Tropical Storm Debby: 2006-08-07_1800'<br>'printim 07_1800.png x1600 y1200'<br>'clear'<br><br>*************************************************<br>
<br>'set t 13'<br>'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'<br>'set ccols 9 14 4 5 13 10 7 8 2 6'<br>'d hcurl(u,v)'<br>'draw map'<br>'run <a href="http://cbar.gs">cbar.gs</a>'<br>
'draw title Tropical Storm Debby: 2006-08-08_0000'<br>'printim 08_0000.png x1600 y1200'<br>'clear'<br><br><br><br>'set t 14'<br>'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'<br>
'set ccols 9 14 4 5 13 10 7 8 2 6'<br>'d hcurl(u,v)'<br>'draw map'<br>'run <a href="http://cbar.gs">cbar.gs</a>'<br>'draw title Tropical Storm Debby: 2006-08-08_0600'<br>'printim 08_0600.png x1600 y1200'<br>
'clear'<br><br><br>'set t 15'<br>'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'<br>'set ccols 9 14 4 5 13 10 7 8 2 6'<br>'d hcurl(u,v)'<br>'draw map'<br>
'run <a href="http://cbar.gs">cbar.gs</a>'<br>'draw title Tropical Storm Debby: 2006-08-08_1200'<br>'printim 08_1200.png x1600 y1200'<br>'clear'<br><br><br>'set t 16'<br>'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'<br>
'set ccols 9 14 4 5 13 10 7 8 2 6'<br>'d hcurl(u,v)'<br>'draw map'<br>'run <a href="http://cbar.gs">cbar.gs</a>'<br>'draw title Tropical Storm Debby: 2006-08-08_1800'<br>'printim 08_1800.png x1600 y1200'<br>
'clear'<br><br>*************************************************<br><br>'set t 17'<br>'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'<br>'set ccols 9 14 4 5 13 10 7 8 2 6'<br>
'd hcurl(u,v)'<br>'draw map'<br>'run <a href="http://cbar.gs">cbar.gs</a>'<br>'draw title Tropical Storm Debby: 2006-08-09_0000'<br>'printim 09_0000.png x1600 y1200'<br>'clear'<br>
<br><br>'set t 18'<br>'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'<br>'set ccols 9 14 4 5 13 10 7 8 2 6'<br>'d hcurl(u,v)'<br>'draw map'<br>'run <a href="http://cbar.gs">cbar.gs</a>'<br>
'draw title Tropical Storm Debby: 2006-08-09_0600'<br>'printim 09_0600.png x1600 y1200'<br>'clear'<br><br><br>'set t 19'<br>'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'<br>
'set ccols 9 14 4 5 13 10 7 8 2 6'<br>'d hcurl(u,v)'<br>'draw map'<br>'run <a href="http://cbar.gs">cbar.gs</a>'<br>'draw title Tropical Storm Debby: 2006-08-09_1200'<br>'printim 09_1200.png x1600 y1200'<br>
'clear'<br><br><br>'set t 20'<br>'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'<br>'set ccols 9 14 4 5 13 10 7 8 2 6'<br>'d hcurl(u,v)'<br>'draw map'<br>
'run <a href="http://cbar.gs">cbar.gs</a>'<br>'draw title Tropical Storm Debby: 2006-08-09_1800'<br>'printim 09_1800.png x1600 y1200'<br>'clear'<br><br>*************************************************<br>
<br>'set t 21'<br>'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'<br>'set ccols 9 14 4 5 13 10 7 8 2 6'<br>'d hcurl(u,v)'<br>'draw map'<br>'run <a href="http://cbar.gs">cbar.gs</a>'<br>
'draw title Tropical Storm Debby: 2006-08-10_0000'<br>'printim 10_0000.png x1600 y1200'<br>'clear'<br><br><br>'set t 22'<br>'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'<br>
'set ccols 9 14 4 5 13 10 7 8 2 6'<br>'d hcurl(u,v)'<br>'draw map'<br>'run <a href="http://cbar.gs">cbar.gs</a>'<br>'draw title Tropical Storm Debby: 2006-08-10_0600'<br>'printim 10_0600.png x1600 y1200'<br>
'clear'<br><br><br>'set t 23'<br>'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'<br>'set ccols 9 14 4 5 13 10 7 8 2 6'<br>'d hcurl(u,v)'<br>'draw map'<br>
'run <a href="http://cbar.gs">cbar.gs</a>'<br>'draw title Tropical Storm Debby: 2006-08-10_1200'<br>'printim 10_1200.png x1600 y1200'<br>'clear'<br><br><br>'set t 24'<br>'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'<br>
'set ccols 9 14 4 5 13 10 7 8 2 6'<br>'d hcurl(u,v)'<br>'draw map'<br>'run <a href="http://cbar.gs">cbar.gs</a>'<br>'draw title Tropical Storm Debby: 2006-08-10_1800'<br>'printim 10_1800.png x1600 y1200'<br>
'clear'<br><br>************************************************<br><br>'set t 25'<br>'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'<br>'set ccols 9 14 4 5 13 10 7 8 2 6'<br>
'd hcurl(u,v)'<br>'draw map'<br>'run <a href="http://cbar.gs">cbar.gs</a>'<br>'draw title Tropical Storm Debby: 2006-08-11_0000'<br>'printim 11_0000.png x1600 y1200'<br>'clear'<br>
<br><br>'set t 26'<br>'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'<br>'set ccols 9 14 4 5 13 10 7 8 2 6'<br>'d hcurl(u,v)'<br>'draw map'<br>'run <a href="http://cbar.gs">cbar.gs</a>'<br>
'draw title Tropical Storm Debby: 2006-08-11_0600'<br>'printim 11_0600.png x1600 y1200'<br>'clear'<br><br><br>'set t 27'<br>'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'<br>
'set ccols 9 14 4 5 13 10 7 8 2 6'<br>'d hcurl(u,v)'<br>'draw map'<br>'run <a href="http://cbar.gs">cbar.gs</a>'<br>'draw title Tropical Storm Debby: 2006-08-11_1200'<br>'printim 11_1200.png x1600 y1200'<br>
'clear'<br><br><br>'set t 28'<br>'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'<br>'set ccols 9 14 4 5 13 10 7 8 2 6'<br>'d hcurl(u,v)'<br>'draw map'<br>
'run <a href="http://cbar.gs">cbar.gs</a>'<br>'draw title Tropical Storm Debby: 2006-08-11_1800'<br>'printim 11_1800.png x1600 y1200'<br>'clear'<br><br>*************************************************<br>
<br>'set t 29'<br>'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'<br>'set ccols 9 14 4 5 13 10 7 8 2 6'<br>'d hcurl(u,v)'<br>'draw map'<br>'run <a href="http://cbar.gs">cbar.gs</a>'<br>
'draw title Tropical Storm Debby: 2006-08-12_0000'<br>'printim 12_0000.png x1600 y1200'<br>'clear'<br><br><br>'set t 30'<br>'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'<br>
'set ccols 9 14 4 5 13 10 7 8 2 6'<br>'d hcurl(u,v)'<br>'draw map'<br>'run <a href="http://cbar.gs">cbar.gs</a>'<br>'draw title Tropical Storm Debby: 2006-08-12_0600'<br>'printim 12_0600.png x1600 y1200'<br>
'clear'<br><br><br>'set t 31'<br>'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'<br>'set ccols 9 14 4 5 13 10 7 8 2 6'<br>'d hcurl(u,v)'<br>'draw map'<br>
'run <a href="http://cbar.gs">cbar.gs</a>'<br>'draw title Tropical Storm Debby: 2006-08-12_1200'<br>'printim 12_1200.png x1600 y1200'<br>'clear'<br><br><br>'set t 32'<br>'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'<br>
'set ccols 9 14 4 5 13 10 7 8 2 6'<br>'d hcurl(u,v)'<br>'draw map'<br>'run <a href="http://cbar.gs">cbar.gs</a>'<br>'draw title Tropical Storm Debby: 2006-08-12_1800'<br>'printim 12_1800.png x1600 y1200'<br>
'clear'<br><br>***************************************************<br><br>'set t 33'<br>'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'<br>'set ccols 9 14 4 5 13 10 7 8 2 6'<br>
'd hcurl(u,v)'<br>'draw map'<br>'run <a href="http://cbar.gs">cbar.gs</a>'<br>'draw title Tropical Storm Debby: 2006-08-13_0000'<br>'printim 13_0000.png x1600 y1200'<br>'clear'<br>
<br><br><div class="gmail_quote">On Wed, Aug 6, 2008 at 6:29 PM, Bill Bua <span dir="ltr"><<a href="mailto:Bill.Bua@noaa.gov">Bill.Bua@noaa.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
set clab off (sets the contour labeling off so that #'s don't show up).<br>
<br>
Bill<br>
<br>
Dizzle Man wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
Excellent!, I have tried option two and that works fine. There is one<br>
slight issue though. Is it possible to remove the numbers that come up<br>
on the display when I use contour plotting. They kind of get in the<br>
way when I am observing my data. Also in option 1, what do the min and<br>
max represent in set gxout stat?<br>
<br>
On Tue, Aug 5, 2008 at 2:38 PM, Austin Conaty<br></div><div><div></div><div class="Wj3C7c">
<<a href="mailto:Austin.L.Conaty@nasa.gov" target="_blank">Austin.L.Conaty@nasa.gov</a> <mailto:<a href="mailto:Austin.L.Conaty@nasa.gov" target="_blank">Austin.L.Conaty@nasa.gov</a>>> wrote:<br>
<br>
One possible solution is to<br>
1) set gxout stat<br>
2) loop through the data and capture min and max<br>
3) using the min/max info, use the same set ccols and<br>
set clevs commands before each display<br>
4) set gxout shaded and plot.<br>
<br>
Or, if you're happy with the color and shading used in the first<br>
time period<br>
another possible solution is to<br>
1) set t 1<br>
2) set gxout shaded<br>
3) d relvort<br>
4) q shades<br>
5) set ccols and set clevs according to info returned<br>
by q shades.<br>
<br>
<br>
Eric Altshuler wrote:<br>
<br>
That is odd because in my experience it is in animations that<br>
contouring and color schemes can be ill-suited to the data<br>
being plotted. That's because whatever contouring scheme is<br>
used (or chosen by grads) for the first frame, is also applied<br>
to all the remaining frames so as to ensure the same<br>
contouring scheme for the whole animation. This can be a<br>
problem, though, if the data field being animated changes a<br>
lot during the animation (e.g. a rapidly intensifying hurricane).<br>
<br>
When your are plotting each time step individually, grads<br>
chooses the contouring/color scheme separately for each step<br>
unless you set it yourself. In this situation, if the<br>
character of the data field changes significantly in time,<br>
grads will choose new contouring schemes to suit the data at<br>
each time step. The disadvantage here is that the contouring<br>
scheme is not consistent across all frames. It's a tradeoff.<br>
<br>
How are you doing your animations? Are you setting T to vary<br>
and plotting the variable, or have you set up a script loop to<br>
display one time step, sleep for some interval, advance T and<br>
then display the next time step? The behavior of animations<br>
using these two methods can be quite different.<br>
<br>
----- Original Message -----<br>
From: "Dizzle Man" <<a href="mailto:selfscience06@GMAIL.COM" target="_blank">selfscience06@GMAIL.COM</a><br></div></div><div class="Ih2E3d">
<mailto:<a href="mailto:selfscience06@GMAIL.COM" target="_blank">selfscience06@GMAIL.COM</a>>><br>
To: <a href="mailto:GRADSUSR@LIST.CINECA.IT" target="_blank">GRADSUSR@LIST.CINECA.IT</a> <mailto:<a href="mailto:GRADSUSR@LIST.CINECA.IT" target="_blank">GRADSUSR@LIST.CINECA.IT</a>><br>
Sent: Saturday, August 2, 2008 1:28:03 PM GMT -05:00 US/Canada<br>
Eastern<br>
Subject: Relative Vorticity Contouring<br>
<br>
Hello Everyone,<br>
<br>
I am doing a plots for relative voricity [hcurl(u,v)]. The<br>
issue that I am<br>
having is when I run my animation I get a beautiful sequence<br>
of images, so<br>
when I begin the plot each time step individually I do not<br>
receive that same<br>
contouring intervals that is displayed in the animation. Its<br>
like the<br>
individual plotting loses coloring, but that animation gives<br>
me what I am<br>
looking for. Does this make sense? I was wondering how can I<br>
maintain the<br>
color sequence that the animation gives for individual time<br>
step plotting?<br>
<br>
<br>
<br>
</div></blockquote>
</blockquote></div><br></div>