This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hi Sarah, I don't have an answer for you yet, but will look at it again today and see if I can find something. Thing is, grphgd uses a VGF file as input, allows user modifications and additions, then converts it to a grid. So if you want probability contours of 6, 7, 8%, etc., you'll need to draw them yourself while in step 4. I think this may be the reason I wasn't sure where to go with your question before. grphgd will not create the contours itself, only convert a user-generated VGF file into a grid file. Michael > Hi Michael, > > Just wondering if you had any suggestions about my problem with contouring > continuous probabilities for SPC severe weather outlooks. > > It might be easier to use AWIPS (GFE) for this function; it's just at the > national centers, we use NAWIPS. We are supposed to switch over to AWIPS2 > though, at some point. > > Sarah > > > > On Mon, Oct 1, 2012 at 10:13 AM, Sarah Taylor <address@hidden> wrote: > > > > > Hi Michael, > > > > I am using the nmap2 product generation to invoke graph to grid. > > > > http://www.unidata.ucar.edu/software/gempak/tutorial/nmap_pgen_grid.html > > It's step 5. > > > > Then, here is how a "normal" probability file looks. These settings will > > produce a graphic that looks like this: > > http://www.spc.noaa.gov/products/outlook/day1probotlk_1300_wind.gif > > > > What I want is to have continuous probabilities, where the grphgd program > > would contour the 5, 6, 7, 8, 9, 10, 11, 12, 13,14% probabilities between > > the 5 and 15% contour lines. > > > > So here are the settings from where I started editing: > > > > gdoutf= wind.grd > > > > maxgrd= 10 > > > > glevel= 0 > > > > keycol=0 > > > > histgrd= yes > > > > type=f > > > > catmat= 5%=5; 10%=10; 15%=15; 30%=30; 45%=45 > > > > dlines= yes > > > > fint= 5; 10; 15; 30; 45; 60 > > > > clrbar= 1 > > > > gglims= 0; 0 || 0.0 > > > > bounds = outlook < area < outlook > > > > discrete= -5=0; 5-9=5; 10-14=10; 15-29=15; 30-44=30; > > > > fline= 0; 11; 12; 13; 15; 14; 16 > > > > gfunc=probwind > > > > gvcord= none > > > > > > --------------------------------------------------------- > > > > Those are the settings, again for this file: > > http://www.spc.noaa.gov/products/outlook/day1probotlk_1300_wind.gif > > > > I've tried tweaking the cint parameter... > > > > cint= 5; 6; 7; 8; 9; 10; > > > > This just cluster line contours around the 5% line... > > > > I've tried tweaking the fint parameter in the same way: > > > > fint= 5; 6;7;8;9;10; > > > > There are different fill colors, but they are clustered around the 5 or > > 15% lines, not smoothly spaced out. > > > > I tried setting discrete = (blank) > > > > This just allows other areas of the conus, not in a probability contour to > > "bleed" out. > > > > > > > > Good luck - and hope this makes some sense- > > > > Thanks, > > Sarah > > > > > > > > > > address@hidden> wrote: > > > >> Hi Sarah, > >> > >> I received the VGF files and gave them a try but didn't get far before > >> getting lost in some other work :) > >> > >> I assume you are running grphgd from the command line? What are you > >> using for GFUNC, GDATTIM, GVCORD and GLEVEL? Can you copy/paste the GRPHGD > >> variables as you're using them? This is probably just an issue with how > >> variables are defined in the program and not with your files, but in any > >> case, I need to try to reproduce exactly what you're doing to see if I can > >> tweak it some and get it to work. > >> > >> Michael > >> > >> > >> > Hi Michael, > >> > > >> > Were you able to receive the .gem files I sent you on Monday? > >> > > >> > Thanks! > >> > > >> > Sarah > >> > > >> > >> Ticket Details > >> =================== > >> Ticket ID: WDB-634752 > >> Department: Support GEMPAK > >> Priority: Normal > >> Status: Open > >> > >> > > > > Ticket Details =================== Ticket ID: WDB-634752 Department: Support GEMPAK Priority: Critical Status: Open