Fix deprecation warnings from upgrading Java NetCDF library [0]