Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

[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



  • 2011 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: