Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagetext
% grib_dump -t -p identifier my.grib
  # type ascii (str)
  #-READ ONLY- identifier = GRIB;

% grib_dump -t -p typeOfProcessedData my.grib
  # type codetable (int)
  # Analysis and forecast products (grib2/tables/4/1.4.table)  
  typeOfProcessedData = 2;

% grib_dump -t -p numberOfDataPoints my.grib
  # type unsigned (int)
  numberOfDataPoints = 496;

% grib_dump -t -p scaleFactorOfFirstFixedSurface my.grib
  # type signed (int)
  scaleFactorOfFirstFixedSurface = MISSING;

% grib_dump -t -p referenceValue my.grib
  # type ieeefloat (double)
  #-READ ONLY- referenceValue = 45.67;

Here you can see that the key "identifier" is of type string and "referenceValue" is a double.we see several keys in a GRIB2 message with their respective types:

  • "ascii" means a string (character array)
  • "signed" means an integer which can be negative
  • "unsigned" is a non-negative integer
  • "codetable" means an integer whose values come from entries in the given Code Table e.g. 1.4
  • "ieeefloat" is a floating-point number (https://en.wikipedia.org/wiki/IEEE_754)

Content by Label
showLabelsfalse
max5
spaces~usa
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("kb-how-to-article","eccodes-faqs","grib","keys","type") and type = "page" and space = "UDOC"
labelskb-how-to-article

...