The GIF/PNG graphical product generation software uses the gfe
configuration
file to define the weather elements, clipping, colors, etc. Refer
to the ifpIMAGE product generation guide for more details on how the
configuration
file is used.
|
|
|
|
PNG Local Time Legend | NO | YES | |
PNG Image Size | NO | YES | |
PNG Weather Element to be Displayed as an Image | NO | YES | |
PNG Image Data Smoothing and Smooth Clipping | YES | YES | This is only applicable for scalar and vector weather elements. Do not enable this in a normal GFE configuration file since the performance of the GFE will be unacceptable. |
PNG Weather Elements to be Displayed | NO | YES | |
PNG Legend Display | NO | YES | |
PNG Weather Element Name | NO | YES | |
PNG Alternative Weather Element Name | NO | YES | |
PNG Legend Formats | NO | YES | |
PNG Filename Prefix | NO | YES | |
PNG Filename Format | NO | YES | |
PNG Interval and Interval Offset | NO | YES | |
PNG Fit To Data Area | NO | YES | |
PNG Logo and Logo String | NO | YES | |
PNG Legend Language | NO | YES | Can use "french" and "spanish". |
PNG ColorBar Removal | NO | YES | |
PNG Zoom Disable | NO | YES | |
PNG History Mask | NO | YES | |
PNG Info Files | NO | YES | |
PNG Snapshot Time | NO | YES | Used typically with Png_interval. |
PNG File Type | NO | YES |
Legends display mode 0 for UTC, 1 for local time. Do not include a decimal point after the number.
Png_localTime = 1
You can set the height and width (in pixels) for the Png images. It is only necessary to set one of these, as the other will be calculated using the aspect ratio of your office domain. Do not include decimal points after the numbers. Both default to 400.
Png_height = 400
Png_width = 400
If specified with the environment variable below, the weather element will be displayed as an image in the png. If nothing is specified here, then all weather elements will be displayed as a graphic. For non-surface based elements, the format is weatherElementName_level_image.
Png_image = 'T'
PNG Image Data Smoothing and Smooth Clipping
Data Smoothing, and Smooth Clipping options are available for Png images. The Png_smoothImage indicates if the Png image displayed should be smoothed (1 = smoothing enabled, 0 = smoothing disabled). Note that smoothing will only apply to scalar and vector images. The Png_smoothClip (1 = enabled, 0= disabled) provides smoothing clipping to the edit area mask defined in display filter .
Png_smoothImage = 0
Png_smoothClip = 0
The following rules apply if both Png_smoothImage and Png_smoothClip
are used.
|
|
|
|
|
|
|
No data smoothing, no smooth clipping |
|
|
|
No data smoothing, clipped to the pixel level of the display filter (mask) indicated, uses the nearest "grid box" for the data |
|
|
|
Data smoothing, clipped to the pixel level of the display filter (mask) indicated, uses bi-linear interpolation for the data values |
|
|
|
Data smoothing, clipped to the pixel level of the display filter (mask) indicated, uses bi-linear interpolation for the data values |
|
|
|
No data smoothing, no smooth clipping |
|
|
|
No data smoothing, clipped to the pixel level of the display filter (mask) indicated, uses the nearest "grid box" for the data |
|
|
|
No data smoothing, no smooth clipping |
|
|
|
No data smoothing, clipped to the pixel level of the display filter (mask) indicated, uses the nearest "grid box" for the data |
The format of each entry is a coded weather element identifier in
the
following format:
"parmName_level:optType_modelName seq". For example, to display the
QPF surface field for the Official database, the entry would be:
"QPF_SFC:_Official
-1"
Png_parms = ['FzLevel_SFC:_Fcst -1', 'Sky_SFC:_Fcst -1',
'QPF_SFC:_Fcst
-1']
The legend that appears on the PNG image can be enabled or disabled. By default it is enabled.
This variable allows the ability to turn on/off legends for the graphic generation. It applies only to graphic product generation and not the GFE. It defaults to 'on' if it is not specified. Do not include a decimal point after the number.
Png_legend = 1
The applicable legend weather element name modes are 'SHORT' for
weather
element name,
LONG for weather element descriptive name, ALT for alternate,
and OFF for no name.
Png_descriptiveWeName = 'SHORT'
These entries define the weather element name to be displayed based on the weather element name (e.g., "T"). The string format is Png_WxElem_AltName. (For non surface-based weather elements, the format is Png_WxElem_Level_AltName.) For example, Png_MaxT_AltName = "Highs" will display "Highs" for the Wx element name rather than "MaxT" or "Maximum Temperature". If it is not defined and 'ALT' is set, then the weather element name will be the 'SHORT' name.
Png_MaxT_AltName = "Highs"
%a | Locale's abbreviated weekday name. |
%A | Locale's full weekday name. |
%b | Locale's abbreviated month name. |
%B | Locale's full month name. |
%c | Locale's appropriate date and time representation. |
%C | The century number (the year divided by 100 and truncated to an integer) as a decimal number [00-99]. |
%d | Day of the month as a decimal number [01,31]. |
%D | Equivalent to the directive string %m/%d/%y. |
%e | Day of the month as a decimal number [1,31], a single digit is preceded by a space. |
%h | Equivalent to %b. |
%H | Hour (24-hour clock) as a decimal number [00,23]. |
%I | Hour (12-hour clock) as a decimal number [01,12]. |
%j | Day of the year as a decimal number [001,366]. |
%m | Month as a decimal number [01,12]. |
%M | Minute as a decimal number [00,59]. |
%n | The New-line character. |
%p | Locale's equivalent of either AM or PM. |
%r | The time in AM and PM notation; in the POSIX locale this is equivalent to %I:%M:%S %p. |
%R | The time in 24 hour notation (%H:%M). |
%S | Second as a decimal number [00,61]. |
%t | The Tab character. |
%T | The time in hours, minutes, and seconds (%H:%M:%S). |
%u | The weekday as a decimal number [1(Monday),7]. |
%U | Week number of the year (Sunday as the first day of the week) as a decimal number [00,53]. All days in a new year preceding the first Sunday are considered to be in week 0. |
%V | The week number of the year (Monday as the first day of the week) as a decimal number [01,53]. If the week containing January 1st has four or more days in the new year, then it is considered week 1; otherwise, it is week 53 of the previous year, and the next week is week 1. |
%w | Weekday as a decimal number [0(Sunday),6]. |
%W | Week number of the year (Monday as the first day of the week) as a decimal number [00,53]. All days in a new year preceding the first Monday are considered to be in week 0. |
%x | Locale's appropriate date representation. |
%X | Locale's appropriate time representation. |
%y | Year without century as a decimal number [00,99]. |
%Y | Year with century as a decimal number. |
%Z | Time zone name (or by no characters if no time zone exists). |
%% | The percent (%) character. |
In addition to the above list, there are special entries that are substituted: [UNITS] can be substituted for the units for the weather element. Be sure to include the braces. For example, if you wanted the local time string to be displayed like Maximum Temperature (F) 12 hours Ending Wed Mar 3, 2000 6:00 PM MST, then the format strings would be set up to be:
Png_legendFormat_LT_dur = "([UNITS]) %H hours "
Png_legendFormat_LT_start = ""
Png_legendFormat_LT_end = "Ending %a %b %d, %Y %I:%M %p
%Z"
If the duration, start time, or ending time is not desired, then the
entry should be set to "". Note that there are separate entries
for
Zulu and LocalTime. The duration formats
can use the %H (hours) %M (minutes) formats.
Png_legendFormat_Zulu_dur = ""
Png_legendFormat_Zulu_start = "%b %d %H%MZ to "
Png_legendFormat_Zulu_end = "%b %d %H%MZ"
Png_legendFormat_LT_dur = ""
Png_legendFormat_LT_start = "%b %d %I:%M %p %Z"
Png_legendFormat_LT_end = "%b %d %I:%M %p %Z"
If Png_snapshotTime is enabled, then the single time depicted in the legend is the calculated snapshot time (typically based on Png_interval and Png_intervalOffset). In this case, there are other legend format configuration file entries that are used:
Png_legendFormat_LT_snapshot = "%b %d %I:%M %p %Z"
Png_legendFormat_Zulu_snapshot = "%b %d %H%MZ"
Png_filenamePrefix = 'Wind_Sky_'
The date/time string can also be changed to a base time and relative
offset from the absolute time. See the ifpIMAGE
User's Manual section on date/time
string configuration.
Png_baseTimeFormat = "%d%H"
If the time of the file is 20010509_1800, then the filename would be
0918.png. See the ifpIMAGE User's Manual
section on date/time
string
configuration.
By default, png images are generated for each and every possible change in the generated grids. For example, if you are generating a grid for T and WaveHeight, and the T is a one hour grid and the WaveHeight a 6 hour grid, that starts at the same time (e.g., 12z), two different images will be generated. The first will have T and WaveHeight together and will be time stamped to 12z; the second will just have WaveHeight and will be time stamped to 13z. This is identical behavior to running the GFE with multiple visible weather elements.
You can override this behavior for the creation of the Png imagery by specifying an interval for which to generate imagery. The interval is specified in hours. Setting the value to 6 will generate grids at 00z, 06z, 12z, and 18z, assuming there is data available to generate the imagery. The configuration line to set the generation to every 6 hours is shown below:
Png_interval = 6
To generate images that begin at a starting time other than 00z, you can specify an interval offset using a configuration option. For example, specifying an interval offset of 1 and an interval of 6 (i.e., Png_interval = 6) will generate images at 01z, 07z, 13z and 19z. The default for Png_intervalOffset is 0.
Png_intervalOffset = 1
Png_fitToDataArea = "BOU"
If Png_logo is set to 1, then a bar containing the noaa and nws logos will be inserted at the bottom of the image.
Png_logo = 0
If Png_logo is enabled, then Png_logoString can be set to a string
you
would
like to have in the "logo bar". The string will be centered in
the bar.
Png_logoString = ""
Png_legendLanguage = "spanish"
Png_omitColorBar = 0
Png_wholeDomain = 0
Png_historyMask = 1
Png_infoFiles = 1
Png_snapshotTime = 1
Png_fileType = 'png'