pdbufr icon indicating copy to clipboard operation
pdbufr copied to clipboard

Support rank notation in ecCodes keys

Open sandorkertesz opened this issue 4 years ago • 1 comments

ecCodes supports the #n#key notation to get the n-th value for a given key in a BUFR message. It would be great if pdbufr allowed for this notation. E.g this code

columns = ["latitude", "longitude", "#1#airTemperature"] 
res = pdbufr.read_bufr(path, columns=columns)

could return only the first airTemperature value from each message in a radiosonde BUFR file.

sandorkertesz avatar Nov 10 '20 11:11 sandorkertesz