Relative Vorticity Contouring

Dizzle Man selfscience06 at GMAIL.COM
Wed Aug 6 19:41:56 EDT 2008


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.


'reinit'
'clear'
'open Debby.ctl'
'set display color black'
'set t 1'
'set z 13'
'set clab off'
'run rgbset.gs'
'set mpdset hires'
'd hcurl(u,v)'
'draw map'
'run cbar.gs'
'draw title Tropical Storm Debby: 2006-08-05_0000'
'printim 05_0000.png x1600 y1200'
'clear'


'set t 2'
'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'
'set ccols 9 14 4 5 13 10 7 8 2 6'
'd hcurl(u,v)'
'draw map'
'run cbar.gs'
'draw title Tropical Storm Debby: 2006-08-05_0600'
'printim 05_0600.png x1600 y1200'
'clear'


'set t 3'
'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'
'set ccols 9 14 4 5 13 10 7 8 2 6'
'd hcurl(u,v)'
'draw map'
'run cbar.gs'
'draw title Tropical Storm Debby: 2006-08-05_1200'
'printim 05_1200.png x1600 y1200'
'clear'


'set t 4'
'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'
'set ccols 9 14 4 5 13 10 7 8 2 6'
'd hcurl(u,v)'
'draw map'
'run cbar.gs'
'draw title Tropical Storm Debby: 2006-08-05_1800'
'printim 05_1800.png x1600 y1200'
'clear'

*********************************************

'set t 5'
'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'
'set ccols 9 14 4 5 13 10 7 8 2 6'
'd hcurl(u,v)'
'draw map'
'run cbar.gs'
'draw title Tropical Storm Debby: 2006-08-06_0000'
'printim 06_0000.png x1600 y1200'
'clear'


'set t 6'
'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'
'set ccols 9 14 4 5 13 10 7 8 2 6'
'd hcurl(u,v)'
'draw map'
'run cbar.gs'
'draw title Tropical Storm Debby: 2006-08-06_0600'
'printim 06_0600.png x1600 y1200'
'clear'


'set t 7'
'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'
'set ccols 9 14 4 5 13 10 7 8 2 6'
'd hcurl(u,v)'
'draw map'
'run cbar.gs'
'draw title Tropical Storm Debby: 2006-08-06_1200'
'printim 06_1200.png x1600 y1200'
'clear'


'set t 8'
'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'
'set ccols 9 14 4 5 13 10 7 8 2 6'
'd hcurl(u,v)'
'draw map'
'run cbar.gs'
'draw title Tropical Storm Debby: 2006-08-06_1800'
'printim 06_1800.png x1600 y1200'
'clear'

*************************************************

'set t 9'
'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'
'set ccols 9 14 4 5 13 10 7 8 2 6'
'd hcurl(u,v)'
'draw map'
'run cbar.gs'
'draw title Tropical Storm Debby: 2006-08-07_0000'
'printim 07_0000.png x1600 y1200'
'clear'


'set t 10'
'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'
'set ccols 9 14 4 5 13 10 7 8 2 6'
'd hcurl(u,v)'
'draw map'
'run cbar.gs'
'draw title Tropical Storm Debby: 2006-08-07_0600'
'printim 07_0600.png x1600 y1200'
'clear'


'set t 11'
'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'
'set ccols 9 14 4 5 13 10 7 8 2 6'
'd hcurl(u,v)'
'draw map'
'run cbar.gs'
'draw title Tropical Storm Debby: 2006-08-07_1200'
'printim 07_1200.png x1600 y1200'
'clear'


'set t 12'
'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'
'set ccols 9 14 4 5 13 10 7 8 2 6'
'd hcurl(u,v)'
'draw map'
'run cbar.gs'
'draw title Tropical Storm Debby: 2006-08-07_1800'
'printim 07_1800.png x1600 y1200'
'clear'

*************************************************

'set t 13'
'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'
'set ccols 9 14 4 5 13 10 7 8 2 6'
'd hcurl(u,v)'
'draw map'
'run cbar.gs'
'draw title Tropical Storm Debby: 2006-08-08_0000'
'printim 08_0000.png x1600 y1200'
'clear'



'set t 14'
'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'
'set ccols 9 14 4 5 13 10 7 8 2 6'
'd hcurl(u,v)'
'draw map'
'run cbar.gs'
'draw title Tropical Storm Debby: 2006-08-08_0600'
'printim 08_0600.png x1600 y1200'
'clear'


'set t 15'
'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'
'set ccols 9 14 4 5 13 10 7 8 2 6'
'd hcurl(u,v)'
'draw map'
'run cbar.gs'
'draw title Tropical Storm Debby: 2006-08-08_1200'
'printim 08_1200.png x1600 y1200'
'clear'


'set t 16'
'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'
'set ccols 9 14 4 5 13 10 7 8 2 6'
'd hcurl(u,v)'
'draw map'
'run cbar.gs'
'draw title Tropical Storm Debby: 2006-08-08_1800'
'printim 08_1800.png x1600 y1200'
'clear'

*************************************************

'set t 17'
'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'
'set ccols 9 14 4 5 13 10 7 8 2 6'
'd hcurl(u,v)'
'draw map'
'run cbar.gs'
'draw title Tropical Storm Debby: 2006-08-09_0000'
'printim 09_0000.png x1600 y1200'
'clear'


'set t 18'
'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'
'set ccols 9 14 4 5 13 10 7 8 2 6'
'd hcurl(u,v)'
'draw map'
'run cbar.gs'
'draw title Tropical Storm Debby: 2006-08-09_0600'
'printim 09_0600.png x1600 y1200'
'clear'


'set t 19'
'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'
'set ccols 9 14 4 5 13 10 7 8 2 6'
'd hcurl(u,v)'
'draw map'
'run cbar.gs'
'draw title Tropical Storm Debby: 2006-08-09_1200'
'printim 09_1200.png x1600 y1200'
'clear'


'set t 20'
'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'
'set ccols 9 14 4 5 13 10 7 8 2 6'
'd hcurl(u,v)'
'draw map'
'run cbar.gs'
'draw title Tropical Storm Debby: 2006-08-09_1800'
'printim 09_1800.png x1600 y1200'
'clear'

*************************************************

'set t 21'
'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'
'set ccols 9 14 4 5 13 10 7 8 2 6'
'd hcurl(u,v)'
'draw map'
'run cbar.gs'
'draw title Tropical Storm Debby: 2006-08-10_0000'
'printim 10_0000.png x1600 y1200'
'clear'


'set t 22'
'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'
'set ccols 9 14 4 5 13 10 7 8 2 6'
'd hcurl(u,v)'
'draw map'
'run cbar.gs'
'draw title Tropical Storm Debby: 2006-08-10_0600'
'printim 10_0600.png x1600 y1200'
'clear'


'set t 23'
'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'
'set ccols 9 14 4 5 13 10 7 8 2 6'
'd hcurl(u,v)'
'draw map'
'run cbar.gs'
'draw title Tropical Storm Debby: 2006-08-10_1200'
'printim 10_1200.png x1600 y1200'
'clear'


'set t 24'
'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'
'set ccols 9 14 4 5 13 10 7 8 2 6'
'd hcurl(u,v)'
'draw map'
'run cbar.gs'
'draw title Tropical Storm Debby: 2006-08-10_1800'
'printim 10_1800.png x1600 y1200'
'clear'

************************************************

'set t 25'
'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'
'set ccols 9 14 4 5 13 10 7 8 2 6'
'd hcurl(u,v)'
'draw map'
'run cbar.gs'
'draw title Tropical Storm Debby: 2006-08-11_0000'
'printim 11_0000.png x1600 y1200'
'clear'


'set t 26'
'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'
'set ccols 9 14 4 5 13 10 7 8 2 6'
'd hcurl(u,v)'
'draw map'
'run cbar.gs'
'draw title Tropical Storm Debby: 2006-08-11_0600'
'printim 11_0600.png x1600 y1200'
'clear'


'set t 27'
'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'
'set ccols 9 14 4 5 13 10 7 8 2 6'
'd hcurl(u,v)'
'draw map'
'run cbar.gs'
'draw title Tropical Storm Debby: 2006-08-11_1200'
'printim 11_1200.png x1600 y1200'
'clear'


'set t 28'
'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'
'set ccols 9 14 4 5 13 10 7 8 2 6'
'd hcurl(u,v)'
'draw map'
'run cbar.gs'
'draw title Tropical Storm Debby: 2006-08-11_1800'
'printim 11_1800.png x1600 y1200'
'clear'

*************************************************

'set t 29'
'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'
'set ccols 9 14 4 5 13 10 7 8 2 6'
'd hcurl(u,v)'
'draw map'
'run cbar.gs'
'draw title Tropical Storm Debby: 2006-08-12_0000'
'printim 12_0000.png x1600 y1200'
'clear'


'set t 30'
'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'
'set ccols 9 14 4 5 13 10 7 8 2 6'
'd hcurl(u,v)'
'draw map'
'run cbar.gs'
'draw title Tropical Storm Debby: 2006-08-12_0600'
'printim 12_0600.png x1600 y1200'
'clear'


'set t 31'
'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'
'set ccols 9 14 4 5 13 10 7 8 2 6'
'd hcurl(u,v)'
'draw map'
'run cbar.gs'
'draw title Tropical Storm Debby: 2006-08-12_1200'
'printim 12_1200.png x1600 y1200'
'clear'


'set t 32'
'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'
'set ccols 9 14 4 5 13 10 7 8 2 6'
'd hcurl(u,v)'
'draw map'
'run cbar.gs'
'draw title Tropical Storm Debby: 2006-08-12_1800'
'printim 12_1800.png x1600 y1200'
'clear'

***************************************************

'set t 33'
'set clevs -9e-05 -06e-05 -3e-05 0 3e-05 6e-05 9e-05 0.00012 0.00015'
'set ccols 9 14 4 5 13 10 7 8 2 6'
'd hcurl(u,v)'
'draw map'
'run cbar.gs'
'draw title Tropical Storm Debby: 2006-08-13_0000'
'printim 13_0000.png x1600 y1200'
'clear'


On Wed, Aug 6, 2008 at 6:29 PM, Bill Bua <Bill.Bua at noaa.gov> wrote:

> set clab off (sets the contour labeling off so that #'s don't show up).
>
> Bill
>
> Dizzle Man wrote:
>
>> Excellent!, I have tried option two and that works fine. There is one
>> slight issue though. Is it possible to remove the numbers that come up
>> on the display when I use contour plotting. They kind of get in the
>> way when I am observing my data. Also in option 1, what do the min and
>> max represent in set gxout stat?
>>
>> On Tue, Aug 5, 2008 at 2:38 PM, Austin Conaty
>> <Austin.L.Conaty at nasa.gov <mailto:Austin.L.Conaty at nasa.gov>> wrote:
>>
>>    One possible solution is to
>>    1) set gxout stat
>>    2) loop through the data and capture min and max
>>    3) using the min/max info, use the same set ccols and
>>      set clevs commands before each display
>>    4) set gxout shaded and plot.
>>
>>    Or, if you're happy with the color and shading used in the first
>>    time period
>>    another possible solution is to
>>    1) set t 1
>>    2) set gxout shaded
>>    3) d relvort
>>    4) q shades
>>    5) set ccols and set clevs according to info returned
>>      by q shades.
>>
>>
>>    Eric Altshuler wrote:
>>
>>        That is odd because in my experience it is in animations that
>>        contouring and color schemes can be ill-suited to the data
>>        being plotted. That's because whatever contouring scheme is
>>        used (or chosen by grads) for the first frame, is also applied
>>        to all the remaining frames so as to ensure the same
>>        contouring scheme for the whole animation. This can be a
>>        problem, though, if the data field being animated changes a
>>        lot during the animation (e.g. a rapidly intensifying hurricane).
>>
>>        When your are plotting each time step individually, grads
>>        chooses the contouring/color scheme separately for each step
>>        unless you set it yourself. In this situation, if the
>>        character of the data field changes significantly in time,
>>        grads will choose new contouring schemes to suit the data at
>>        each time step. The disadvantage here is that the contouring
>>        scheme is not consistent across all frames. It's a tradeoff.
>>
>>        How are you doing your animations? Are you setting T to vary
>>        and plotting the variable, or have you set up a script loop to
>>        display one time step, sleep for some interval, advance T and
>>        then display the next time step? The behavior of animations
>>        using these two methods can be quite different.
>>
>>        ----- Original Message -----
>>        From: "Dizzle Man" <selfscience06 at GMAIL.COM
>>        <mailto:selfscience06 at GMAIL.COM>>
>>        To: GRADSUSR at LIST.CINECA.IT <mailto:GRADSUSR at LIST.CINECA.IT>
>>        Sent: Saturday, August 2, 2008 1:28:03 PM GMT -05:00 US/Canada
>>        Eastern
>>        Subject: Relative Vorticity Contouring
>>
>>        Hello Everyone,
>>
>>        I am doing a plots for relative voricity [hcurl(u,v)].  The
>>        issue that I am
>>        having is when I run my animation I get a beautiful sequence
>>        of images, so
>>        when I begin the plot each time step individually I do not
>>        receive that same
>>        contouring intervals that is displayed in the animation. Its
>>        like the
>>        individual plotting loses coloring, but that animation gives
>>        me what I am
>>        looking for. Does this make sense? I was wondering how can I
>>        maintain the
>>        color sequence that the animation gives for individual time
>>        step plotting?
>>
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20080806/af43a025/attachment.html 


More information about the gradsusr mailing list