NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

[netcdf-java] Minor bug in ucar.nc2.NetcdfFile

Hello all

The cdm/src/main/java/ucar/nc2/NetcdfFile.java file on trunk (revision 14340) seems to have a minor bug at line 1433. The current code is:

    if (id == null)
      setId(findAttValueIgnoreCase(null, "_Id", null));
    if (title == null)
      setId(findAttValueIgnoreCase(null, "_Title", null));


I presume that the last line should be:

      setTitle(findAttValueIgnoreCase(null, "_Title", null));



    Regards,

        Martin