frontplot
Sections
NAME
frontplot - Front data plotting
SYNOPSIS
frontplot [parameters...] filename
PARAMETERS
Command Line | Resource | Default | Description |
---|---|---|---|
-h | help | No | Lists basic help information. |
-df=filename | default | wxp.cfg | Sets the name of the resource file. |
-na=name | name | frontplot | Specifies the name used in resource file parsing. |
-me=level | message | out2 | Specifies level of messages to be displayed |
-fp=path | file_path | the current directory | Specifies location of database files. |
-dp=path | data_path | the current directory | Specifies the location of the input raw data files. |
-cp=path | con_path | the current directory | Specifies location of decoded/converted data files |
-ip=path | image_path | the current directory | Specifies location of output image files (.gif/,png) from WXP. |
-nc=name_conv | name_conv | name.cnv or name_conv file | This sets which name convention file to use. |
-if=in_file | in_file | frt_dat or frf_dat for forecasts | Specifies the input file name tag. |
-mf=filename... | map_file | wxp.map | Specifies the name of the map database file. Multiple maps can be specified along with attributes to describe how to draw the map. |
-cu=[hour] | current | none | This specifies to use current data files. |
-ho=hour | hour | none | Specifies the exact hour that a data file is valid for. |
-nh=hours[,skip] | num_hour | Value Generally 0 | Specifies the number of hours worth of data to use in the program |
-tz=zone_name | timezone | UTC | Sets timezone used in date labels |
-ft=time | time | none | Sets the forecast time for forecast fronts. |
-pd=domain | plot_domain | program dependent, mostly "us" | Sets the plotting domain |
-sc=type | plot_scale | 1.0 | Specifies a scaling factor for all plotted text, symbols, vectors, etc. |
-pa=param[,param...] | parameter | none | Sets additional parameters:
|
-dr=value[,value...] | draw | all | Specifies which part of the plot is to be drawn. |
-la=type | label | Program defaults | Specifies the labels to be plotted around the plot. By default, labels are generated by the program and plotted above and below the plot. This resource overrides these labels. |
-fl=font_file[,font_file...] | font_list | modern.fnt | Specifies a list of fonts to use in the plots. |
-ct=color_table | color_table | wxp.clr | Specifies the color table to use in the plot. This maps color names to actual RGB color values. |
-col=color[:attribute...] | color_label | white (black on inverse plots) | Specifies the text color for labels above and below the plot. |
-cod=color[:attribute...] | color_data | green (for most programs) | Specifies the color for plotted data. |
-cofr=color[:attribute...],... | color_front | blue:we=2,red:we=2,blue:wi=2,red:wi=2, magenta:wi=2,brown:wi=2,lgray,white | Specifies the color for fronts |
-com=color[:attribute...] | color_map | red (for most programs) | Specifies the color for background maps. |
-coll=color[:attribute...] | color_latlon | magenta:st=dsh | Specifies the color for lat/lon lines. |
-de=device[,parameters] | device | d for display | Specifies the output device. |
-ti=title | title | The name of the program or the value of the name resource | Specifies the window title. |
-ic | icon | off | Specifies whether to open window in iconified mode. |
-bg=color | background | black | Specifies the background color of the window. |
-ge=widthxheight[+x+y] | geometry | 640x512 (for windowed plots) | Specifies the window and paper geometry. |
filename (positional) | filename | none | Specify input filename |
DESCRIPTION
This program will plot coded front data in the ASUS01 and FSUS01 products. The resrc:time resource can be used to access the forecast fronts. The in_file also can be used to access the forecast fronts. High and Low pressure centers along with cold, warm, stationary and occluded fronts and troughs are plotted. The colors are controlled by the resrc:color_data or resrc:color_front resource. The colors are comma separated and represent the following:
Index | Type | Description | Default |
---|---|---|---|
1 | High | High pressure center | blue:we=2 |
2 | Low | Low pressure center | red:we=2 |
3 | Cold | Cold fronts | blue:wi=2 |
4 | Warm | Warm fronts | red:wi=2 |
5 | Occluded | Occluded fronts | magenta:wi=2 |
6 | Trofs | Troughs | brown:wi=2 |
7 | Misc | Misc data | lgray |
8 | Label | Labels for highs and lows | white |
The fronts are drawn using a cubic spline smoothing. Barbs are then added to the fronts. Troughs are drawn as dashed lines.
EXAMPLES
frontplot
This plots the latest frontal analysisfrontplot -ft=24
This plots the latest 24 hour forecast frontal positions
FILES
SEE ALSO
Last updated October 2013