ifpimage

15
Sept. 24-27, 200 2 ifpIMAGE 1 ifpIMAGE ifpIMAGE Deb Miller

Upload: saniya

Post on 13-Jan-2016

24 views

Category:

Documents


0 download

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 Presentation

TRANSCRIPT

Page 1: ifpIMAGE

Sept. 24-27, 2002 ifpIMAGE 1

ifpIMAGEifpIMAGE

Deb Miller

Page 2: ifpIMAGE

Sept. 24-27, 2002 ifpIMAGE 2

AgendaAgenda

IntroductionConfiguration FileExecutionCommand Line OptionsGotchasTipsRecent Changes

Page 3: ifpIMAGE

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

Page 4: ifpIMAGE

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.

Page 5: ifpIMAGE

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)

Page 6: ifpIMAGE

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

Page 7: ifpIMAGE

Sept. 24-27, 2002 ifpIMAGE 7

GotchasGotchas

"SITE" vs. User Configuration File Creation

Png Image Size'lx1' to 'lx2' Creation Issues

Page 8: ifpIMAGE

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.

Page 9: ifpIMAGE

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)

Page 10: ifpIMAGE

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

Page 11: ifpIMAGE

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

?

Page 12: ifpIMAGE

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.

Page 13: ifpIMAGE

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.

Page 14: ifpIMAGE

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

Page 15: ifpIMAGE

Sept. 24-27, 2002 ifpIMAGE 15

Smooth Clipped Smooth Clipped AreasAreas

Smoothed Clipped AreaFit-to- Data Zoom Enabled to Clipped Area Logo & Logo String