Skip Navigation Links weather.gov 
NOAA logo-Select to go to the NOAA homepage National Weather Service   NWS logo - Select to go to the NWS homepage
Meteorological Development Laboratory
    

Gridded MOS GRIB2 Encoding Details

The GFS-based Gridded MOS guidance is provided on the 2.5 km CONUS NDFD (experimentally), 5km CONUS NDFD, 3km Alaska NDFD, and 2.5km Hawaii NDGD grids in GRIB2 format. The products are disseminated via two mechanisms. GRIB2 files are currently available on the NWS FTP server. Descriptions of the file locations and names are available. The files on the ftp server contain multiple grids in each file, grouped by element. The gridded MOS products are also officially disseminated via the NWS Satellite Broadcast Network (SBN) and NOAAPORT. The guidance is sent with each grid as a separate product with its own unique WMO header. See the list below for links to WMO headers for each domain.

  • 2.5-km CONUS GMOS (experimental)PDF Icon
  • 5-km CONUS GMOSPDF Icon
  • 3-km Alaska GMOS
  • 2.5-km Hawaii GMOS

  • This webpage seeks to provide users with some of the settings we are using to encode our products in GRIB2. Users should consult the WMO's GRIB2 handbook for the complete details on GRIB2 encoding.



    Section 0 - Indicator Section

    For all Gridded MOS GRIB2 prodcuts we set octet 7, Discipline, to 0 for Meteorological. We use GRIB edition 2 in octet 8.

    Section 1 - Identification Section

    Select Octet No. Value Explanation
    6-77Originating Center - NCEP
    8-914Originating Sub-center - MDL
    101initial operational version number
    110Version of local tables
    121Significance of date in Octets 13-19
    13-19Year, Month, Day, Hr, Min, SecDate of model run on which guidance is based
    200Operational products
    211Forecast products


    Section 2 - Local Use Section

    For the Gridded MOS element weather, MDL GRIB2 encoding software uses the Local Use section for packing metadata unique to each grid. At this time, for parameters other than weather, t he Local Use section is omitted. For more information on weather and MDL use of the Local Use section, click here.


    Section 3 - Grid Definition Section

    The Gridded MOS guidance is presented on the 2.5-km NDFD grid and 5-km NDFD grid for the CONUS; 3-km NDFD grid for Alaska; and 2.5-km NDFD grid for Hawaii. The following are the grid specifications used to pack the guidance into GRIB2.

    2.5km CONUS grid -- Image coming soon
    Octet No. Value Explanation
    1-4TBDLength of section in octets
    53Number of Section
    60Grid definition template defined in Octet 13-14
    7-102953665Number of data points
    110Number of non-rectangular points
    120No appended list of points
    13-1430Lambert Conformal GDT
    151Spherical earth, radius in Octet 16-20
    160Scale factor of radius of spherical earth
    17-206371200Scaled value of radius of spherical earth
    21missing
    22-25missing
    26missing
    27-30missing
    31-342145NX
    35-381377NY
    39-4220192000Latitude of first grid point
    43-46238446000Longitude of first grid point
    4748Resolution and component flags
    48-5125000000Latitude where Dx and Dy are specified
    52-55265000000Longitude of parallel meridian
    56-592539703Dx - grid length in x direction
    60-632539703Dy - grid length in y direction
    640Projection centre flag
    6580data scanned boustrophedonically
    66-6925000000Latin 1
    70-7325000000Latin 2
    74-77-90000000Latitude of southern pole
    78-810Longitude of southern pole


    5km CONUS grid -- Image available here
    Octet No. Value Explanation
    1-4TBDLength of section in octets
    53Number of Section
    60Grid definition template defined in Octet 13-14
    7-10739297Number of data points
    110Number of non-rectangular points
    120No appended list of points
    13-1430Lambert Conformal GDT
    151Spherical earth, radius in Octet 16-20
    160Scale factor of radius of spherical earth
    17-206371200Scaled value of radius of spherical earth
    21missing
    22-25missing
    26missing
    27-30missing
    31-341073NX
    35-38689NY
    39-4220192000Latitude of first grid point
    43-46238446000Longitude of first grid point
    4748Resolution and component flags
    48-5125000000Latitude where Dx and Dy are specified
    52-55265000000Longitude of parallel meridian
    56-595079406Dx - grid length in x direction
    60-635079406Dy - grid length in y direction
    640Projection centre flag
    6580data scanned boustrophedonically
    66-6925000000Latin 1
    70-7325000000Latin 2
    74-77-90000000Latitude of southern pole
    78-810Longitude of southern pole


    3km Alaska grid -- Image available here
    Octet No. Value Explanation
    1-4TBDLength of section in octets
    53Number of Section
    60Grid definition template defined in Octet 13-14
    7-101822145Number of data points
    110Number of non-rectangular points
    120No appended list of points
    13-1420Polar Stereographic GDT
    151Spherical earth, radius in Octet 16-20
    160Scale factor of radius of spherical earth
    17-206371200Scaled value of radius of spherical earth
    21missing
    22-25missing
    26missing
    27-30missing
    31-341649NX
    35-381105NY
    39-4240530100Latitude of first grid point
    43-46181429000Longitude of first grid point
    470Resolution and component flags
    48-5160000000Latitude where Dx and Dy are specified
    52-55210000000Orientation of the grid
    56-592976560Dx - grid length in x direction
    60-632976560Dy - grid length in y direction
    640Projection centre flag
    6580data scanned boustrophedonically


    2.5km Hawaii grid -- Image available here
    Octet No. Value Explanation
    1-4TBDLength of section in octets
    53Number of Section
    60Grid definition template defined in Octet 13-14
    7-10350625Number of data points
    110Number of non-rectangular points
    120No appended list of points
    13-1410Mercator
    151Spherical earth, radius in Octet 16-20
    160Scale factor of radius of spherical earth
    17-206371200Scaled value of radius of spherical earth
    21missing
    22-25missing
    26missing
    27-30missing
    31-34625NX
    35-38561NY
    39-4214351500Latitude of first grid point
    43-46195030500Longitude of first grid point
    470Resolution and component flags
    48-5120000000Latitude where Dx and Dy are specified
    52-5526860500Latitude of last grid point
    56-59209959800Longitude of last grid point
    6064Scanning Mode
    61-640Orientation of the grid, angle between i direction and the Equator
    65-682500000Dx - grid length in x direction
    69-722500000Dy - grid length in y direction


    Section 4 - Product Definition Section

    The Gridded MOS products are packed using either Product Definition Template (PDT) 4.0, 4.8, or 4.9. The following tables list the settings for each element.

    Guidance Valid at a Point in Time - PDT 4.0
    Octet No. 2-M Temperature (K) 2-M Dewpoint (K) Relative Humidity (%) Wind Speed (m/s) Wind Direction (degrees) Wind Gusts (m/s) Opaque Sky Cover (%) Weather
    1-4Length of section in octets
    54
    6-70
    8-90
    1000122261
    1106110221226
    122
    13missing
    1496
    15-16missing
    17missing
    181
    19-22hours from reference time to valid time (i.e. projection)
    2310310310310310310311
    240
    25-2822210101000
    29missing
    300
    31-340




    Guidance Valid Over a Period of Time - PDT 4.8 (see below for POPs)
    Octet No. Maximum Temperature (K) Minimum Temperature (K) Snowfall Amt (m) 3-hr tstm (%) 6-hr tstm (%) 12-hr tstm (%) 6-hr Precip Amount (kg/m*2) 12-hr Precip Amount (kg/m*2)
    1-4Length of section in octets
    54
    6-70
    8-98
    1000119191911
    11452922288
    1222255522
    13missing
    1496
    15-16missing
    17missing
    181
    19-22hours from reference time to beginning of forecast period
    23103103111111
    240
    25-2822000000
    29missing
    300
    31-340
    35-36Year of end of forecast period
    37Month of end of forecast period
    38Day of end of forecast period
    39Hour of end of forecast period
    40Minute of end of forecast period
    41Second of end of forecast period
    420 (1 for Hawaii GMOS). Future updates to GMOS will change this value to 1 also.1
    43-460
    47missing1missing1
    48missing
    49missing1
    50-53missing243612612
    54missing
    55-58missing




    Guidance Valid Over a Period of Time - PDT 4.9 -- POPs
    Octet No. 6-hr POP (%) 12-hr POP (%)
    1-4Length of section in octets
    54
    6-70
    8-99
    101
    118
    122
    13missing
    1496
    15-16missing
    17missing
    181
    19-22hours from reference time to beginning of forecast period
    231
    240
    25-280
    29missing
    300
    31-340
    35missing
    36missing
    371
    38missing
    39-42missing
    433
    44-47254
    48-49Year of end of forecast period
    50Month of end of forecast period
    51Day of end of forecast period
    52Hour of end of forecast period
    53Minute of end of forecast period
    54Second of end of forecast period
    551
    56-590
    601
    61missing
    621
    63-66612
    671
    680




    Section 5 - Data Representation Section


    We use Data Representation Template 5.3: Gridpoint data - complex packing and spatial differencing. All fields are packed as floating point values except for wind direction which is packed as an integer.

    For scaling, we use the following decimal scaling factors:

    Temperatures Wind Speed/Gusts Wind Direction Percentages (POP, RH and Opaque Sky) Precipitation Amt Snowfall Amt Weather
    1100350


    Binary scaling will be used only for the 2.5 km CONUS grids. Learn more about binary scaling here. The following binary scaling factors will be used.

    Temperatures Wind Speed/Gusts
    2 2


    Return to Gridded MOS Page
    Send questions and comments to: MDL_MOS.webmaster@noaa.gov

    National Weather Service
    Office Of Science and Technology
    Meteorological Development Laboratory
    Statistical Modeling Branch
    1325 East West Highway
    Silver Spring, MD 20910
    Page last modified: 22 Mar 2007
    Page Author: MOS Web Team
    Disclaimer
    Credits
    Glossary
    Privacy Policy