This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Art, Garp will try to match the "model_key" against the 1st column of the datatype.tbl file (eg the file type). If no match is found there, it will then look for the string in file names within the $(grids) directory. The datatype.tbl matching is the filetype alias in its entirety, so a model key of eta218 would match ETA218 in datatype.tbl, but a modelkey of _eta218.gem would not match ETA218 in datatype.tbl. When using the model key "eta218", it will match the entry in datatype.tbl, but if the datatype.tbl didn't have that as an entry, it would look for the string "eta218" within the $(grid) directory which should be $GEMDATA/model. That substring matching is what is problematic for Garp in a number of instances. Note however, Garp only supports 1 $(grid) directory, whereas datatype.tbl allows a different directory for each file type. Also, by using the filetype alias, Garp will now support files which use the FFF template, where this would create problems for the string matching that Garp does by default since it would consider multiple files as having the same time in them. That is, if you are going to use the modelkeys as previous, you would have to keep all your grids in the same directory and not use the FFF template in file names. Steve Chiswell Unidata User Support >From: "Arthur A. Person" <address@hidden> >Organization: UCAR/Unidata >Keywords: 200412101634.iBAGYllI016910 >Hi... > >I would like more details on how garp determines the path to use when >looking for model data in the new gempak 5.7.4 distribution. Does it use >the 1st (file type) or 3rd (file template) entry in the >$GEMTBL/config/datatype.tbl file to determine the path? What name parts >is it matching (e.g. "model key" garp entries against "file type" in the >datatype.tbl file?). From my few experiments, it appears to use the first >column in the datatype.tbl file, but there are apparently restrictions. >E.g., it works for "ETA218" but not for "_ETA218.GEM". > > Thanks. > > Art. > >Arthur A. Person >Research Assistant, System Administrator >Penn State Department of Meteorology >email: address@hidden, phone: 814-863-1563 > -- NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.