[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20021127: fint/fline problem in gdplot2 - GEMPAK



John,

To explicitly set the FINT to the FLINE, you can use:

 FINT     =        !             ! 988;992;996;1000;1004
 FLINE    = 28;0;27;0;26;0

To answer your other assertion: 
Yes, when specifying contour ranges and int/min/max, where
min or max is outside the range of the data, you would
end up with moving assignments since the fline colors
will start at the minimum contour value, instead of
the specified min value.

Steve Chiswell
Unidata User Support





>From: John Merrill <address@hidden>
>Organization: University of Rhode Island
>Keywords: 200211271631.gARGVS416284

>This is a multi-part message in MIME format.
>--------------87A37A6584129DC356B24559
>Content-Type: multipart/alternative;
> boundary="------------49DADB09DC049D7D44770A57"
>
>
>--------------49DADB09DC049D7D44770A57
>Content-Type: text/plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>
>Hello, Steve:
>    I continue to be flummoxed in trying to assign fixed colors in a
>contour fill. In the third column of the
>attached restore file I seek to fill low-ish areas of the MSL pressure.
>As you see, I'm alternating colors
>with a blank fill, and want/expect a maximum of three filled colors. I
>chose the lower and upper limits
>based on examination of a few analyses at adjacent times. I can
>understand the contour filling routine
>having a problem when there are no contours to fill, I guess. But when
>the actual minimum in garea
>falls above my stated low limit for contour filling, it seems that the
>routine shifts the entire distribution
>up. Sometimes this results in a non-blank fill color spilling out onto
>the high-ish presssure areas, which
>I certainly don't want. Is there a way to force the assignment of the
>fill colors to the specific contour
>intervals? I believe I tried listing interval boundaries as well,
>instead using the interval/min/max protocol.
>I must be missing something, because it seems this shouln't be a
>difficult thing to do. I'm beginning to think
>I'll have to set something up for cases where there won't be any valid
>contour intervals to fill, but I hope I
>can get the fill colors fixed on pressure intervals
>otherwise....                John
>
>--
>
>John Merrill                                     Telephone:  401-874-6715
>Graduate School of Oceanography, URI             Fax:        401-874-6898
>
>
>
>--------------49DADB09DC049D7D44770A57
>Content-Type: text/html; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>
><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
><html>
>Hello, Steve:
><br>&nbsp;&nbsp;&nbsp; I continue to be flummoxed in trying to assign fixed
>colors in a contour fill. In the third column of the
><br>attached restore file I seek to fill low-ish areas of the MSL pressure.
>As you see, I'm alternating colors
><br>with a blank fill, and want/expect a maximum of three filled colors.
>I chose the lower and upper limits
><br>based on examination of a few analyses at adjacent times. I can understand
>the contour filling routine
><br>having a problem when there are no contours to fill, I guess. But when
>the actual minimum in garea
><br>falls above my stated low limit for contour filling, it seems that
>the routine shifts the entire distribution
><br>up. Sometimes this results in a non-blank fill color spilling out onto
>the high-ish presssure areas, which
><br>I certainly don't want. Is there a way to force the assignment of the
>fill colors to the specific contour
><br>intervals? I believe I tried listing interval boundaries as well, instead
>using the interval/min/max protocol.
><br>I must be missing something, because it seems this shouln't be a difficult
>thing to do. I'm beginning to think
><br>I'll have to set something up for cases where there won't be any valid
>contour intervals to fill, but I hope I
><br>can get the fill colors fixed on pressure intervals otherwise....&nbsp;&nb
> sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
> bsp;
>John
><pre>--&nbsp;
>
>John Merrill&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
> ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Tel
> ephone:&nbsp; 401-874-6715
>Graduate School of Oceanography, URI&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Fax:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
>  401-874-6898</pre>
>&nbsp;</html>
>
>--------------49DADB09DC049D7D44770A57--
>
>--------------87A37A6584129DC356B24559
>Content-Type: text/plain; charset=us-ascii;
> name="500_mslcomposite"
>Content-Transfer-Encoding: 7bit
>Content-Disposition: inline;
> filename="500_mslcomposite"
>
>!
>! Restore File : 500_mslcomposite
>!
>! Log:
>! J. Merrill            7/02   Initial creation; based on 500mb_hght_absv
>!
>gdattim first
>garea   20;85;60;150
>LATLON  1/2/1//15;15
>GLEVEL  500              !500          !0 
>GVCORD  pres             !             !none
>PANEL   0           
>SKIP    0                !0            !0    
>SCALE   5                !-1           !0   
>GDPFUN  abs(avor(wnd))   !sm5s(hght)   !sm5s(pmsl)
>TYPE    c                !c            !c/f
>CONTUR  1                !2            !2    
>CINT    4/4/8            !6            !4/988/1028
>LINE    18/5/2/2         !5/1/2/2      !25/1/2/2
>!       Dkorange 4 Rel Yellow for 500Lt blue for 
>!       Vort < 0       Heights       heights 
>FINT                     !             !4/988/1004
>FLINE                    !             !28;0;27;0;26;0/2
>!Unfilled for <16; dkgreen-red for 16-44.
>HILO    2;6/X;N/10-99;10-99!0 
>HLSYM             
>CLRBAR  1/v/ll/.025;.5/.35;.015/1 !   !1/v/ll/.025;.15;/.28;.015/1 
>WIND    
>REFVEC      
>TITLE   31/-1/~ 500hPa Height; Abs Vort Maxima; MSL P !0
>TEXT    1/21//hw            
>CLEAR   yes                
>STNPLT                  
>SATFIL                 
>RADFIL                
>STREAM              
>POSN    4          
>COLORS  2         
>MARKER  2    
>GRDLBL  5                            
>LUTFIL  none
>FILTER  yes
>
>--------------87A37A6584129DC356B24559--
>