You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

How do I know what the native type of a key value is?

Step-by-step guide

For the moment there is no simple way of knowing what the type of a key value is. However, the library provides a function that can be used to find out what the native type of a key value is.

  1. The function, available only in the C API, is called 'grib_get_native_type'. Possible key value types are the following: undefined, long, double, string, bytes, section, label or missing. It is not possible at the moment to know if the value of a key is of type scalar or vector.


There is no content with the specified labels


  • No labels