<html><head></head><body><div style="font-family: Verdana;font-size:
12.0px;"><div style="font-family: Verdana;font-size: 12.0px;">
<div>Hi Sean,</div>
<div> </div>
<div>I created a account for GitHub with the same email. My username is
netty-jawn</div>
<div> </div>
<div>
<div><b>Gesendet:</b> Donnerstag, 08. Juli 2021 um 02:01 Uhr
<div style="margin: 10.0px 5.0px 5.0px 10.0px;padding: 10.0px 0 10.0px
10.0px;border-left: 2.0px solid rgb(195,217,229);">
<div style="margin: 0 0 10.0px 0;"><b>Von:</b> "Sean Arms"
<sarms@xxxxxxxx><br/>
<b>An:</b> netty.jawn@xxxxxx<br/>
<b>Cc:</b> netcdf-java@xxxxxxxxxxxxxxxx<br/>
<b>Betreff:</b> Re: [netcdf-java] Negative and unknown enum value</div>
<div>
<div>Thank you for bringing this up and digging into the code! Do you have a
GitHub account? If so, would you mind if I moved this conversation over to
GitHub?
<div>
<div>
<div class="gmail_signature">
<div>Sean</div>
<div> </div>
</div>
</div>
</div>
</div>
<div class="gmail_quote">
<div class="gmail_attr">On Wed, Jul 7, 2021 at 3:45 AM <<a
href="mailto:netty.jawn@xxxxxx"
onclick="parent.window.location.href='mailto:netty.jawn@xxxxxx'; return
false;" target="_blank">netty.jawn@xxxxxx</a>> wrote:</div>
<blockquote class="gmail_quote" style="margin: 0.0px 0.0px 0.0px
0.8ex;border-left: 1.0px solid rgb(204,204,204);padding-left: 1.0ex;">Hi,<br/>
<br/>
after searching for "Vaisala RS41/AUTOSONDE (Finland)" in your
repository, I found this<br/>
<a
href="https://github.com/Unidata/netcdf-java/blob/develop/cdm-core/src/main/resources/resources/wmo/Common_C02_20181107_en.xml"
target="_blank">https://github.com/Unidata/netcdf-java/blob/develop/cdm-core/src/main/resources/resources/wmo/Common_C02_20181107_en.xml</a><br/>
> <Common_C02_20181107_en><br/>
> <No>120</No><br/>
> <DateOfAssignment_en>03/11/2011</DateOfAssignment_en><br/>
> <CodeFigureForrara>24</CodeFigureForrara><br/>
> <CodeFigureForBUFR>124</CodeFigureForBUFR><br/>
> <RadiosondeSoundingSystemUsed_en>Vaisala RS41/AUTOSONDE
(Finland)</RadiosondeSoundingSystemUsed_en><br/>
> <Status>Operational</Status><br/>
> </Common_C02_20181107_en><br/>
<br/>
This file is or should be used here:<br/>
<a
href="https://github.com/Unidata/netcdf-java/blob/develop/cdm-core/src/main/java/ucar/nc2/internal/wmo/CommonCodeTable.java"
target="_blank">https://github.com/Unidata/netcdf-java/blob/develop/cdm-core/src/main/java/ucar/nc2/internal/wmo/CommonCodeTable.java</a><br/>
Unfortunately only C1, C3 and C12 are active at the moment. C2 is commented
out. This explains the "Unknown enum value".<br/>
<br/>
> Gesendet: Montag, 05. Juli 2021 um 15:25 Uhr<br/>
> Von: <a href="mailto:netty.jawn@xxxxxx"
onclick="parent.window.location.href='mailto:netty.jawn@xxxxxx'; return
false;" target="_blank">netty.jawn@xxxxxx</a><br/>
> An: <a href="mailto:netcdf-java@xxxxxxxxxxxxxxxx"
onclick="parent.window.location.href='mailto:netcdf-java@xxxxxxxxxxxxxxxx';
return false;" target="_blank">netcdf-java@xxxxxxxxxxxxxxxx</a><br/>
> Betreff: Re: [netcdf-java] Negative and unknown enum value<br/>
><br/>
> Hi,<br/>
><br/>
> attached is the LSSW-file.<br/>
><br/>
> > Gesendet: Montag, 05. Juli 2021 um 15:23 Uhr<br/>
> > Von: <a href="mailto:netty.jawn@xxxxxx"
onclick="parent.window.location.href='mailto:netty.jawn@xxxxxx'; return
false;" target="_blank">netty.jawn@xxxxxx</a><br/>
> > An: <a href="mailto:netcdf-java@xxxxxxxxxxxxxxxx"
onclick="parent.window.location.href='mailto:netcdf-java@xxxxxxxxxxxxxxxx';
return false;" target="_blank">netcdf-java@xxxxxxxxxxxxxxxx</a><br/>
> > Betreff: [netcdf-java] Negative and unknown enum value<br/>
> ><br/>
> > Hi,<br/>
> ><br/>
> > I am using netcdf-java 5.3.3 to read various bufr-files. It works
very well, but 2 things are strange:<br/>
> ><br/>
> > 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.<br/>
> ><br/>
> > 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.<br/>
> ><br/>
> > Here are my test results:<br/>
> > - BUFR Viewer <a
href="https://kunden.dwd.de/bufrviewer/"
target="_blank">https://kunden.dwd.de/bufrviewer/</a><br/>
> > LSSW 0 02
011 RADIOSONDE TYPE
CODE_TABLE
10** 0 0
8 bits 142
[ 142.000 ]<br/>
> > DWSG 0 02
011 RADIOSONDE TYPE
CODE_TABLE
10** 0 0
8 bits 124
[ 124.000 ]<br/>
> > - toolsUI 5.3.3 <a
href="https://www.unidata.ucar.edu/downloads/netcdf-java/"
target="_blank">https://www.unidata.ucar.edu/downloads/netcdf-java/</a><br/>
> > LSSW
Radiosonde_type = "Unknown enum value=-114" CodeTable
0-2-11<br/>
> > DWSG
Radiosonde_type = "Unknown enum value=124" CodeTable
0-2-11<br/>
> > - toolsUI-5.4.1 Only NULL for both files<br/>
> > - BUFRdisplay <a
href="http://www.elnath.org.uk/"
target="_blank">http://www.elnath.org.uk/</a><br/>
> > LSSW
8,"Radiosonde type","Code table","0-02-011",142
-> Vaisala RS41 with pressure derived from GPS height/AUTOSONDE
(Finland)<br/>
> > DWSG
8,"Radiosonde type","Code table","0-02-011",124
-> Vaisala RS41/AUTOSONDE (Finland)<br/>
> > - ecCodes <a
href="https://confluence.ecmwf.int/display/ECC/Releases"
target="_blank">https://confluence.ecmwf.int/display/ECC/Releases</a><br/>
> > LSSW
"key" : "radiosondeType", "value" : 142,
"units" : "CODE TABLE"<br/>
> > DWSG
"key" : "radiosondeType", "value" : 124,
"units" : "CODE TABLE"<br/>
> ><br/>
> > _______________________________________________<br/>
> > NOTE: All exchanges posted to Unidata maintained email lists are<br/>
> > recorded in the Unidata inquiry tracking system and made publicly<br/>
> > available through the web. Users who post to any of the lists
we<br/>
> > maintain are reminded to remove any personal information that
they<br/>
> > do not want to be made public.<br/>
> ><br/>
> ><br/>
> > netcdf-java mailing list<br/>
> > <a href="mailto:netcdf-java@xxxxxxxxxxxxxxxx"
onclick="parent.window.location.href='mailto:netcdf-java@xxxxxxxxxxxxxxxx';
return false;" target="_blank">netcdf-java@xxxxxxxxxxxxxxxx</a><br/>
> > For list information or to unsubscribe, visit: <a
href="https://www.unidata.ucar.edu/mailing_lists/"
target="_blank">https://www.unidata.ucar.edu/mailing_lists/</a><br/>
> ><br/>
> _______________________________________________<br/>
> NOTE: All exchanges posted to Unidata maintained email lists are<br/>
> recorded in the Unidata inquiry tracking system and made publicly<br/>
> available through the web. Users who post to any of the lists we<br/>
> maintain are reminded to remove any personal information that they<br/>
> do not want to be made public.<br/>
><br/>
><br/>
> netcdf-java mailing list<br/>
> <a href="mailto:netcdf-java@xxxxxxxxxxxxxxxx"
onclick="parent.window.location.href='mailto:netcdf-java@xxxxxxxxxxxxxxxx';
return false;" target="_blank">netcdf-java@xxxxxxxxxxxxxxxx</a><br/>
> For list information or to unsubscribe, visit: <a
href="https://www.unidata.ucar.edu/mailing_lists/"
target="_blank">https://www.unidata.ucar.edu/mailing_lists/</a><br/>
><br/>
<br/>
_______________________________________________<br/>
NOTE: All exchanges posted to Unidata maintained email lists are<br/>
recorded in the Unidata inquiry tracking system and made publicly<br/>
available through the web. Users who post to any of the lists we<br/>
maintain are reminded to remove any personal information that they<br/>
do not want to be made public.<br/>
<br/>
<br/>
netcdf-java mailing list<br/>
<a href="mailto:netcdf-java@xxxxxxxxxxxxxxxx"
onclick="parent.window.location.href='mailto:netcdf-java@xxxxxxxxxxxxxxxx';
return false;" target="_blank">netcdf-java@xxxxxxxxxxxxxxxx</a><br/>
For list information or to unsubscribe, visit: <a
href="https://www.unidata.ucar.edu/mailing_lists/"
target="_blank">https://www.unidata.ucar.edu/mailing_lists/</a></blockquote>
</div>
</div>
</div>
</div>
</div>
</div></div></body></html>