2017-07-07 17:54:00 -07:00
<!DOCTYPE html>
< html class = "no-js" >
< head >
< meta charset = "utf-8" >
< meta name = "viewport" content = "width=device-width,initial-scale=1" >
< meta name = "description" content = "Documentation for all things AWIPS." >
< link rel = "canonical" href = "http://unidata.github.io/awips2/edex/new-grid/" >
2020-06-04 22:53:23 +00:00
< meta name = "author" content = "support-awips@unidata.ucar.edu" >
2017-07-07 17:54:00 -07:00
< link rel = "shortcut icon" href = "../../images/favicon.ico" >
2018-09-19 13:52:37 -07:00
< meta name = "generator" content = "mkdocs-0.17.5, mkdocs-unidata-1.5.4" >
2017-07-07 17:54:00 -07:00
< title > Ingest a New Grid - Unidata AWIPS User Manual< / title >
< script src = "../../assets/javascripts/modernizr-56ade86843.js" > < / script >
< link rel = "stylesheet" href = "../../assets/stylesheets/application-b1a1975878.css" >
< link rel = "stylesheet" href = "../../assets/stylesheets/application-f78e5cb881.palette.css" >
< link rel = "stylesheet" href = "https://fonts.googleapis.com/css?family=Roboto:300,400,400i,700|Roboto+Mono" >
< style > body , input { font-family : "Roboto" , "Helvetica Neue" , Helvetica , Arial , sans-serif } code , kbd , pre { font-family : "Roboto Mono" , "Courier New" , Courier , monospace } < / style >
< link rel = "stylesheet" href = "https://fonts.googleapis.com/icon?family=Material+Icons" >
< link rel = "stylesheet" href = "../../css/extra.css" >
< / head >
< body data-md-color-primary = "blue-grey" data-md-color-accent = "light-blue" >
< svg class = "md-svg" >
< defs >
< svg xmlns = "http://www.w3.org/2000/svg" width = "416" height = "448" viewBox = "0 0 416 448" id = "github" > < path fill = "currentColor" d = "M160 304q0 10-3.125 20.5t-10.75 19T128 352t-18.125-8.5-10.75-19T96 304t3.125-20.5 10.75-19T128 256t18.125 8.5 10.75 19T160 304zm160 0q0 10-3.125 20.5t-10.75 19T288 352t-18.125-8.5-10.75-19T256 304t3.125-20.5 10.75-19T288 256t18.125 8.5 10.75 19T320 304zm40 0q0-30-17.25-51T296 232q-10.25 0-48.75 5.25Q229.5 240 208 240t-39.25-2.75Q130.75 232 120 232q-29.5 0-46.75 21T56 304q0 22 8 38.375t20.25 25.75 30.5 15 35 7.375 37.25 1.75h42q20.5 0 37.25-1.75t35-7.375 30.5-15 20.25-25.75T360 304zm56-44q0 51.75-15.25 82.75-9.5 19.25-26.375 33.25t-35.25 21.5-42.5 11.875-42.875 5.5T212 416q-19.5 0-35.5-.75t-36.875-3.125-38.125-7.5-34.25-12.875T37 371.5t-21.5-28.75Q0 312 0 260q0-59.25 34-99-6.75-20.5-6.75-42.5 0-29 12.75-54.5 27 0 47.5 9.875t47.25 30.875Q171.5 96 212 96q37 0 70 8 26.25-20.5 46.75-30.25T376 64q12.75 25.5 12.75 54.5 0 21.75-6.75 42 34 40 34 99.5z" / > < / svg >
< / defs >
< / svg >
< input class = "md-toggle" data-md-toggle = "drawer" type = "checkbox" id = "drawer" >
< input class = "md-toggle" data-md-toggle = "search" type = "checkbox" id = "search" >
< label class = "md-overlay" data-md-component = "overlay" for = "drawer" > < / label >
< header class = "md-header" data-md-component = "header" >
< nav class = "md-header-nav md-grid" >
< a href = "../.." > < div class = "background-logo" style = "background-image: url(../../images/cave.png);" > < / div >
< div class = "md-flex" >
< div class = "md-flex__cell md-flex__cell--shrink" >
< a href = "../.." title = "Unidata AWIPS User Manual" class = "md-icon md-icon--home md-header-nav__button" >
< / a >
< / div >
< div class = "md-flex__cell md-flex__cell--shrink" >
< label class = "md-icon md-icon--menu md-header-nav__button" for = "drawer" > < / label >
< / div >
< div class = "md-flex__cell md-flex__cell--stretch" >
< span class = "md-flex__ellipsis md-header-nav__title" >
2017-09-26 20:27:20 -07:00
< span class = "md-header-nav__parent" >
EDEX User Manual
< / span >
Ingest a New Grid
2017-07-07 17:54:00 -07:00
< / span >
< / div >
< div class = "md-flex__cell md-flex__cell--shrink" >
< label class = "md-icon md-icon--search md-header-nav__button" for = "search" > < / label >
2017-09-27 11:24:37 -07:00
< div class = "md-search" data-md-component = "search" role = "dialog" >
< label class = "md-search__overlay" for = "search" > < / label >
2017-07-07 17:54:00 -07:00
< div class = "md-search__inner" >
< form class = "md-search__form" name = "search" >
2017-09-27 11:24:37 -07:00
< input type = "text" class = "md-search__input" name = "query" required placeholder = "Search" autocapitalize = "off" autocorrect = "off" autocomplete = "off" spellcheck = "false" data-md-component = "query" >
2017-07-07 17:54:00 -07:00
< label class = "md-icon md-search__icon" for = "search" > < / label >
2017-09-27 11:24:37 -07:00
< button type = "reset" class = "md-icon md-search__icon" data-md-component = "reset" >  < / button >
2017-07-07 17:54:00 -07:00
< / form >
< div class = "md-search__output" >
< div class = "md-search__scrollwrap" data-md-scrollfix >
2017-09-27 11:24:37 -07:00
< div class = "md-search-result" data-md-component = "result" data-md-lang-search = "" data-md-lang-tokenizer = "[\s\-]+" >
2017-07-07 17:54:00 -07:00
< div class = "md-search-result__meta" data-md-lang-result-none = "No matching documents" data-md-lang-result-one = "1 matching document" data-md-lang-result-other = "# matching documents" >
Type to start searching
< / div >
< ol class = "md-search-result__list" > < / ol >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< div class = "md-flex__cell md-flex__cell--shrink" >
< div class = "md-header-nav__source" >
2018-09-19 13:52:37 -07:00
< a href = "https://github.com/Unidata/awips2/" title = "Go to repository" class = "md-source" data-md-source = "github" >
2017-07-07 17:54:00 -07:00
< div class = "md-source__icon" >
< svg viewBox = "0 0 24 24" width = "24" height = "24" >
< use xlink:href = "#github" width = "24" height = "24" > < / use >
< / svg >
< / div >
< div class = "md-source__repository" >
GitHub
< / div >
< / a >
< / div >
< / div >
< / div >
< / nav >
< / header >
< div class = "md-container" >
< main class = "md-main" >
< div class = "md-main__inner md-grid" data-md-component = "container" >
< div class = "md-sidebar md-sidebar--primary" data-md-component = "navigation" >
< div class = "md-sidebar__scrollwrap" >
< div class = "md-sidebar__inner" >
< nav class = "md-nav md-nav--primary" data-md-level = "0" >
< label class = "md-nav__title md-nav__title--site" for = "drawer" >
2017-09-27 11:24:37 -07:00
< div class = "md-nav__button md-logo" >
< i class = "md-icon md-icon--home" > < / i >
< / div >
2017-07-07 17:54:00 -07:00
Unidata AWIPS User Manual
< / label >
< div class = "md-nav__source" >
2018-09-19 13:52:37 -07:00
< a href = "https://github.com/Unidata/awips2/" title = "Go to repository" class = "md-source" data-md-source = "github" >
2017-07-07 17:54:00 -07:00
< div class = "md-source__icon" >
< svg viewBox = "0 0 24 24" width = "24" height = "24" >
< use xlink:href = "#github" width = "24" height = "24" > < / use >
< / svg >
< / div >
< div class = "md-source__repository" >
GitHub
< / div >
< / a >
< / div >
< ul class = "md-nav__list" data-md-scrollfix >
< li class = "md-nav__item" >
< a href = "../.." title = "Home" class = "md-nav__link" >
Home
< / a >
< / li >
< li class = "md-nav__item" >
< a href = "../../install/install-cave/" title = "Install CAVE" class = "md-nav__link" >
Install CAVE
< / a >
< / li >
< li class = "md-nav__item" >
< a href = "../../install/install-edex/" title = "Install EDEX" class = "md-nav__link" >
Install EDEX
< / a >
< / li >
2020-06-22 22:13:20 +00:00
< li class = "md-nav__item" >
< a href = "../../install/common-problems/" title = "Common Problems" class = "md-nav__link" >
Common Problems
< / a >
< / li >
2017-07-07 17:54:00 -07:00
< li class = "md-nav__item md-nav__item--nested" >
2020-06-22 22:13:20 +00:00
< input class = "md-toggle md-nav__toggle" data-md-toggle = "nav-5" type = "checkbox" id = "nav-5" >
2017-07-07 17:54:00 -07:00
2020-06-22 22:13:20 +00:00
< label class = "md-nav__link" for = "nav-5" >
2017-07-07 17:54:00 -07:00
CAVE User Manual
< / label >
< nav class = "md-nav" data-md-component = "collapsible" data-md-level = "1" >
2020-06-22 22:13:20 +00:00
< label class = "md-nav__title" for = "nav-5" >
2017-07-07 17:54:00 -07:00
CAVE User Manual
< / label >
< ul class = "md-nav__list" data-md-scrollfix >
< li class = "md-nav__item" >
< a href = "../../cave/d2d-perspective/" title = "D2D Perspective" class = "md-nav__link" >
D2D Perspective
< / a >
< / li >
< li class = "md-nav__item" >
< a href = "../../cave/maps-views-projections/" title = "Maps, Views, Projections" class = "md-nav__link" >
Maps, Views, Projections
< / a >
< / li >
< li class = "md-nav__item" >
< a href = "../../cave/bundles-and-procedures/" title = "Bundles and Procedures" class = "md-nav__link" >
Bundles and Procedures
< / a >
< / li >
< li class = "md-nav__item" >
< a href = "../../cave/localization-perspective/" title = "Localization Perspective" class = "md-nav__link" >
Localization Perspective
< / a >
< / li >
< li class = "md-nav__item" >
< a href = "../../cave/nsharp/" title = "NSHARP" class = "md-nav__link" >
NSHARP
< / a >
< / li >
< li class = "md-nav__item" >
< a href = "../../cave/warngen/" title = "WarnGen Walkthrough" class = "md-nav__link" >
WarnGen Walkthrough
< / a >
< / li >
< li class = "md-nav__item" >
2019-03-21 14:54:16 -07:00
< a href = "../../cave/goes-16-satellite/" title = "GOES 16/17" class = "md-nav__link" >
GOES 16/17
2017-07-07 17:54:00 -07:00
< / a >
< / li >
< li class = "md-nav__item" >
< a href = "../../cave/d2d-gridded-models/" title = "Volume Browser" class = "md-nav__link" >
Volume Browser
< / a >
< / li >
< li class = "md-nav__item" >
< a href = "../../cave/d2d-tools/" title = "Display Tools" class = "md-nav__link" >
Display Tools
< / a >
< / li >
< li class = "md-nav__item" >
< a href = "../../cave/d2d-radar-tools/" title = "Radar Tools" class = "md-nav__link" >
Radar Tools
< / a >
< / li >
< li class = "md-nav__item" >
< a href = "../../cave/d2d-edit-menus/" title = "Editing Menus" class = "md-nav__link" >
Editing Menus
< / a >
< / li >
< li class = "md-nav__item" >
< a href = "../../cave/cave-localization/" title = "Change Localization" class = "md-nav__link" >
Change Localization
< / a >
< / li >
2018-08-03 11:47:52 -07:00
< li class = "md-nav__item" >
< a href = "../../cave/import-export/" title = "Import/Export" class = "md-nav__link" >
Import/Export
< / a >
< / li >
2017-07-07 17:54:00 -07:00
< / ul >
< / nav >
< / li >
< li class = "md-nav__item md-nav__item--active md-nav__item--nested" >
2020-06-22 22:13:20 +00:00
< input class = "md-toggle md-nav__toggle" data-md-toggle = "nav-6" type = "checkbox" id = "nav-6" checked >
2017-07-07 17:54:00 -07:00
2020-06-22 22:13:20 +00:00
< label class = "md-nav__link" for = "nav-6" >
2017-07-07 17:54:00 -07:00
EDEX User Manual
< / label >
< nav class = "md-nav" data-md-component = "collapsible" data-md-level = "1" >
2020-06-22 22:13:20 +00:00
< label class = "md-nav__title" for = "nav-6" >
2017-07-07 17:54:00 -07:00
EDEX User Manual
< / label >
< ul class = "md-nav__list" data-md-scrollfix >
2017-09-26 20:27:20 -07:00
< li class = "md-nav__item" >
2020-06-30 20:45:56 +00:00
< a href = "../../install/start-edex/" title = "EDEX Basic Commands" class = "md-nav__link" >
EDEX Basic Commands
2017-09-26 20:27:20 -07:00
< / a >
< / li >
2017-07-07 17:54:00 -07:00
< li class = "md-nav__item" >
2018-08-03 11:47:52 -07:00
< a href = "../settings/" title = "EDEX Settings" class = "md-nav__link" >
EDEX Settings
< / a >
< / li >
< li class = "md-nav__item" >
< a href = "../distributed-computing/" title = "Distributed EDEX" class = "md-nav__link" >
Distributed EDEX
2017-07-07 17:54:00 -07:00
< / a >
< / li >
2018-09-28 09:12:06 -07:00
< li class = "md-nav__item" >
< a href = "../edex-ingest-docker-container/" title = "Docker EDEX" class = "md-nav__link" >
Docker EDEX
< / a >
< / li >
2017-07-07 17:54:00 -07:00
< li class = "md-nav__item" >
< a href = "../ldm/" title = "LDM Feeds" class = "md-nav__link" >
LDM Feeds
< / a >
< / li >
< li class = "md-nav__item" >
< a href = "../data-distribution-files/" title = "Data Distribution Files" class = "md-nav__link" >
Data Distribution Files
< / a >
< / li >
< li class = "md-nav__item md-nav__item--active" >
< input class = "md-toggle md-nav__toggle" data-md-toggle = "toc" type = "checkbox" id = "toc" >
2020-07-21 17:44:14 +00:00
2017-07-07 17:54:00 -07:00
< label class = "md-nav__link md-nav__link--active" for = "toc" >
Ingest a New Grid
< / label >
< a href = "./" title = "Ingest a New Grid" class = "md-nav__link md-nav__link--active" >
Ingest a New Grid
< / a >
< nav class = "md-nav md-nav--secondary" >
2020-07-21 17:44:14 +00:00
2017-07-07 17:54:00 -07:00
< label class = "md-nav__title" for = "toc" > Table of contents< / label >
< ul class = "md-nav__list" data-md-scrollfix >
< li class = "md-nav__item" >
< a href = "#ingest-an-unsupported-grid" title = "Ingest an Unsupported Grid" class = "md-nav__link" >
Ingest an Unsupported Grid
< / a >
2020-07-21 17:44:14 +00:00
< nav class = "md-nav" >
< ul class = "md-nav__list" >
< li class = "md-nav__item" >
< a href = "#grib-products" title = "Grib Products" class = "md-nav__link" >
Grib Products
< / a >
< / li >
< li class = "md-nav__item" >
< a href = "#grib2-products" title = "Grib2 Products" class = "md-nav__link" >
Grib2 Products
< / a >
< / li >
< / ul >
< / nav >
2017-07-07 17:54:00 -07:00
< / li >
< li class = "md-nav__item" >
< a href = "#determine-grid-projection" title = "Determine Grid Projection" class = "md-nav__link" >
Determine Grid Projection
< / a >
2020-07-21 17:44:14 +00:00
< nav class = "md-nav" >
< ul class = "md-nav__list" >
< li class = "md-nav__item" >
< a href = "#grib-products_1" title = "Grib Products" class = "md-nav__link" >
Grib Products
< / a >
< / li >
< li class = "md-nav__item" >
< a href = "#grib2-products_1" title = "Grib2 Products" class = "md-nav__link" >
Grib2 Products
< / a >
< / li >
< / ul >
< / nav >
2017-07-07 17:54:00 -07:00
< / li >
< li class = "md-nav__item" >
< a href = "#create-grid-projection-file" title = "Create Grid Projection File" class = "md-nav__link" >
Create Grid Projection File
< / a >
2020-07-21 17:44:14 +00:00
< nav class = "md-nav" >
< ul class = "md-nav__list" >
< li class = "md-nav__item" >
< a href = "#grib-products_2" title = "Grib Products" class = "md-nav__link" >
Grib Products
< / a >
< / li >
< li class = "md-nav__item" >
< a href = "#grib2-products_2" title = "Grib2 Products" class = "md-nav__link" >
Grib2 Products
< / a >
< / li >
< / ul >
< / nav >
2017-07-07 17:54:00 -07:00
< / li >
< li class = "md-nav__item" >
< a href = "#create-model-definition" title = "Create Model Definition" class = "md-nav__link" >
Create Model Definition
< / a >
2020-07-21 17:44:14 +00:00
< nav class = "md-nav" >
< ul class = "md-nav__list" >
< li class = "md-nav__item" >
< a href = "#grid-prodcuts" title = "Grid Prodcuts" class = "md-nav__link" >
Grid Prodcuts
< / a >
< / li >
< li class = "md-nav__item" >
< a href = "#grib2-products_3" title = "Grib2 Products" class = "md-nav__link" >
Grib2 Products
< / a >
< / li >
< / ul >
< / nav >
< / li >
< li class = "md-nav__item" >
< a href = "#adding-a-table" title = "Adding a Table" class = "md-nav__link" >
Adding a Table
< / a >
< nav class = "md-nav" >
< ul class = "md-nav__list" >
< li class = "md-nav__item" >
< a href = "#grib-products_3" title = "Grib products" class = "md-nav__link" >
Grib products
< / a >
< / li >
< li class = "md-nav__item" >
< a href = "#grib2-products_4" title = "Grib2 Products" class = "md-nav__link" >
Grib2 Products
< / a >
< / li >
< / ul >
< / nav >
2017-07-07 17:54:00 -07:00
< / li >
< li class = "md-nav__item" >
< a href = "#troubleshooting-grib-ingest" title = "Troubleshooting Grib Ingest" class = "md-nav__link" >
Troubleshooting Grib Ingest
< / a >
< / li >
< / ul >
< / nav >
< / li >
< li class = "md-nav__item" >
< a href = "../data-purge/" title = "Purging and Retention" class = "md-nav__link" >
Purging and Retention
< / a >
< / li >
< li class = "md-nav__item" >
< a href = "../edex-users/" title = "Monitor Users" class = "md-nav__link" >
Monitor Users
< / a >
< / li >
< li class = "md-nav__item" >
< a href = "../data-plugins/" title = "Data Plugins" class = "md-nav__link" >
Data Plugins
< / a >
< / li >
2017-10-25 12:51:10 -07:00
< li class = "md-nav__item" >
< a href = "../case-studies/" title = "Archive Case Studies" class = "md-nav__link" >
Archive Case Studies
< / a >
< / li >
2017-07-07 17:54:00 -07:00
< / ul >
< / nav >
< / li >
< li class = "md-nav__item" >
2021-02-25 17:53:31 +00:00
< a href = "../../python/overview/" title = "Python-AWIPS" class = "md-nav__link" >
Python-AWIPS
2017-07-07 17:54:00 -07:00
< / a >
< / li >
2017-08-14 10:18:50 -07:00
< li class = "md-nav__item" >
2021-02-25 17:53:31 +00:00
< a href = "../../dev/awips-development-environment/" title = "Development" class = "md-nav__link" >
Development
2017-08-14 10:18:50 -07:00
< / a >
< / li >
2017-07-07 17:54:00 -07:00
< li class = "md-nav__item md-nav__item--nested" >
2020-07-28 20:39:11 +00:00
< input class = "md-toggle md-nav__toggle" data-md-toggle = "nav-9" type = "checkbox" id = "nav-9" >
2017-07-07 17:54:00 -07:00
2020-07-28 20:39:11 +00:00
< label class = "md-nav__link" for = "nav-9" >
2017-07-07 17:54:00 -07:00
Appendix
< / label >
< nav class = "md-nav" data-md-component = "collapsible" data-md-level = "1" >
2020-07-28 20:39:11 +00:00
< label class = "md-nav__title" for = "nav-9" >
2017-07-07 17:54:00 -07:00
Appendix
< / label >
< ul class = "md-nav__list" data-md-scrollfix >
< li class = "md-nav__item" >
< a href = "../../appendix/appendix-grid-parameters/" title = "AWIPS Grid Parameters" class = "md-nav__link" >
AWIPS Grid Parameters
< / a >
< / li >
2019-02-06 10:17:32 -07:00
< li class = "md-nav__item" >
< a href = "../../python/maps-database/" title = "Maps Database" class = "md-nav__link" >
Maps Database
< / a >
< / li >
2017-07-07 17:54:00 -07:00
< li class = "md-nav__item" >
< a href = "../../appendix/appendix-acronyms/" title = "Acronyms and Abbreviations" class = "md-nav__link" >
Acronyms and Abbreviations
< / a >
< / li >
< li class = "md-nav__item" >
< a href = "../../appendix/appendix-wsr88d/" title = "WSR-88D Product Table" class = "md-nav__link" >
WSR-88D Product Table
< / a >
< / li >
< li class = "md-nav__item" >
< a href = "../../cave/cave-keyboard-shortcuts/" title = "Keyboard Shortcuts" class = "md-nav__link" >
Keyboard Shortcuts
< / a >
< / li >
2020-12-11 21:11:12 +00:00
< li class = "md-nav__item" >
< a href = "../../raytheon/cave_d2d/" title = "Raytheon: CAVE User's Manual" class = "md-nav__link" >
Raytheon: CAVE User's Manual
< / a >
< / li >
< li class = "md-nav__item" >
< a href = "../../raytheon/smm/" title = "Raytheon: AWIPS System Manager's Manual" class = "md-nav__link" >
Raytheon: AWIPS System Manager's Manual
< / a >
< / li >
2017-07-07 17:54:00 -07:00
< / ul >
< / nav >
< / li >
< / ul >
< / nav >
< / div >
< / div >
< / div >
< div class = "md-sidebar md-sidebar--secondary" data-md-component = "toc" >
< div class = "md-sidebar__scrollwrap" >
< div class = "md-sidebar__inner" >
< nav class = "md-nav md-nav--secondary" >
2020-07-21 17:44:14 +00:00
2017-07-07 17:54:00 -07:00
< label class = "md-nav__title" for = "toc" > Table of contents< / label >
< ul class = "md-nav__list" data-md-scrollfix >
< li class = "md-nav__item" >
< a href = "#ingest-an-unsupported-grid" title = "Ingest an Unsupported Grid" class = "md-nav__link" >
Ingest an Unsupported Grid
< / a >
2020-07-21 17:44:14 +00:00
< nav class = "md-nav" >
< ul class = "md-nav__list" >
< li class = "md-nav__item" >
< a href = "#grib-products" title = "Grib Products" class = "md-nav__link" >
Grib Products
< / a >
< / li >
< li class = "md-nav__item" >
< a href = "#grib2-products" title = "Grib2 Products" class = "md-nav__link" >
Grib2 Products
< / a >
< / li >
< / ul >
< / nav >
2017-07-07 17:54:00 -07:00
< / li >
< li class = "md-nav__item" >
< a href = "#determine-grid-projection" title = "Determine Grid Projection" class = "md-nav__link" >
Determine Grid Projection
< / a >
2020-07-21 17:44:14 +00:00
< nav class = "md-nav" >
< ul class = "md-nav__list" >
< li class = "md-nav__item" >
< a href = "#grib-products_1" title = "Grib Products" class = "md-nav__link" >
Grib Products
< / a >
< / li >
< li class = "md-nav__item" >
< a href = "#grib2-products_1" title = "Grib2 Products" class = "md-nav__link" >
Grib2 Products
< / a >
< / li >
< / ul >
< / nav >
2017-07-07 17:54:00 -07:00
< / li >
< li class = "md-nav__item" >
< a href = "#create-grid-projection-file" title = "Create Grid Projection File" class = "md-nav__link" >
Create Grid Projection File
< / a >
2020-07-21 17:44:14 +00:00
< nav class = "md-nav" >
< ul class = "md-nav__list" >
< li class = "md-nav__item" >
< a href = "#grib-products_2" title = "Grib Products" class = "md-nav__link" >
Grib Products
< / a >
< / li >
< li class = "md-nav__item" >
< a href = "#grib2-products_2" title = "Grib2 Products" class = "md-nav__link" >
Grib2 Products
< / a >
< / li >
< / ul >
< / nav >
2017-07-07 17:54:00 -07:00
< / li >
< li class = "md-nav__item" >
< a href = "#create-model-definition" title = "Create Model Definition" class = "md-nav__link" >
Create Model Definition
< / a >
2020-07-21 17:44:14 +00:00
< nav class = "md-nav" >
< ul class = "md-nav__list" >
< li class = "md-nav__item" >
< a href = "#grid-prodcuts" title = "Grid Prodcuts" class = "md-nav__link" >
Grid Prodcuts
< / a >
< / li >
< li class = "md-nav__item" >
< a href = "#grib2-products_3" title = "Grib2 Products" class = "md-nav__link" >
Grib2 Products
< / a >
< / li >
< / ul >
< / nav >
< / li >
< li class = "md-nav__item" >
< a href = "#adding-a-table" title = "Adding a Table" class = "md-nav__link" >
Adding a Table
< / a >
< nav class = "md-nav" >
< ul class = "md-nav__list" >
< li class = "md-nav__item" >
< a href = "#grib-products_3" title = "Grib products" class = "md-nav__link" >
Grib products
< / a >
< / li >
< li class = "md-nav__item" >
< a href = "#grib2-products_4" title = "Grib2 Products" class = "md-nav__link" >
Grib2 Products
< / a >
< / li >
< / ul >
< / nav >
2017-07-07 17:54:00 -07:00
< / li >
< li class = "md-nav__item" >
< a href = "#troubleshooting-grib-ingest" title = "Troubleshooting Grib Ingest" class = "md-nav__link" >
Troubleshooting Grib Ingest
< / a >
< / li >
< / ul >
< / nav >
< / div >
< / div >
< / div >
< div class = "md-content" >
< article class = "md-content__inner md-typeset" >
2018-07-30 11:05:17 -07:00
< a href = "https://github.com/Unidata/awips2/edit/unidata_18.1.1/docs/edex/new-grid.md" title = "Edit this page" class = "md-icon md-content__icon" > edit< / a >
2017-07-07 17:54:00 -07:00
2020-07-21 17:44:14 +00:00
< h1 id = "ingest-a-new-grid" > Ingest a New Grid< a class = "headerlink" href = "#ingest-a-new-grid" title = "Permanent link" > < / a > < / h1 >
< p > Unrecognized grids can be decoded by EDEX simply by dropping < code > *.grib< / code > or < code > *.grib2< / code > files into < code > /awips2/data_store/ingest/< / code > < / p >
2017-07-07 17:54:00 -07:00
< p > To add support for a new grid, two edits must be made:< / p >
< ul >
2020-07-21 17:44:14 +00:00
< li > < strong > Geospatial projection< / strong > must be defined in a < a href = "#create-grid-projection-file" > < strong > < em > grid navigation file< / em > < / strong > < / a > < / li >
< li > < strong > Grid name< / strong > , < strong > center< / strong > , < strong > subcenter< / strong > , and < strong > process ID< / strong > must be defined in a < a href = "#create-model-definition" > < strong > < em > model definition file< / em > < / strong > < / a > < / li >
< / ul >
< p > If the parameters in the grib file haven't been previously specified, another change < em > may< / em > be needed as well:< / p >
< ul >
< li > < strong > Center< / strong > , < strong > subcenter< / strong > , < strong > discipline< / strong > , < strong > category< / strong > , and possibly < strong > parameter ID< / strong > information may need to be defined in a < a href = "#adding-a-table" > < strong > < em > table< / em > < / strong > < / a > < / li >
2017-07-07 17:54:00 -07:00
< / ul >
2020-07-21 17:44:14 +00:00
< hr / >
2017-07-07 17:54:00 -07:00
< h2 id = "ingest-an-unsupported-grid" > Ingest an Unsupported Grid< a class = "headerlink" href = "#ingest-an-unsupported-grid" title = "Permanent link" > < / a > < / h2 >
2020-07-21 17:44:14 +00:00
< h3 id = "grib-products" > Grib Products< a class = "headerlink" href = "#grib-products" title = "Permanent link" > < / a > < / h3 >
2017-07-07 17:54:00 -07:00
< ol >
< li >
< p > Download an example grib1 file and rename to a < code > *.grib< / code > extension, then copy to the manual ingest point < code > /awips2/data_store/ingest/< / code > < / p >
2020-07-21 17:44:14 +00:00
< pre > < code > wget https://www.unidata.ucar.edu/software/awips2/14102318_nmm_d01.GrbF00600 -O wrf.grib
2017-07-07 17:54:00 -07:00
cp wrf.grib /awips2/data_store/ingest/
< / code > < / pre >
2020-07-21 17:44:14 +00:00
< p > Remember that the data distribution file (< code > /awips2/edex/data/utility/common_static/base/distribution/grib.xml< / code > ) will match filenames which have the < code > *.grib*< / code > extension.< / p >
2017-07-07 17:54:00 -07:00
< / li >
< li >
< p > Confirm that the grib file decodes in the grib log file:< / p >
< pre > < code > edex log grib
INFO [Ingest.GribDecode] /awips2/data_store/ingest/grib/20141026/14/wrf.grib processed in: 0.1200 (sec) Latency: 21.8080 (sec)
INFO [Ingest.GribDecode] /awips2/data_store/ingest/grib/20141026/14/wrf.grib processed in: 0.1180 (sec) Latency: 21.8140 (sec)
INFO [Ingest.GribDecode] /awips2/data_store/ingest/grib/20141026/14/wrf.grib processed in: 0.4230 (sec) Latency: 21.8360 (sec)
INFO [Ingest.GribDecode] /awips2/data_store/ingest/grib/20141026/14/wrf.grib processed in: 0.2240 (sec) Latency: 21.9140 (sec)
...
< / code > < / pre >
< / li >
< li >
< p > Check that the hdf5 data directory exists for our unnamed grid< / p >
< pre > < code > ls -latr /awips2/edex/data/hdf5/grid/GribModel:7:0:89
< / code > < / pre >
< p > Though the grib file has been decoded, it has been given a generic name with its center, subcenter, and process IDs (7, 0, 89, respectively). < / p >
< / li >
< / ol >
2020-07-21 17:44:14 +00:00
< h3 id = "grib2-products" > Grib2 Products< a class = "headerlink" href = "#grib2-products" title = "Permanent link" > < / a > < / h3 >
< ol >
< li >
< p > Download an example grib2 file and rename to a < code > *.grib2< / code > extension, then copy to the manual ingest point < code > /awips2/data_store/ingest/< / code > < / p >
< pre > < code > wget https://www.unidata.ucar.edu/software/awips2/CPTI_00.50_20180502-000144.grib2 -O cpti.grib2
cp cpti.grib2 /awips2/data_store/ingest/
< / code > < / pre >
< p > Remember that the data distribution file (< code > /awips2/edex/data/utility/common_static/base/distribution/grib.xml< / code > ) will match filenames which have the < code > *.grib*< / code > extension.< / p >
< / li >
< li >
< p > Confirm that the grib file decodes in the grib log file:< / p >
< pre > < code > edex log grib
INFO [Ingest.GribDecode] /awips2/data_store/ingest/cpti.grib2 processed in: 0.1200 (sec) Latency: 21.8080 (sec)
INFO [Ingest.GribDecode] /awips2/data_store/ingest/cpti.grib2 processed in: 0.1180 (sec) Latency: 21.8140 (sec)
INFO [Ingest.GribDecode] /awips2/data_store/ingest/cpti.grib2 processed in: 0.4230 (sec) Latency: 21.8360 (sec)
INFO [Ingest.GribDecode] /awips2/data_store/ingest/cpti.grib2 processed in: 0.2240 (sec) Latency: 21.9140 (sec)
...
< / code > < / pre >
< p > < strong > Note:< / strong > This step will likely fail, because the parameter is not yet defined. The error will look like:< / p >
< pre > < code > INFO 2020-07-20 20:34:17,710 2565 [GribPersist-1] GridDao: EDEX - Discarding record due to missing or unknown parameter mapping: /grid/2018-05-02_00:01:44.0_(0)/GribModel:161:0:97/null/null/403/Missing/FH/500.0/-999999.0
INFO 2020-07-20 20:34:17,710 2566 [GribPersist-1] Ingest: EDEX: Ingest - grib2:: /awips2/data_store/ingest/CPTI_00.50_20180502-000144.grib2 processed in: 2.3550 (sec)
INFO 2020-07-20 20:34:17,827 2567 [Ingest.GribDecode-6] grib: EDEX - No parameter information for center[161], subcenter[0], tableName[4.2.209.3], parameter value[61]
< / code > < / pre >
< p > In order to successfully ingest the example file, < a href = "#grib2-products_4" > < strong > define the appropriate table< / strong > < / a > .< / p >
< / li >
< li >
< p > Check that the hdf5 data directory exists for our unnamed grid< / p >
< pre > < code > ls -latr /awips2/edex/data/hdf5/grid/GribModel:161:0:97
< / code > < / pre >
< p > Though the grib file has been decoded, it has been given a generic name with its center, subcenter, and process IDs (161, 0, 97, respectively). < / p >
< / li >
< / ol >
< hr / >
2017-07-07 17:54:00 -07:00
< h2 id = "determine-grid-projection" > Determine Grid Projection< a class = "headerlink" href = "#determine-grid-projection" title = "Permanent link" > < / a > < / h2 >
2020-07-21 17:44:14 +00:00
< h3 id = "grib-products_1" > Grib Products< a class = "headerlink" href = "#grib-products_1" title = "Permanent link" > < / a > < / h3 >
2017-07-07 17:54:00 -07:00
< p > When the grid was ingested a record was added to the < code > grid_coverage< / code > table with its navigation information:< / p >
< pre > < code > psql metadata
metadata=# select nx,ny,dx,dy,majoraxis,minoraxis,la1,lo1,lov,latin1,latin2 from gridcoverage where id=(select distinct(location_id) from grid_info where datasetid='GribModel:7:0:89');
nx | ny | dx | dy | majoraxis | minoraxis | la1 | lo1 | lov | latin1 | latin2
-----+-----+------------------+------------------+-----------+-----------+------------------+-------------------+-------------------+------------------+------------------
201 | 155 | 4.29699993133545 | 4.29699993133545 | 6378160 | 6356775 | 42.2830009460449 | -72.3610000610352 | -67.0770034790039 | 45.3680000305176 | 45.3680000305176
(1 row)
< / code > < / pre >
2020-11-04 22:34:44 +00:00
< p > Compare with the projection info returned by wgrib on the original file (look at the bolded sections below and make sure they match up with the corresponding entries returned from the database above):< / p >
2020-07-21 17:44:14 +00:00
<!--
Using html for this code block so that certain sections within the code can be emphasized (bolded)
-->
< pre >
2020-11-04 22:34:44 +00:00
wgrib -V wrf.grib
2017-07-07 17:54:00 -07:00
rec 799:27785754:date 2014102318 ALBDO kpds5=84 kpds6=1 kpds7=0 levels=(0,0) grid=255 sfc 6hr fcst: bitmap: 736 undef
ALBDO=Albedo [%]
2020-07-21 17:44:14 +00:00
timerange 0 P1 6 P2 0 TimeU 1 < b > nx 201 ny 155< / b > GDS grid 3 num_in_ave 0 missing 0
2017-07-07 17:54:00 -07:00
center 7 subcenter 0 process 89 Table 2 scan: WE:SN winds(grid)
2020-07-21 17:44:14 +00:00
< b > Lambert Conf: Lat1 42.283000 Lon1 -72.361000 Lov -67.077000< / b >
< b > Latin1 45.368000 Latin2 45.368000< / b > LatSP 0.000000 LonSP 0.000000
North Pole (201 x 155) < b > Dx 4.297000 Dy 4.297000< / b > scan 64 mode 8
2017-07-07 17:54:00 -07:00
min/max data 5 21.9 num bits 8 BDS_Ref 50 DecScale 1 BinScale 0
2020-11-04 22:34:44 +00:00
< / pre >
2020-07-21 17:44:14 +00:00
< p > Notice that our grib file has a < strong > Lambert Conformal< / strong > projection. We will need these values for the next step. Note that < strong > there is a tolerance of +/- 0.1 degrees< / strong > to keep in mind when defining your coverage area.< / p >
< h3 id = "grib2-products_1" > Grib2 Products< a class = "headerlink" href = "#grib2-products_1" title = "Permanent link" > < / a > < / h3 >
< p > When the grid was ingested a record was added to the < code > grid_coverage< / code > table with its navigation information:< / p >
< pre > < code > psql metadata
metadata=# select nx,ny,dx,dy,majoraxis,minoraxis,la1,lo1,lov,latin1,latin2 from gridcoverage where id=(select distinct(location_id) from grid_info where datasetid='GribModel:161:0:97');
nx | ny | dx | dy | majoraxis | minoraxis | la1 | lo1 | lov | latin1 | latin2
-----+-----+-------+-------+-----------+-----------+-----------+-----+-----+--------+--------
600 | 640 | 0.005 | 0.005 | | | 40.799999 | 261 | | |
(1 row)
2017-07-07 17:54:00 -07:00
< / code > < / pre >
2020-11-04 22:34:44 +00:00
< p > Compare with the projection info returned by wgrib2 on the original file (look at the bolded sections below and make sure they match up with the corresponding entries returned from the database above):< / p >
2020-07-21 17:44:14 +00:00
<!--
Using html for this code block so that certain sections within the code can be emphasized (bolded)
-->
< pre >
wgrib2 -grid -nxny cpti.grib2
1:0:grid_template=0:winds(N/S):
< b > lat-lon grid:(600 x 640)< / b > units 1e-06 input WE:NS output WE:SN res 48
lat < b > 40.799999< / b > to 37.599999 by < b > 0.005000< / b >
lon < b > 260.999999< / b > to 263.999999 by < b > 0.005000< / b > #points=384000:(600 x 640)
...
< / pre >
2020-11-04 22:34:44 +00:00
< p > Notice that our grib2 file has a < strong > Lat/lon Grid< / strong > projection. Where:< / p >
2020-07-21 17:44:14 +00:00
< ul >
< li > < strong > nx< / strong > is < strong > 600< / strong > < / li >
< li > < strong > ny< / strong > is < strong > 640< / strong > < / li >
< li > < strong > dx< / strong > is < strong > 0.005< / strong > < / li >
< li > < strong > dy< / strong > is < strong > 0.005< / strong > < / li >
< li > < strong > la1< / strong > is < strong > 40.799999< / strong > < / li >
< li > < strong > lo1< / strong > is < strong > 261< / strong > < / li >
< / ul >
< p > We will need these values for the next step. Note that < strong > there is a tolerance of +/- 0.1 degrees< / strong > to keep in mind when defining your coverage (la1 and lo1) area.< / p >
< hr / >
2017-07-07 17:54:00 -07:00
< h2 id = "create-grid-projection-file" > Create Grid Projection File< a class = "headerlink" href = "#create-grid-projection-file" title = "Permanent link" > < / a > < / h2 >
2020-07-21 17:44:14 +00:00
< p > Grid projection files are stored in < code > /awips2/edex/data/utility/common_static/base/grib/grids/< / code > and there are four grid coverage types available:< / p >
2017-07-07 17:54:00 -07:00
< ol >
< li >
2020-07-21 17:44:14 +00:00
< p > < strong > lambertConformalGridCoverage< / strong > (example: < code > RUCIcing.xml< / code > )< / p >
2017-07-07 17:54:00 -07:00
< pre > < code > < lambertConformalGridCoverage>
< name> 305< /name>
< description> Regional - CONUS (Lambert Conformal)< /description>
< la1> 16.322< /la1>
< lo1> -125.955< /lo1>
< firstGridPointCorner> LowerLeft< /firstGridPointCorner>
< nx> 151< /nx>
< ny> 113< /ny>
< dx> 40.63525< /dx>
< dy> 40.63525< /dy>
< spacingUnit> km< /spacingUnit>
< minorAxis> 6356775.0< /minorAxis>
< majorAxis> 6378160.0< /majorAxis>
< lov> -95.0< /lov>
< latin1> 25.0< /latin1>
< latin2> 25.0< /latin2>
< /lambertConformalGridCoverage>
< / code > < / pre >
< / li >
< li >
2020-07-21 17:44:14 +00:00
< p > < strong > polarStereoGridCoverage< / strong > (example < code > seaice_south1_grid.xml< / code > )< / p >
2017-07-07 17:54:00 -07:00
< pre > < code > < polarStereoGridCoverage>
< name> 405< /name>
< description> Sea Ice south 690X710 13km grid< /description>
< la1> -36.866< /la1>
< lo1> 139.806< /lo1>
< firstGridPointCorner> LowerLeft< /firstGridPointCorner>
< nx> 690< /nx>
< ny> 710< /ny>
< dx> 12.7< /dx>
< dy> 12.7< /dy>
< spacingUnit> km< /spacingUnit>
< minorAxis> 6371229.0< /minorAxis>
< majorAxis> 6371229.0< /majorAxis>
< lov> 100.0< /lov>
< /polarStereoGridCoverage>
< / code > < / pre >
< / li >
< li >
2020-07-21 17:44:14 +00:00
< p > < strong > latLonGridCoverage< / strong > (example < code > UkmetHR-SHemisphere.xml< / code > )< / p >
2017-07-07 17:54:00 -07:00
< pre > < code > < latLonGridCoverage>
< name> 864162002< /name>
< description> UKMet HiRes combined - Southern Hemisphere
Longitude range 71.25E - 70.416E < /description>
< la1> -89.721< /la1>
< lo1> 71.25< /lo1>
< firstGridPointCorner> LowerLeft< /firstGridPointCorner>
< nx> 864< /nx>
< ny> 162< /ny>
< dx> 0.833< /dx>
< dy> 0.556< /dy>
< spacingUnit> degree< /spacingUnit>
< la2> -0.278< /la2>
< lo2> 70.416< /lo2>
< /latLonGridCoverage>
< / code > < / pre >
< / li >
< li >
2020-07-21 17:44:14 +00:00
< p > < strong > mercatorGridCoverage< / strong > (example < code > gridNBM_PR.xml< / code > )< / p >
2017-07-07 17:54:00 -07:00
< pre > < code > < mercatorGridCoverage>
< name> NBM_PR< /name>
< description> National Blend Grid over Puerto Rico - (1.25 km)< /description>
< la1> 16.9775< /la1>
< lo1> -68.0278< /lo1>
< firstGridPointCorner> LowerLeft< /firstGridPointCorner>
< nx> 339< /nx>
< ny> 225< /ny>
< dx> 1.25< /dx>
< dy> 1.25< /dy>
< la2> 19.3750032477232< /la2>
< lo2> -63.984399999999994< /lo2>
< latin> 20< /latin>
< spacingUnit> km< /spacingUnit>
< minorAxis> 6371200< /minorAxis>
< majorAxis> 6371200< /majorAxis>
< /mercatorGridCoverage>
< / code > < / pre >
< / li >
< / ol >
2020-07-21 17:44:14 +00:00
< h3 id = "grib-products_2" > Grib Products< a class = "headerlink" href = "#grib-products_2" title = "Permanent link" > < / a > < / h3 >
< p > Copy an existing xml file with the same grid projection type (in this case < strong > lambertConformalGridCoverage< / strong > ) to a new file < code > wrf.xml< / code > :< / p >
< pre > < code > cd /awips2/edex/data/utility/common_static/base/grib/grids/
2017-07-07 17:54:00 -07:00
cp RUCIcing.xml wrf.xml
< / code > < / pre >
2020-07-21 17:44:14 +00:00
< p > And edit the new < code > wrf.xml< / code > to define the projection values using the < a href = "#determine-grid-projection" > output from wgrib or the database< / a > (example provided):< / p >
2017-07-07 17:54:00 -07:00
< pre > < code > vi wrf.xml
< lambertConformalGridCoverage>
< name> 201155< /name>
< description> Regional - CONUS (Lambert Conformal)< /description>
< la1> 42.2830009460449< /la1>
< lo1> -72.3610000610352< /lo1>
< firstGridPointCorner> LowerLeft< /firstGridPointCorner>
< nx> 201< /nx>
< ny> 155< /ny>
< dx> 4.29699993133545< /dx>
< dy> 4.29699993133545< /dy>
< spacingUnit> km< /spacingUnit>
< minorAxis> 6356775.0< /minorAxis>
< majorAxis> 6378160.0< /majorAxis>
< lov> -67.0770034790039< /lov>
< latin1> 45.3680000305176< /latin1>
< latin2> 45.3680000305176< /latin2>
< /lambertConformalGridCoverage>
< / code > < / pre >
< blockquote >
2020-07-21 17:44:14 +00:00
< p > < strong > Note< / strong > : Notice the < code > < name> 201155< /name> < / code > tag was defined from the number of grid points (201 and 155). This value will be matched against an entry in our models file (below) to set the name of the model (e.g. WRF).< / p >
2017-07-07 17:54:00 -07:00
< / blockquote >
2020-07-21 17:44:14 +00:00
< h3 id = "grib2-products_2" > Grib2 Products< a class = "headerlink" href = "#grib2-products_2" title = "Permanent link" > < / a > < / h3 >
< p > Copy an existing xml file with the same grid projection type (in this case < strong > latLonGridCoverage< / strong > ) to a new file < code > cpti.xml< / code > :< / p >
< pre > < code > cd /awips2/edex/data/utility/common_static/base/grib/grids/
cp MRMS-1km.xml cpti.xml
< / code > < / pre >
< p > And edit the new < code > cpti.xml< / code > to define the projection values using the < a href = "#grib2-products_1" > output from wgrib2 or the database< / a > (example provided):< / p >
< pre > < code > vi cpti.xml
< latLonGridCoverage>
< name> 600640< /name>
< description> Small domain for CPTI products< /description>
< la1> 40.799999< /la1>
< lo1> 261< /lo1>
< firstGridPointCorner> UpperLeft< /firstGridPointCorner>
< nx> 600< /nx>
< ny> 640< /ny>
< dx> 0.005< /dx>
< dy> 0.005< /dy>
< spacingUnit> degree< /spacingUnit>
< /latLonGridCoverage>
< / code > < / pre >
< blockquote >
< p > < strong > Note< / strong > : Notice the < code > < name> 384000< /name> < / code > tag was defined from the number of grid points (600 and 640). This value will be matched against an entry in our models file (below) to set the name of the model (e.g. CPTI).< / p >
< / blockquote >
< hr / >
2017-07-07 17:54:00 -07:00
< h2 id = "create-model-definition" > Create Model Definition< a class = "headerlink" href = "#create-model-definition" title = "Permanent link" > < / a > < / h2 >
2020-07-21 17:44:14 +00:00
< p > Model definition XML files are found in < strong > /awips2/edex/data/utility/common_static/base/grib/models/< / strong > . < / p >
< h3 id = "grid-prodcuts" > Grid Prodcuts< a class = "headerlink" href = "#grid-prodcuts" title = "Permanent link" > < / a > < / h3 >
< p > Since our grib file has a center ID of 7 (NCEP) we will edit the < strong > gribModels_NCEP-7.xml< / strong > file.< / p >
< pre > < code > cd /awips2/edex/data/utility/common_static/base/grib/models/
2017-07-07 17:54:00 -07:00
vi gribModels_NCEP-7.xml
< / code > < / pre >
2020-07-21 17:44:14 +00:00
< p > In < code > < gribModelSet> < / code > add an entry:< / p >
2017-07-07 17:54:00 -07:00
< pre > < code > < model>
< name> WRF< /name>
< center> 7< /center>
< subcenter> 0< /subcenter>
< grid> 201155< /grid>
< process>
< id> 89< /id>
< /process>
< /model>
< / code > < / pre >
2020-07-21 17:44:14 +00:00
< p > Save the file and restart EDEX for the changes to take effect:< / p >
< pre > < code > sudo service edex_camel restart ingestGrib
2017-07-07 17:54:00 -07:00
< / code > < / pre >
< p > Now copy the < code > wrf.grib< / code > file < em > again< / em > to < strong > /awips2/data_store/ingest/< / strong > . If everything is correct we will not see any persistence errors since the grid is now named < strong > WRF< / strong > and not < strong > GribModel:7:0:89< / strong > .< / p >
2020-07-21 17:44:14 +00:00
< pre > < code > cp wrf.grib /awips2/data_store/ingest/
2017-07-07 17:54:00 -07:00
edex log grib
< / code > < / pre >
2020-07-21 17:44:14 +00:00
< p > After you have confirmed that the grid was ingested with the given name, you can < a href = "../../cave/d2d-edit-menus/" > edit the D2D product menus to display the new grid< / a > .< / p >
< h3 id = "grib2-products_3" > Grib2 Products< a class = "headerlink" href = "#grib2-products_3" title = "Permanent link" > < / a > < / h3 >
< p > Since our grib2 file has a center of 161 (NOAA) we will edit the < strong > gribModels_NOAA-161.xml< / strong > file.< / p >
< pre > < code > cd /awips2/edex/data/utility/common_static/base/grib/models/
vi gribModels_NOAA-161.xml
< / code > < / pre >
< p > In < code > < gribModelSet> < / code > , under the < code > < -- Subcenter 0 --> < / code > comment, add an entry:< / p >
< pre > < code > < model>
< name> CPTI< /name>
< center> 161< /center>
< subcenter> 0< /subcenter>
< grid> 600640< /grid>
< process>
< id> 97< /id>
< /process>
< /model>
< / code > < / pre >
< p > Save the model file and restart edex:< / p >
< pre > < code > sudo service edex_camel restart ingestGrib
< / code > < / pre >
< p > Now if you drop < code > cpti.grib2< / code > into the manual endpoint again, it should ingest without any persistence errors.< / p >
< hr / >
< h2 id = "adding-a-table" > Adding a Table< a class = "headerlink" href = "#adding-a-table" title = "Permanent link" > < / a > < / h2 >
2017-07-07 17:54:00 -07:00
< p > If you ingest a piece of data and the parameter appears as unknown in the metadata database, ensure that the correct parameter tables are in place for the center/subcenter.< / p >
2020-07-21 17:44:14 +00:00
< p > The tables are located in < strong > /awips2/edex/data/utility/common_static/base/grib/tables/< / strong > . They are then broken into subdirectories using the following structure: < strong > /[Center]/[Subcenter]/4.2.[Discipine].[Category].table< / strong > . < / p >
< h3 id = "grib-products_3" > Grib products< a class = "headerlink" href = "#grib-products_3" title = "Permanent link" > < / a > < / h3 >
< p > The center and subcenter have been identified previously < a href = "#grib-products" > here< / a > and < a href = "#grib-products_1" > here< / a > , as 7 and 0, respectively. So, the corresponding directory is:< / p >
< pre > < code > /awips2/edex/data/utility/common_static/base/grib/tables/7/0/
< / code > < / pre >
< p > To find the < strong > discipline< / strong > of a grib product, you need the < strong > process< / strong > and < strong > table< / strong > values from the grib file. These are output with the < code > wgrib -V< / code > command:< / p >
< pre >
wgrib -V wrf.grib
rec 799:27785754:date 2014102318 ALBDO kpds5=84 kpds6=1 kpds7=0 levels=(0,0) grid=255 sfc 6hr fcst: bitmap: 736 undef
ALBDO=Albedo [%]
timerange 0 P1 6 P2 0 TimeU 1 nx 201 ny 155 GDS grid 3 num_in_ave 0 missing 0
center 7 subcenter 0 < b > process 89 Table 2< / b > scan: WE:SN winds(grid)
Lambert Conf: Lat1 42.283000 Lon1 -72.361000 Lov -67.077000
Latin1 45.368000 Latin2 45.368000< LatSP 0 . 000000 LonSP 0 . 000000
North Pole (201 x 155) Dx 4.297000 Dy 4.297000 scan 64 mode 8
min/max data 5 21.9 num bits 8 BDS_Ref 50 DecScale 1 BinScale 0
< / pre >
< p > For our example, the process is < strong > 89< / strong > and table is < strong > 2< / strong > . Next, take a look in:< / p >
< pre > < code > /awips2/edex/data/utility/common_static/base/grid/grib1ParameterConvTable.xml
< / code > < / pre >
< p > And find the entry that has grib1 data with TableVersion 2 and Value 89:< / p >
< pre > < code > < grib1Parameter>
< center> 7< /center>
< grib1TableVersion> 2< /grib1TableVersion>
< grib1Value> 89< /grib1Value>
< grib2discipline> 0< /grib2discipline>
< grib2category> 3< /grib2category>
< grib2Value> 10< /grib2Value>
< /grib1Parameter>
< / code > < / pre >
< p > Here, we can see the discipline and category values (referred to as x above) are 0 and 3, respectively.< / p >
< p > So, the table needed for our example file is:< / p >
< pre > < code > /awips2/edex/data/utility/common_static/base/grib/tables/7/0/4.2.0.3.table
< / code > < / pre >
< h3 id = "grib2-products_4" > Grib2 Products< a class = "headerlink" href = "#grib2-products_4" title = "Permanent link" > < / a > < / h3 >
< p > If you are using a grib2 file, then you can use either the log output or the < code > -center< / code > , < code > -subcenter< / code > , and < code > -full_name< / code > options on < code > wgrib2< / code > to get the center, subcenter, discipline, category, and parameter information:< / p >
< p > The table would be found in the directory structure using this file's center and subcenter. The center can be found by either:< / p >
< ul >
< li >
< p > Running the following command:< / p >
< pre > < code > wgrib2 -center cpti.grib2
1:0:center=US NOAA Office of Oceanic and Atmospheric Research
...
< / code > < / pre >
< p > And then looking up the corresponding value for "US NOAA Office of Oceanic and Atmospheric Research" at < a href = "https://www.nco.ncep.noaa.gov/pmb/docs/on388/table0.html" > < strong > this website< / strong > < / a > , where it happens to be < strong > 161< / strong > .< / p >
< / li >
< / ul >
< p > < strong > OR:< / strong > < / p >
< ul >
2020-11-04 22:34:44 +00:00
< li > Running the following command:< / li >
< / ul >
2020-07-21 17:44:14 +00:00
< pre >
wgrib2 -varX cpti.grib2
1:0:var209_255_1_< b > 161< / b > _3_61
...
< / pre >
2020-11-04 22:34:44 +00:00
< pre > < code > Where the 4th argument after "var" is the center id, in this case **161**.
< / code > < / pre >
< p > To get the subcenter, simply run:< / p >
2020-07-21 17:44:14 +00:00
< pre >
wgrib2 -subcenter cpti.grib2
1:0:subcenter=< b > 0< / b >
...
< / pre >
2020-11-04 22:34:44 +00:00
< p > The subcenter of this file is < strong > 0< / strong > .< / p >
2020-07-21 17:44:14 +00:00
< p > So based on the center and subcenter, the corresponding directory is:< / p >
< pre > < code > /awips2/edex/data/utility/common_static/base/grib/tables/161/0/
< / code > < / pre >
< p > To find the exact table, we need the discipline and category:< / p >
< pre >
wgrib2 -full_name cpti.grib2
1:0:var< b > 209< / b > _< b > 3< / b > _< b > 61< / b > .500_m_above_mean_sea_level
...
< / pre >
< p > In this case the < strong > discipline is 209< / strong > and < strong > category is 3< / strong > , so the corresponding table is:< / p >
< pre > < code > 4.2.209.3.table
< / code > < / pre >
< p > So, the full path to the corresponding table would be:< / p >
< pre > < code > /awips2/edex/data/utility/common_static/base/grib/tables/161/0/4.2.209.3.table
< / code > < / pre >
2020-11-04 22:34:44 +00:00
< p > The parameter ID was also listed in that output as < strong > 61< / strong > . Make sure that specific parameter information is defined in the table:< / p >
2020-07-21 17:44:14 +00:00
< pre >
...
56:56:Reflectivity at -20C:dBZ:ReflectivityM20C
57:57:Reflectivity At Lowest Altitude (RALA):dBZ:ReflectivityAtLowestAltitude
58:58:Merged Reflectivity At Lowest Altitude (RALA):dBZ:MergedReflectivityAtLowestAltitude
59:59:CPTI 80mph+:%:CPTI80mph
< b > 61:61:CPTI 110mph+:%:CPTI110mph< / b >
2020-11-04 22:34:44 +00:00
< / pre >
2020-07-21 17:44:14 +00:00
< p > You will have to restart ingestGrib for the changes to take place:< / p >
< pre > < code > sudo service edex_camel restart ingestGrib
< / code > < / pre >
< p > Now you can try < a href = "#grib2-products" > re-ingesting the grib2 file< / a > .< / p >
< hr / >
< h2 id = "troubleshooting-grib-ingest" > Troubleshooting Grib Ingest< a class = "headerlink" href = "#troubleshooting-grib-ingest" title = "Permanent link" > < / a > < / h2 >
< ul >
< li >
2017-07-07 17:54:00 -07:00
< p > Make sure the latitude and longitude entries in your coverage specification file match those of your ingested raw grib file. There is a tolerance of +/- 0.1 degree to keep in mind when defining your coverage area.< / p >
2020-07-21 17:44:14 +00:00
< / li >
< li >
< p > If some of the information is unknown, using a grib utility application such as < em > wgrib< / em > and < em > wgrib2< / em > can be useful in determining the information that must be added to correctly process a new grib file.< / p >
< / li >
< li >
< p > If you are experiencing < code > Segmentation fault< / code > errors when running wgrib2, it may be best to install the latest version using the following command:< / p >
< pre > < code > yum install wgrib2
< / code > < / pre >
< p > And then you may either need to change where < code > wgrib2< / code > points to, or use < code > /bin/wgrib2< / code > to run the recently downloaded version.< / p >
< / li >
< / ul >
2017-07-07 17:54:00 -07:00
< / article >
< / div >
< / div >
< / main >
< footer class = "md-footer" >
< div class = "md-footer-nav" >
< nav class = "md-footer-nav__inner md-grid" >
< a href = "../data-distribution-files/" title = "Data Distribution Files" class = "md-flex md-footer-nav__link md-footer-nav__link--prev" rel = "prev" >
< div class = "md-flex__cell md-flex__cell--shrink" >
< i class = "md-icon md-icon--arrow-back md-footer-nav__button" > < / i >
< / div >
< div class = "md-flex__cell md-flex__cell--stretch md-footer-nav__title" >
< span class = "md-flex__ellipsis" >
< span class = "md-footer-nav__direction" >
Previous
< / span >
Data Distribution Files
< / span >
< / div >
< / a >
< a href = "../data-purge/" title = "Purging and Retention" class = "md-flex md-footer-nav__link md-footer-nav__link--next" rel = "next" >
< div class = "md-flex__cell md-flex__cell--stretch md-footer-nav__title" >
< span class = "md-flex__ellipsis" >
< span class = "md-footer-nav__direction" >
Next
< / span >
Purging and Retention
< / span >
< / div >
< div class = "md-flex__cell md-flex__cell--shrink" >
< i class = "md-icon md-icon--arrow-forward md-footer-nav__button" > < / i >
< / div >
< / a >
< / nav >
< / div >
< div class = "md-footer-meta md-typeset" >
< div class = "md-footer-meta__inner md-grid" >
< div class = "md-footer-copyright" >
< div class = "md-footer-copyright__highlight" >
2020-06-04 22:53:23 +00:00
Copyright © 2020 Unidata Program Center.
2017-07-07 17:54:00 -07:00
< / div >
powered by
< a href = "http://www.mkdocs.org" title = "MkDocs" > MkDocs< / a >
and
< a href = "http://squidfunk.github.io/mkdocs-material/" title = "Material for MkDocs" >
Material for MkDocs< / a >
< / div >
< div class = "md-footer-social" >
< link rel = "stylesheet" href = "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" >
2018-02-15 12:27:30 -07:00
< a href = "https://www.unidata.ucar.edu/software/awips2" class = "md-footer-social__link fa fa-globe" > < / a >
2017-07-07 17:54:00 -07:00
< a href = "https://github.com/Unidata/awips2" class = "md-footer-social__link fa fa-github-alt" > < / a >
< a href = "https://twitter.com/Unidata" class = "md-footer-social__link fa fa-twitter" > < / a >
< a href = "https://facebook.com/Unidata" class = "md-footer-social__link fa fa-facebook" > < / a >
< / div >
< / div >
< / div >
< / footer >
< / div >
< script src = "../../assets/javascripts/application-0b7df094bf.js" > < / script >
< script > app . initialize ( { url : { base : "../.." } } ) < / script >
2020-08-04 21:31:53 +00:00
< script src = "../../assets/javascripts/application-0b7df094bf.js" > < / script >
2017-07-07 17:54:00 -07:00
< / body >
< / html >