1 / 15

ifpIMAGE

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

saniya
Download Presentation

ifpIMAGE

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ifpIMAGE • Deb Miller ifpIMAGE

  2. Agenda • Introduction • Configuration File • Execution • Command Line Options • Gotchas • Tips • Recent Changes ifpIMAGE

  3. Introduction • 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 ifpIMAGE

  4. IfpIMAGE Configuration File • ifpIMAGE configuration files should be SITE-based • Creation is done through the GFE main menu. ifpIMAGE

  5. Running 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) ifpIMAGE

  6. Mandatory Switches Limits range of creation Command 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) ifpIMAGE

  7. Gotchas • "SITE" vs. User Configuration File Creation • Png Image Size • 'lx1' to 'lx2' Creation Issues ifpIMAGE

  8. Png Image Generation • Png_width = 400, Png_height = 400 • The 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. ifpIMAGE

  9. '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) ifpIMAGE

  10. lx1 lx2 ifpIMAGE ifpIMAGE /awips/GFESuite/data/products/IMAGE /awips/GFESuite/data/products/IMAGE ds1 /data/adapt/GFESuite/products ? 'lx1', 'lx2' Creation Issues ifpIMAGE

  11. BASE gfeConfig (BASE) SITE T_Image (SITE) awipsusr MaxT_Image (awipsusr) 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 ? ifpIMAGE Can’t see MaxT_Image ifpIMAGE

  12. gfeConfig Tip… siteImage • For ease of modification and efficiency we recommend that you create a hierarchical configuration scheme for ifpIMAGE weather element configuration files. T_image Wind_Image ifpIMAGE

  13. 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. ifpIMAGE

  14. 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 Recent Changes ifpIMAGE

  15. Smooth Clipped Areas • Smoothed Clipped Area • Fit-to- Data • Zoom Enabled to Clipped Area • Logo & Logo String ifpIMAGE

More Related