Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mdpiper/grib-helper-lib
IDL routines for accessing information in GRIB files
https://github.com/mdpiper/grib-helper-lib
Last synced: 13 days ago
JSON representation
IDL routines for accessing information in GRIB files
- Host: GitHub
- URL: https://github.com/mdpiper/grib-helper-lib
- Owner: mdpiper
- License: mit
- Created: 2014-09-27T21:24:30.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-09-28T20:51:42.000Z (over 10 years ago)
- Last Synced: 2024-06-12T17:33:25.239Z (7 months ago)
- Language: IDL
- Size: 141 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IDL GRIB Helper Library
IDL's [GRIB API](http://www.exelisvis.com/docs/GRIB_Routines.html) is
built on the C version of the
[ECMWF GRIB-API](https://software.ecmwf.int/wiki/display/GRIB/Home).
The IDL routines mirror those of the low-level ECMWF API, so it
requires a bit of programming to get even basic information from a
GRIB file.The following routines,
built with IDL's GRIB API,
make it easier
to work with GRIB files:* `GRIB_INVENTORY`: Creates an inventory of a GRIB file, returned
as a string array. This is similar to using
[wgrib](http://www.cpc.ncep.noaa.gov/products/wesley/wgrib.html) or
[wgrib2](http://www.cpc.ncep.noaa.gov/products/wesley/wgrib2/) with
the "-s" option.
* `GRIB_GET_RECORD`: Gets a single record, selected by index, from a
GRIB file.
* `GRIB_GET_PARAMETERNAMES`: Gets the value of the `parameterName`,
`name`, `shortName` or `cfName` key from each record in a GRIB
file.
* `GRIB_GET_PARAMETER`: Uses `GRIB_GET_PARAMETERNAMES` and
`GRIB_GET_RECORD` to extract all the records in a GRIB file with
a given parameter name.The IDL GRIB Helper Library
routines can be called from the IDL command line or used as
library routines in programs.Although these routines have been tested on a variety of GRIB1 and GRIB2 files
from ECMWF, NCEP, NCAR, NOAA and AFWA,
GRIB is a tricky format,
so there's
no guarantee that they'll work with every GRIB file.