ucar.nc2.Dimension.addCoordinateVariable(Variable)
- do not use
|
thredds.catalog.InvService.addDatasetRoot(InvProperty)
use InvCatalogImpl
|
thredds.catalog.InvDatasetImpl.addService(InvService)
put services in catalog
|
ucar.nc2.NetcdfFileWriteable.addVariable(String, Class, Dimension[])
use addVariable(String varName, DataType dataType, ArrayList dims);
|
ucar.ma2.Range.appendShape(List, int)
use Section.appendRange(int size)
|
ucar.nc2.util.net.HttpClientManager.appendUrlContentsToFile(HTTPSession, String, File, long, long) |
ucar.nc2.util.net.HTTPSSLScheme.authenticate(Credentials, HttpRequest) |
ucar.unidata.geoloc.LatLonPointImpl.betweenLon(double, double, double) |
ucar.ma2.Range.checkInRange(List, int[])
use Section.checkInRange(int shape[])
|
ucar.ma2.Range.computeSize(List)
use Section.computeSize()
|
ucar.nc2.util.net.HttpClientManager.copyUrlContentsToFile(HTTPSession, String, File) |
ucar.nc2.FileWriter.copyVarData(NetcdfFileWriteable, List, Structure, long) |
ucar.nc2.iosp.netcdf3.N3iosp.createValidNetcdf3ObjectName(String)
use makeValidNetcdfObjectName
|
ucar.nc2.util.URLnaming.escapeQuery(String) |
ucar.ma2.Range.factory(int[])
use Section(int[] shape)
|
ucar.ma2.Range.factory(int[], int[])
use Section(int[] origin, int[] shape)
|
ucar.nc2.dt.grid.GridDataset.factory(String)
: use GridDataset.open().
|
ucar.nc2.dataset.CoordinateAxis1D.findCoordElement(double, int)
use findCoordElement(coordVal)
|
ucar.nc2.dataset.CoordinateAxis1DTime.findTimeIndexFromDate(Date)
use findTimeIndexFromCalendarDate
|
ucar.nc2.dt.grid.GridCoordSys.findTimeIndexFromDate(Date)
use CoordinateAxis1DTime.findTimeIndexFromDate
|
ucar.nc2.dt.grid.GridCoordSys.findXYCoordElement(double, double, int[])
use findXYindexFromCoord
|
ucar.nc2.ft.NestedPointFeatureCollection.flatten(LatLonRect, DateRange)
use CalendarDateRange
|
ucar.nc2.ft.StationTimeSeriesFeatureCollection.flatten(List, DateRange, List)
use CalendarDateRange
|
ucar.units.SimpleCharStream.getColumn() |
ucar.units.ASCII_CharStream.getColumn() |
ucar.nc2.util.net.HttpClientManager.getContentAsString(HTTPSession, String) |
ucar.nc2.Dimension.getCoordinateVariables()
- do not use
|
thredds.catalog.InvCatalog.getDataset()
use getDatasets()
|
ucar.nc2.dt.grid.GeoGrid.getDataSlice(int, int, int, int)
use readDataSlice
|
ucar.nc2.units.DateType.getDate()
use getCalendarDate()
|
ucar.nc2.dataset.CoordinateAxis1DTime.getDateRange()
use getCalendarDateRange()
|
ucar.nc2.ft.PointFeatureCollection.getDateRange()
use getCalendarDateRange()
|
ucar.nc2.ft.PointFeatureIterator.getDateRange()
use getCalendarDateRange()
|
ucar.nc2.ft.FeatureDataset.getDateRange()
use getCalendarDateRange
|
ucar.nc2.dt.GridCoordSystem.getDateRange()
use getCalendarDateRange()
|
ucar.nc2.dt.grid.GridDataset.getDateRange()
use getCalendarDateRange
|
ucar.nc2.dt.grid.GridCoordSys.getDateRange()
use getCalendarDateRange
|
ucar.nc2.ft.FeatureDataset.getEndDate()
use getCalendarDateEnd
|
ucar.nc2.dt.grid.GridDataset.getEndDate()
use getEndCalendarDate
|
thredds.catalog.InvService.getFullName()
services should always be at top level.
|
ucar.nc2.dt.grid.GridDataset.Gridset.getGeoCoordSys()
use getGeoCoordSystem() if possible.
|
ucar.ma2.Array.getIndexIteratorFast()
use getIndexIterator
|
ucar.nc2.units.DateFormatter.getISODate(String)
|
ucar.nc2.dt.grid.GridCoordSys.getLatLonBoundingBox(LatLonRect)
use getRangesFromLatLonRect.
|
ucar.units.SimpleCharStream.getLine() |
ucar.units.ASCII_CharStream.getLine() |
ucar.nc2.CDMNode.getName()
|
ucar.nc2.VariableSimpleIF.getName()
use getFullName or getShortName
|
ucar.nc2.Variable.getNameAndDimensions(StringBuffer)
use getNameAndDimensions(StringBuilder buf)
|
ucar.nc2.ft.PointFeature.getNominalTimeAsDate()
use getNominalTimeAsCalendarDate()
|
ucar.nc2.ft.PointFeature.getObservationTimeAsDate()
use getObservationTimeAsCalendarDate()
|
ucar.ma2.Range.getOrigin(List)
use Section.getOrigin()
|
ucar.ma2.Range.getShape(List)
use Section.getShape()
|
ucar.nc2.units.DateFormatter.getStandardDateOnlyString(Date)
use toDateOnlyString
|
ucar.nc2.units.DateFormatter.getStandardDateString(Date)
use toDateTimeStringISO
|
ucar.nc2.units.DateFormatter.getStandardDateString2(Date)
use toDateTimeString
|
ucar.nc2.ft.FeatureDataset.getStartDate()
use getCalendarDateStart
|
ucar.nc2.dt.grid.GridDataset.getStartDate()
use getStartCalendarDate
|
ucar.nc2.dataset.CoordinateAxis1DTime.getTimeDate(int)
use getCalendarDate()
|
ucar.nc2.dataset.CoordinateAxis1DTime.getTimeDates()
use getCalendarDates() to correctly interpret calendars
|
ucar.nc2.dt.grid.GridCoordSys.getTimeDates()
use getCalendarDates
|
ucar.nc2.dt.grid.GridCoordSys.getTimeIndex(String) |
ucar.nc2.dt.grid.GridCoordSys.getTimeName(int) |
ucar.nc2.dt.grid.GeoGrid.getUnitString()
use getUnitsString()
|
ucar.nc2.util.net.HttpClientManager.getUrlContentsAsString(HTTPSession, String, int) |
ucar.nc2.time.CalendarPeriod.getValueInMillisecs()
dont use because these are fixed length and thus approximate.
|
ucar.nc2.dataset.CoordinateAxis1DTime.hasTime(Date)
use hasCalendarDate
|
ucar.nc2.time.CalendarDateFormatter.isoStringToDate(String)
use isoStringToCalendarDate
|
ucar.nc2.Variable.isUnknownLength()
use isVariableLength()
|
ucar.nc2.iosp.netcdf3.N3iosp.isValidNetcdf3ObjectName(String)
use isValidNetcdfObjectName
|
ucar.nc2.dataset.NetcdfDataset.makeArray(DataType, List)
use Array#makeArray directly
|
ucar.nc2.dataset.CoordSysBuilder.makeDummyTransformVariable(NetcdfDataset, CoordinateTransform)
use CoordTransBuilder.makeDummyTransformVariable
|
thredds.catalog.InvDatasetScan.makeLatestCatalogForDirectory(String, URI)
|
ucar.ma2.Range.makeSectionSpec(List)
use Section.toString()
|
ucar.nc2.iosp.netcdf3.N3iosp.makeValidNetcdf3ObjectName(String)
use makeValidNetcdfObjectName
|
ucar.ma2.Range.max()
use last()
|
ucar.ma2.Range.min()
use first()
|
ucar.nc2.dt.DataIterator.next()
use nextData()
|
ucar.nc2.time.CalendarDateRange.of(DateRange) |
ucar.nc2.time.CalendarDateFormatter.parseISODate(String)
|
ucar.ma2.Range.parseSpec(String)
use new Section(String sectionSpec)
|
ucar.nc2.NetcdfFile.read(String, boolean)
use readSection(), flatten=false no longer supported
|
ucar.nc2.iosp.grid.GridDefRecord.readDouble(String)
use getParamDouble(String key)
|
thredds.catalog.InvDatasetImpl.removeService(InvService)
put services in catalog
|
ucar.nc2.util.DiskCache2.setCachePathPolicy(int, String)
use setCachePathPolicy(CachePathPolicy cachePathPolicy, String cachePathPolicyParam)
|
ucar.unidata.geoloc.projection.Stereographic.setCentralMeridian(double) |
thredds.catalog.InvCatalogImpl.setDataset(InvDatasetImpl)
Use addDataset() instead; datamodel now allows multiple top level datasets.
|
ucar.nc2.ft.PointFeatureCollection.setDateRange(DateRange)
use setCalendarDateRange()
|
ucar.ma2.Range.setDefaults(List, int[])
use Section.setDefaults(int[] shape)
|
ucar.nc2.iosp.grid.GridServiceProvider.setExtendIndex(boolean)
use setIndexFileModeOnSync and setIndexFileModeOnOpen
|
ucar.nc2.NetcdfFileWriteable.setName(String)
use NetcdfFileWriteable.createNew(String filename);
|
ucar.nc2.util.DiskCache2.setPolicy(DiskCache2.CachePathPolicy)
use setCachePathPolicy(CachePathPolicy cachePathPolicy, String cachePathPolicyParam)
|
ucar.nc2.util.DiskCache2.setPolicy(int)
use setCachePathPolicy(CachePathPolicy cachePathPolicy, String cachePathPolicyParam)
|
ucar.unidata.geoloc.projection.Stereographic.setScale(double) |
ucar.unidata.geoloc.projection.Stereographic.setTangentLat(double) |
ucar.unidata.geoloc.projection.Stereographic.setTangentLon(double) |
ucar.nc2.dataset.NetcdfDataset.setValues(Variable, int, double, double)
use Variable.setValues()
|
ucar.nc2.dataset.NetcdfDataset.setValues(Variable, List)
use Variable.setValues()
|
ucar.nc2.ft.StationTimeSeriesFeature.subset(DateRange)
use subset(CalendarDateRange dateRange)
|
thredds.catalog.InvCatalogImpl.subset(InvDataset)
in favor of thredds.catalog.util.DeepCopyUtils.subsetCatalogOnDataset
|
ucar.nc2.ft.PointFeatureCollection.subset(LatLonRect, DateRange)
use CalendarDateRange
|
ucar.ma2.Range.toArray(List)
use Section.getRanges()
|
ucar.nc2.time.CalendarDate.toDate()
does not handle non-standard Calendars
|
ucar.nc2.time.CalendarDateRange.toDateRange() |
ucar.nc2.units.DateFormatter.toDateString(Date)
use toDateOnlyString
|
ucar.ma2.Range.toList(Range[])
use Section.getRanges()
|
ucar.ma2.Range.toString(List)
use Section.toString()
|
thredds.catalog.InvDatasetImpl.writeHtmlDescription(StringBuilder, InvDatasetImpl, boolean, boolean, boolean, boolean)
|
ucar.nc2.FileWriter.writeToFile(NetcdfFile, String, boolean, int) |
ucar.nc2.FileWriter.writeToFile(NetcdfFile, String, boolean, int, boolean) |