How to write Institut in grib file
Added by Isabella Ascione over 5 years ago
Hi
When I display attributes of a grib file I have, I get
cdo sinfon file.grib
File format : GRIB
-1 : Institut Source T Steptype Levels Num Points Num Dtype : Parameter name
1 : unknown unknown v instant 24 1 111375 1 P16 : var38
I would like to change the Institut from unknown to a different value. How can I achieve this using cdo?
what is the meaning of Dtype P16?
Thank you for your help
Replies (2)
RE: How to write Institut in grib file - Added by Ralf Mueller over 5 years ago
Hi Isabella!
I am not sure, how much you know about GRIB file format.
P16
is an indicator for the compression factor of the grib records- meta-data like
institute
,variable names
and so on are saved as integers or triplets of them following the GRIB standard (see here for a little docu)
For handling grib1 and grib2 files, the eccodes library (including some command line tools) is very useful.
hth
ralf
RE: How to write Institut in grib file - Added by Isabella Ascione over 5 years ago
Hi,
I do not know much about the GRIB format. Can cdo be used to edit the Institut from unknown to something else?
thank you