McIDAS-XCD Administrator's Guide
Version 2020.1

[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]


Creating McIDAS Grid Files with DMGRID

When the unpacking process is complete and the entire GRIB message is successfully decoded, the decoder passes the GRIB structures to DMGRID and/or DMBIN to be reformatted for McIDAS. DMGRID, which converts GRIB1 messages to McIDAS grid files, is described below. DMBIN, which files GRIB1 and GRIB2 messages into GRIB files of the same format, is described in the next section.

Once the message is converted to McIDAS format, DMGRID uses the mcrtgrdf function to determine the grid file for storing the message. The correct grid file is determined by using stored grid header information, consisting of the model, the runtime of the model, and the forecast time, geographic coverage, and the configuration file RTMODELS.CFG. If the model information is not explicitly described in RTMODELS.CFG, the grid is filed in a scratch grid file. The format of RTMODELS.CFG is described below, and is followed by an example.

Once the correct grid file is determined, DMGRID checks if this grid can be filed as is, or if the grid must be pieced together with a previously filed grid. Piecing together is often necessary because most of the gridded fields that cover the globe are sent in four or eight pieces. When a partial grid is received, DMGRID checks if a similar grid has recently been filed. If so, DMGRID pieces the two fields together, refiling the new grid into the same location. If no match is found, the grid is filed as the first grid of this type.

Finally, DMGRID updates the Status Window, telling the administrator that a new grid has been filed and its location. DMGRID then checks the spool file for new data to process.

RTMODELS.CFG format

SCRATCH=

a group of 10 grid files for storing grids based on models not specified in RTMODELS.CFG; if SCRATCH=99000, the range of grid files used is 99001 through 99010 based on the Julian day of the model run time

model=

ftype   fgridf   runint   vtint   maxvt    GEO= min   max

information for filing a particular model, for example, NAM or GFS

 

ftype

filing format for this model

 

 

0

everything from the model is stored in one grid file per model run time; if this value is used, vtint and maxvt are not necessary

 

 

1

grids are filed based on model run time and valid forecast time

 

 

2

all grids from a model run are filed in the same grid file regardless of run time or forecast time; if this value is used, runint, vtint, and maxvt are not necessary

 

 

3

same as 1 except no grids are assumed beyond the maxvt forecast time

 

fgridf

first grid file in the range to use for this model

 

runint

interval between model run times (hhmmss)

 

vtint

forecast period interval to separate forecast grids

 

maxvt

maximum forecast time, after which all grids are stored in the same grid file

 

GEO=

min  max

range of geographic IDs to store in this grid file range; the file ~mcidas/data/gbtbpds001.bv1 contains a list of the IDs and their corresponding geographic coverage and projections (default=1 255)

 

ID=

generating process ID from ~mcidas/data/gbtbpds001.av1

RTMODELS.CFG defaults

The RTMODELS.CFG file supplied in McIDAS-XCD creates the grid files listed below.

Grid File

Model

Run

Forecast Range

Coverage

50001-50010

AWC-ALL

00Z - 2359Z

00hr

All

51001-51010

AWRW-ALL

00Z,06Z,12Z,18Z

00hr <= Forecast Time <= 120hr

All

52001-52010 ECMF-EQME 00Z,12Z 00hr <= Forecast Time <= 144hr Equatorial, ECMWF 5-8
52101-52110 ECMF-GLME 00Z,12Z 00hr <= Forecast Time <= 240hr Global, ECMWF 1-4,9-12
52201-52210 ECMF-NWME 00Z,12Z
00hr All

53001-53010

NAM-AKPS

0Z

00hr <= Forecast Time <= 60hr

All

53021-53030

NAM-AKPS

12Z

00hr <= Forecast Time <= 60hr

All

53101-53110 NAM-USLC 0Z 00hr <= Forecast Time <= 60hr All
53121-53130 NAM-USLC 12Z 00hr <= Forecast Time <= 60hr All
53201-53210 NAM-USLC2 0Z 00hr <= Forecast Time <= 60hr All
53211-53220 NAM-USLC2 6Z 00hr <= Forecast Time <= 48hr All
53221-53230 NAM-USLC2 12Z 00hr <= Forecast Time <= 60hr All
53231-53240 NAM-USLC2 18Z 00hr <= Forecast Time <= 48hr All
53301-53310 NAM-USLCAWI4 0Z 00hr <= Forecast Time <= 60hr All
53311-53320 NAM-USLCAWI4 6Z 00hr <= Forecast Time <= 48hr All
53321-53330 NAM-USLCAWI4 12Z 00hr <= Forecast Time <= 60hr All
53331-53340 NAM-USLCAWI4 18Z 00hr <= Forecast Time <= 48hr All
53501-53510 NAM-AKPSAWIP 0Z 00hr <= Forecast Time <= 60hr All
53521-53530 NAM-AKPSAWIP 12Z 00hr <= Forecast Time <= 60hr All
53601-53610 NAM-AKPSAWI2 0Z 00hr <= Forecast Time <= 60hr All
53621-53630 NAM-AKPSAWI2 12Z 00hr <= Forecast Time <= 60hr All
54001-54010 FFG-ALL 00Z - 2359Z 00hr <= Forecast Time <= 24hr All

55001-55010

GFS-AKPS

00Z

00hr <= Forecast Time <= 120hr

All

55011-55020

GFS-AKPS

06Z

00hr <= Forecast Time <= 120hr

All

55021-55030

GFS-AKPS

12Z

00hr <= Forecast Time <= 120hr

All

55031-55040

GFS-AKPS

18Z

00hr <= Forecast Time <= 120hr

All

55101-55110

GFS-AKPSLRES

00Z, 18Z

00hr <= Forecast Time <= 240hr

All

55201-55210 GFS-AKPSSSIF 00Z 00hr All

55301-55310

GFS-GLME

00Z

00hr <= Forecast Time <= 240hr

Global, GEO 37-44

55311-55320 GFS-GLME 06Z 00hr <= Forecast Time <= 240hr Global, GEO 37-44
55321-55330 GFS-GLME 12Z 00hr <= Forecast Time <= 240hr Global, GEO 37-44
55331-55340 GFS-GLME 18Z 00hr <= Forecast Time <= 240hr Global, GEO 37-44

55401-55410

GFS-GLMELRES

00Z

00hr < Forecast Time <= 168hr

All

55601-55610

GFS-NWME62

00Z, 12Z

00hr < Forecast Time <= 84hr

All

55701-55710 GFS-NWME170 00Z >= 96hr Forecast Time All
55801-55810 GFS-HIME 00Z,06Z,12Z,18Z 00hr < Forecast Time <= 120hr All

55901-55910

GFS-HIMELRES

00Z

00hr < Forecast Time <= 240hr

All

56001-56010

GFS-HIMESSIF

0Z

00hr

All

56101-56110 GFS-NHPS 00Z,06Z,12Z,18Z 00hr < Forecast Time <= 120hr All
56201-56210 GFS-NHPSLRES 00Z 00hr < Forecast Time <= 240hr All
56301-56310 GFS-NHPSSSIF 00Z 00hr All
56401-56410 GFS-PRPSLRES 00Z 00hr < Forecast Time <= 240hr All
56501-56510 GFS-PRPSSSIF 00Z 00hr All

56601-56610

GFS-USLC           

00Z

00hr < Forecast Time <= 240hr

All

56611-56620 GFS-USLC 
06Z 00hr < Forecast Time <= 240hr All
56621-56630 GFS-USLC 
12Z 00hr < Forecast Time <= 240hr All
56631-56640 GFS-USLC 
18Z 00hr < Forecast Time <= 240hr All
56701-56710 GFS-USPS 00Z 00hr < Forecast Time <= 120hr All
56711-56720 GFS-USPS 06Z 00hr < Forecast Time <= 120hr All
56721-56730 GFS-USPS 12Z 00hr < Forecast Time <= 120hr All
56731-56740 GFS-USPS 18Z 00hr < Forecast Time <= 120hr All
56801-56810 GFS-USPSLRES 00Z 00hr < Forecast Time <= 240hr All
56901-56910 GFS-USPSSSIF 00Z 00hr All
57001-57010 GFS-USPS2 00Z 00hr < Forecast Time <= 120h All
57011-57020 GFS-USPS2 06Z 00hr < Forecast Time <= 120h All
57021-57030 GFS-USPS2 12Z 00hr < Forecast Time <= 120h All
57031-57040 GFS-USPS2 18Z 00hr < Forecast Time <= 120h All
59001-59010 ICA-GLME 00Z 00hr All
59101-59110 ICA-NHPS 00Z 00hr All
59201-59210 ICA-NWME 00Z 00hr All
60001-60010 ICN-ALL Every hour
00hr,01hr,02hr,03hr,06hr,09hr,12hr All
62001-62010 NAH-ALL 00Z,06Z,12Z,18Z 00hr < Forecast Time <= 72h All
63001-63010 NCE-ALL 00Z,06Z,12Z,18Z 00hr < Forecast Time <= 72h All
65101-65110 NGM-AKPS 00Z,12Z 00hr < Forecast Time <= 48h All
65201-65210 NGM-USLC 00Z,12Z 00hr < Forecast Time <= 48h All
65301-65310 NGM-USPS 00Z,12Z 00hr < Forecast Time <= 48h All
65401-65410 NGM-USPS2 00Z,12Z 00hr < Forecast Time <= 48h All
66001-66010 RCM-ALL 00Z - 2359Z 00hr All
67001-67010 RFC-ALL 00Z,06Z,12Z,18Z 00hr < Forecast Time <= 72h All
68001-68010 MAPS (RUC-USLC)
00Z=<Run Time<03Z
00hr,03hr,06hr,09hr,12hr All

68011-68020

MAPS (RUC-USLC)

03Z<=Run Time<06Z

00hr,03hr,06hr,09hr,12hr

All

68021-68030

MAPS (RUC-USLC)

06Z<=Run Time<09Z

00hr,03hr,06hr,09hr,12hr

All

68031-68040

MAPS (RUC-USLC)

09Z<=Run Time<12Z

00hr,03hr,06hr,09hr,12hr

All

68041-68050

MAPS (RUC-USLC)

12Z<=Run Time<15Z

00hr,03hr,06hr,09hr,12hr

All

68051-68060

MAPS (RUC-USLC)

15Z<=Run Time<18Z

00hr,03hr,06hr,09hr,12hr

All

68061-68070

MAPS (RUC-USLC)

18Z<=Run Time<21Z

00hr,03hr,06hr,09hr,12hr

All

68071-68080

MAPS (RUC-USLC)

21Z<=Run Time<00Z

00hr,03hr,06hr,09hr,12hr

All

68101-68110 MAPS (RUC-USLC2) 00Z=<Run Time<03Z 00hr through 09hr,12hr All
68111-68120 MAPS (RUC-USLC2) 03Z<=Run Time<06Z 00hr through 09hr,12hr All
68121-68130 MAPS (RUC-USLC2) 06Z<=Run Time<09Z 00hr through 09hr,12hr All
68131-68140 MAPS (RUC-USLC2) 09Z<=Run Time<12Z 00hr through 09hr,12hr All
68141-68150 MAPS (RUC-USLC2) 12Z<=Run Time<15Z 00hr through 09hr,12hr All
68151-68160 MAPS (RUC-USLC2) 15Z<=Run Time<18Z 00hr through 09hr,12hr All
68161-68170 MAPS (RUC-USLC2) 18Z<=Run Time<21Z 00hr through 09hr,12hr All
68171-68180 MAPS (RUC-USLC2) 21Z<=Run Time<00Z 00hr through 09hr,12hr All
68201-68210 MAPS (RUC-USPS) 00Z=<Run Time<03Z 00hr,03hr,06hr,09hr,12hr All
68211-68220 MAPS (RUC-USPS) 03Z<=Run Time<06Z 00hr,03hr,06hr,09hr,12hr All
68221-68230 MAPS (RUC-USPS) 06Z<=Run Time<09Z 00hr,03hr,06hr,09hr,12hr All
68231-68240 MAPS (RUC-USPS) 09Z<=Run Time<12Z 00hr,03hr,06hr,09hr,12hr All
68241-68250 MAPS (RUC-USPS) 12Z<=Run Time<15Z 00hr,03hr,06hr,09hr,12hr All
68251-68260 MAPS (RUC-USPS) 15Z<=Run Time<18Z 00hr,03hr,06hr,09hr,12hr All
68261-68270 MAPS (RUC-USPS) 18Z<=Run Time<21Z 00hr,03hr,06hr,09hr,12hr All
68271-68280 MAPS (RUC-USPS) 21Z<=Run Time<00Z 00hr,03hr,06hr,09hr,12hr All
69001-69010 MDR-ALL ------ All Observational Hours All
72001-72010 NPH-ALL 00Z,06Z,12Z,18Z 00hr < Forecast Time <= 72h All
75001-75010 SST-GLME
00Z 00hr All
75101-75110 SST-GLME2 00Z 00hr All
75201-75210 SST-GLMETHIN 00Z 00hr All
76001-76010 UKM-GLME 00Z,12Z 00hr < Forecast Time <= 120h All
76101-76110 UKM-GLMETHIN 00Z,06Z,12Z,18Z 00hr < Forecast Time <= 72h All
77001-77010 WHG-ALL 00Z,12Z All Forecast Hours out to 60 hours
All
78001-78010 WNA-ALL 00Z,06Z,12Z,18Z 00hr < Forecast Time <= 120h All
79101-79110 WWF-GLMETHIN 00Z,12Z 12hr,24hr,48hr,72hr All

 


[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]