pdbufr icon indicating copy to clipboard operation
pdbufr copied to clipboard

Allow to specify ecCodes key type

Open sandorkertesz opened this issue 4 years ago • 0 comments

Some ecCodes keys like centre can be accessed both as number and string. It would be great if pdbufr could support the ecCodes type notations (see e.g. bufr_ls) to specify the return type of the key values. The notation is simply based on adding the :[d,i,s] suffix to a key to specify a float, int or string return type. For example, for an ECMWF BUFR message centre:s would result in "ecmf" while centre:i would result in 98.

sandorkertesz avatar Nov 10 '20 17:11 sandorkertesz