Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
ExampleDescription
grib_clonehow to create a new GRIB message by cloning an existing message.
grib_ensemble_indexindex a GRIB file, select a specific parameter and compute ensemble mean.
grib_get_keyshow to get values using keys from GRIB messages
grib_indexHow to create and use an index to access GRIB messages from a file. Demo also loading and writing an index from a file.
grib_iterator_bitmapHow to use an iterator on lat/lon/values and query the bitmap for missing values (rather than compare each value with the missingValue key)
grib_iteratorhow to use an iterator on lat/lon/values for GRIB messages
grib_keys_iteratorHow to use keys_iterator to get all the available keys in a message.
grib_multi_writehow to create a multi field message in memory and write it in a file. The multi field messages can be created only in GRIB edition 2.
grib_multiHow to decode GRIB messages containing multiple fields. Try to turn on and off multi support to see the difference. Default is OFF. For all the tools default is multi support ON.
grib_nearesthow to use codes_grib_find_nearest and codes_get_element
grib_precisionhow to control decimal precision when packing fields.
grib_print_dataprints all the data contained in a GRIB file
grib_set_bitmaphow to set a bitmap in a GRIB message
grib_set_dataset the data contained in a GRIB file
grib_set_pvhow to set pv values in a GRIB message
grib_set_keyshow to set key values in GRIB messages

 

(Note: the sample data used in the examples are available from the Releases page)