[netcdf-java] Difference between netcdfJava 4.6.5 and 4.6.6

Using the file downloaded a week ago from
http://data.nodc.noaa.gov/thredds/catalog/testdata/wod_ragged/05052016/catalog.html?dataset=testdata/wod_ragged/05052016/ind199105_ctd.nc
(and hopefully unchanged since),
if I use this Java code to dump the values of 3 scalar variables
        StringWriter sw = new StringWriter();
        NCdumpW.print(String2.unitTestDataDir + "nccf/ncei/ind199105_ctd.nc
",
            sw, false, false, false, false, "crs;WODf;WODfd", //;-separated
            null /*cancel*/);
        System.out.println(sw.toString());

with netcdfAll-4.6.5.jar, I get:
...
 data:
crs =0
WODf =0
WODfd =0

with netcdfAll-4.6.6.jar, I get:
...
 data:
crs =-2147483647
WODf =-32767
WODfd =-32767

I suspect that the 4.6.5 results are correct, but I'm not certain.
If so, then it is a bug in 4.6.6.
If not, then please let me know.
Or maybe I'm doing something wrong.
Can you please investigate?
Thank you.

If I should report this some other place/way, please let me know.

-- 
Sincerely,

Bob Simons
IT Specialist
Environmental Research Division
NOAA Southwest Fisheries Science Center
99 Pacific St., Suite 255A      (New!)
Monterey, CA 93940               (New!)
Phone: (831)333-9878            (New!)
Fax:   (831)648-8440
Email: bob.simons@xxxxxxxx

The contents of this message are mine personally and
do not necessarily reflect any position of the
Government or the National Oceanic and Atmospheric Administration.
<>< <>< <>< <>< <>< <>< <>< <>< <><
  • 2016 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: