Closed blaylockbk closed 2 years ago
I'm a bit naïve to how bufr files are organized, but I hope that pdbufr can read sounding files from NCEP's HRRR model. Can you offer any tips on how to read and filter this type of file with pdbufr if that is possible?
Here is an example file: https://noaa-hrrr-bdp-pds.s3.amazonaws.com/hrrr.20210927/conus/bufrsnd.t00z/bufr.000000.2021092700
When I try to read this file with pdbufr,
FILE = "bufr.000000.2021092700" pdbufr.read_bufr(FILE, columns=('latitude', 'longitude', 'airTemperature'))
I get HashArrayNoMatchError: Hash array no match. I wonder if this has to do with the subsets in the file structure.
HashArrayNoMatchError: Hash array no match
When I list the contents of the file with bufr_ls, I get this...
bufr_ls bufr.000000.2021092700 | head centre masterTablesVersionNumber localTablesVersionNumber typicalDate typicalTime numberOfSubsets kwbc 29 1 20000000 000000 1 kwbc 29 1 20000000 000000 1 kwbc 29 1 20000000 000000 0 kwbc 29 0 20210927 000000 91 kwbc 29 0 20210927 000000 91 kwbc 29 0 20210927 000000 91 kwbc 29 0 20210927 000000 91 kwbc 29 0 20210927 000000 91
This BUFR file is in PREPBUFR format which is not currently supported by ecCodes
Ahh, gotcha. Thanks for the info!
I'm a bit naïve to how bufr files are organized, but I hope that pdbufr can read sounding files from NCEP's HRRR model. Can you offer any tips on how to read and filter this type of file with pdbufr if that is possible?
Here is an example file: https://noaa-hrrr-bdp-pds.s3.amazonaws.com/hrrr.20210927/conus/bufrsnd.t00z/bufr.000000.2021092700
When I try to read this file with pdbufr,
I get
HashArrayNoMatchError: Hash array no match
. I wonder if this has to do with the subsets in the file structure.When I list the contents of the file with bufr_ls, I get this...