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

20000628: sfcntr



Clint,

I put together a tar file for a program called sfcntr which will contour
1 of the SFPARM parameters in sfmap. 

This program behaves like oagrid in calculating a mean station spacing
for determining kx;ky (not user specified), and then will grid the parameter
defined by CNTRPRM (which must be one of hte parameters listed in SFPARM).
If you do not want to plot the sfparm values, then set COLOR for that
plotting parameter to 0.

Other parameters are similar to oabsfc and gdcntr (npass, gamma, weight,
cint, line).

If you have a chance, see if this solves your quest for such a program.

Building instructions:
download ~gbuddy/nawips-5.4/contrib/sfcntr.tar.Z into $NAWIPS

Unpack the tarfile with "zcat sfcntr.tar.Z | tar xvf -

Then build and install with:

cd $GEMPAKHOME/source/programs/sf/sfcntr
make clean 
make all
make install
make clean

Usage example:
 AREA      Data area                         dset
 GAREA     Graphics area                     uslcc
 SATFIL    Satellite image filename(s)       
 RADFIL    Radar image filename(s)           
 SFPARM    Surface parameter list            tmpf
 DATTIM    Date/time                         1200
 SFFILE    Surface data file                 $SAO/20000628_sao.gem
 COLORS    Color list                        3
 MAP       Map color/dash/width              6
 LATLON    Line color/dash/width/label/inc   0
 MARKER    Marker color/type/size/width/hw   0
 TITLE     Title color/line/title            1/-1
 CLEAR     Clear screen flag                 y
 PANEL     Panel loc/color/dash/width/regn   0
 DEVICE    Device|name|x size;y size|color   xw
 PROJ      Map projection/angles/margins|dr  lcc
 FILTER    Filter data factor                0
 TEXT      Text size/font/width/hw flag      .5/21/1/hw
 SKPMIS    Skip missing data flag            NO
 LUTFIL    Enhancement lookup table filenam  default
 STNPLT    Txc|mkc/mkt/mks/mkwd/hwfl|stnfil  
 CNTRPRM   Parameter to contour              tmpf
 GAMMA     Barnes Weighting parameter        .3
 WEIGHT    Barnes Search Radius              50
 LINE      Line color/type/width             5/1/1
 CONTUR    subbox/smooth                     3/3
 NPASS     Number of barnes passes           2
 CINT      contour interval                  5

Chiz



Steve Chiswell
Unidata User Support