ifpimage
DESCRIPTION
ifpIMAGE. Deb Miller. Agenda. Introduction Configuration File Execution Command Line Options Gotchas Tips Recent Changes. Introduction. ifpIMAGE used to generate PNG imagery of grids from the GFESuite Anything displayable on GFE spatial editor can become a PNG image - PowerPoint PPT PresentationTRANSCRIPT
Sept. 24-27, 2002 ifpIMAGE 1
ifpIMAGEifpIMAGE
Deb Miller
Sept. 24-27, 2002 ifpIMAGE 2
AgendaAgenda
IntroductionConfiguration FileExecutionCommand Line OptionsGotchasTipsRecent Changes
Sept. 24-27, 2002 ifpIMAGE 3
IntroductionIntroduction ifpIMAGE used to generate
PNG imagery of grids from the GFESuite
Anything displayable on GFE spatial editor can become a PNG image
ifpIMAGE is actually the GFE running a special background with a special configuration file
Sept. 24-27, 2002 ifpIMAGE 4
IfpIMAGE Configuration FileIfpIMAGE Configuration FileifpIMAGE
configuration files should be SITE-based
Creation is done through the GFE main menu.
Sept. 24-27, 2002 ifpIMAGE 5
Running ifpIMAGERunning ifpIMAGE
Product->Generate Products...->Png Images Remember to publish your grids before using
this method to start the ifpIMAGE It is suggested that you customize this menu for
convenience and efficiency
Command line (including scripts)
Sept. 24-27, 2002 ifpIMAGE 6
Command Line OptionsCommand Line Options
Command line running options: -c configName -o outputDirName -b baseTime (yyyymmdd_hhmm format) -s startTime (yyyymmdd_hhmm format) -e endTime (yyyymmdd_hhmm format) -t userDefinedNamedTimeRange -u username (overrides SITE default)
Mandatory Switches
Limits range of creation
Sept. 24-27, 2002 ifpIMAGE 7
GotchasGotchas
"SITE" vs. User Configuration File Creation
Png Image Size'lx1' to 'lx2' Creation Issues
Sept. 24-27, 2002 ifpIMAGE 8
Png Image GenerationPng Image Generation
Png_width = 400, Png_height = 400The image pane is square. Width is the
reference dimension; height includes additional 'real estate' for the color bar and logo bar. Thus, if both width and height are set, width is used to calculate the height. If only height is supplied, expect the width to be smaller than your height input.
Sept. 24-27, 2002 ifpIMAGE 9
'lx1', 'lx2' Creation Issues'lx1', 'lx2' Creation Issues
'lx1', 'lx2' directory structures are independent All ifpIMAGE configuration files are created via
the GFE on that machine. Output products go to data/products/IMAGE on
the machine it ran on. To see your output on either machine, redirect
your output to a common directory (e.g., a mounted NFS ds directory with the -o option)
Sept. 24-27, 2002 ifpIMAGE 10
'lx1', 'lx2' Creation Issues'lx1', 'lx2' Creation Issueslx1
/awips/GFESuite/data/products/IMAGE
lx2
/awips/GFESuite/data/products/IMAGE
ds1
/data/adapt/GFESuite/products ?
ifpIMAGEifpIMAGE
Sept. 24-27, 2002 ifpIMAGE 11
SITE
awipsusr
BASE
Gotchas – “SITE”Gotchas – “SITE”
ifpIMAGE uses, by default, the “SITE” configuration files.. If you log into the GFE as a user and create a config file, then run ifpIMAGE, no images will be generated. -u option overrides this
default
T_Image(SITE)
MaxT_Image(awipsusr)
gfeConfig(BASE)
ifpIMAGECan’t see MaxT_Image
?
Sept. 24-27, 2002 ifpIMAGE 12
gfeConfig
siteImage
Wind_Image
T_image
Tip…Tip…For ease of
modification and efficiency we recommend that you create a hierarchical configuration scheme for ifpIMAGE weather element configuration files.
Sept. 24-27, 2002 ifpIMAGE 13
Tip...Tip...To test your new ifpIMAGE configuration
file, run it from the GFE StartUp Menu. If it has been hidden, just type in the name.
This will help avoid unproductive ifpIMAGE script runs due to syntax errors in your configuration files.
If a syntax error is in your config file, a dialog will popup indicating the location of the problem.
Not everything can be tested from GFE, e.g., Png_parms.
Sept. 24-27, 2002 ifpIMAGE 14
Recent ChangesRecent Changes
Hide the ifpIMAGE Config. File
Fit-to-Data Choices Bounded Area for Wx Add’l Wx Coverage
Fill Patterns Image Smoothing –
clipped to exact boundary
Alt. Weather Element Name
Filename Prefix Filename Format Logo and Logo String Legend Language History Mask Info Files Zoom Disable
Sept. 24-27, 2002 ifpIMAGE 15
Smooth Clipped Smooth Clipped AreasAreas
Smoothed Clipped AreaFit-to- Data Zoom Enabled to Clipped Area Logo & Logo String