Hi, attached is the LSSW-file. > Gesendet: Montag, 05. Juli 2021 um 15:23 Uhr > Von: netty.jawn@xxxxxx > An: netcdf-java@xxxxxxxxxxxxxxxx > Betreff: [netcdf-java] Negative and unknown enum value > > Hi, > > I am using netcdf-java 5.3.3 to read various bufr-files. It works very well, > but 2 things are strange: > > 1. Compared to other tools, I got sometimes different values for the variable > "obs.Radiosonde_type", -114 in this case. This is a invalid value, since the > values of this enum are only positive. > > 2. I also got "Unknown enum value" for several enums, for example > "obs.Radiosonde_type". In netcdf-java 5.4.1 these values are NULL. I am not > sure, if this a problem with your library, since many (not all) enums can be > transformed to string (NetcdfDatasets does this job) and only BUFRdisplay was > able to transform "obs.Radiosonde_type" for me. > > Here are my test results: > - BUFR Viewer https://kunden.dwd.de/bufrviewer/ > LSSW 0 02 011 RADIOSONDE TYPE > CODE_TABLE 10** 0 0 8 bits 142 [ 142.000 > ] > DWSG 0 02 011 RADIOSONDE TYPE > CODE_TABLE 10** 0 0 8 bits 124 [ 124.000 > ] > - toolsUI 5.3.3 https://www.unidata.ucar.edu/downloads/netcdf-java/ > LSSW Radiosonde_type = "Unknown enum value=-114" CodeTable > 0-2-11 > DWSG Radiosonde_type = "Unknown enum value=124" CodeTable > 0-2-11 > - toolsUI-5.4.1 Only NULL for both files > - BUFRdisplay http://www.elnath.org.uk/ > LSSW 8,"Radiosonde type","Code table","0-02-011",142 -> > Vaisala RS41 with pressure derived from GPS height/AUTOSONDE (Finland) > DWSG 8,"Radiosonde type","Code table","0-02-011",124 -> > Vaisala RS41/AUTOSONDE (Finland) > - ecCodes https://confluence.ecmwf.int/display/ECC/Releases > LSSW "key" : "radiosondeType", "value" : 142, "units" : > "CODE TABLE" > DWSG "key" : "radiosondeType", "value" : 124, "units" : > "CODE TABLE" > > _______________________________________________ > NOTE: All exchanges posted to Unidata maintained email lists are > recorded in the Unidata inquiry tracking system and made publicly > available through the web. Users who post to any of the lists we > maintain are reminded to remove any personal information that they > do not want to be made public. > > > netcdf-java mailing list > netcdf-java@xxxxxxxxxxxxxxxx > For list information or to unsubscribe, visit: > https://www.unidata.ucar.edu/mailing_lists/ >
Attachment:
Z__C_LSSW_20210701010100_aero1,IUSD01_LSSW_010000____RASO.bin
Description: Binary data
netcdf-java
archives: