-
Deprecated InterfacesInterfaceDescriptiondo not usedo not usedo not useuse implementations in Filter packagewill move to ucar.nc2.internal.ncmlThis will be internal in ver6.will move in ver6will move in ver 6will move in ver6.do not use.
-
Deprecated ClassesClassDescriptionuse StructureDataFromMemberUse AttributeContainerMutable.Will move to Dap4 module in version 6.do not usedo not useThis will move to another package.SequenceDS will not extend StructureDS in 6.use
NetcdfCopier(library) orNccopy(command line)use ucar.nc2.write.ChunkingIndexWill move to internal module in version 6.use ucar.nc2.write.NcdumpUse NetcdfFile.builder(). Remove in v6use ucar.nc2.write.NetcdfFormatWriter or ucar.nc2.write.NetcdfCopierwill move to ucar.nc2.util in ver 6.will move or be private in ver6do not usewill move in ver 6will move in ver 6All uses will move to java.util.Optional in ver6move in ver6will move in ver6.will move in ver6.will move in ver6.do not use TODO move to inner class of IO if needed.use VariableSimpleBuilderuse VariableSimpleBuilderonly use EarthLocation in 6. This class will be renamed.move to implementation classesonly use LatLonPoint in 6.will move in ver6only use Projection interface in 6; will not implement Serializable in ver6only use ProjectionPoint in 6.only use Station in 6.not part of public API.not part of public API.not part of public API.do not usenot part of public API.
-
Deprecated EnumsEnumDescriptiondo not usedo not useuse NetcdfFileFormat
-
Deprecated FieldsFieldDescriptionmove to jni.Nc4Iospnot public.not public.not public.not public.not public.use Math.PIuse Math.PI/2use Math.PI/4
-
Deprecated MethodsMethodDescriptionuse get1DJavaArray(DataType wantType)use iterator() or foreachuse copyWithName()use copyWithStride()use copyWithName()use copyWithName().use copyWithName()do not useuse builder().appendNullRange()use builder().appendRange(size)use builder().appendRangeuse builder().appendRangeuse builder().appendRangeuse builder().appendRange(r)dont assume evenly strideddont assume evenly strideduse builder().insertRangedont assume evenly strideduse builder()use builder().removeLast()use builder().removeRangeuse builder().removeVlen()use builder().replaceRangeuse builder().setRangeuse StructureDataComposite.make(StructureData... sdatas)use StructureDataComposite.make(StructureData... sdatas)use close() or try-with-resourceuse Builderuse Builderuse Builderuse Builderuse MemberBuilderuse MemberBuilderuse MemberBuilderuse MemberBuilderuse MemberBuilderuse MemberBuilderuse Buildermove to jni.Nc4Iospdo not useUse Attribute.builder()Use Attribute.builder()Use Attribute.builder()Use Attribute.builder()Use Attribute.builder()use CDLWriterwill be removed in version 6.will be removed in version 6.use findAttributeString().use Iterablewill be removed in version 6.will be removed in version 6.will be removed in version 6.use AttributeContainer.filter().do not use.do not usedo not useDo not use.use NetcdfFiles.makeFullName(*)use getFullName() when it exists in ver6.Do not use.Do not use.Replaced by
CDMNode.getShortName()andCDMNode.getFullName()Do not use for Dimension or AttributeDo not use.do not useDo not use.do not useDo not use.Do not use.Do not use.Do not use.Do not use.do not useDo not use.Use CoordinateAxis.fromVariableDS()Use CoordinateAxis.builder()Use CoordinateAxis.builder()Use CoordinateAxis.builder()do not use.use findCoordElement(coordVal)will move in ver 6use findTimeIndexFromCalendarDateuse getCalendarDateRange()use getCalendarDate()use getCalendarDates() to correctly interpret calendarsuse hasCalendarDateuse getEdges()use getEdges()Use CoordinateSystem.builder()Use CoordinateSystem.builder()Use CoordinateTransform.builder()Do not use.Do not use.Do not use.use NetcdfDatasets.acquireDatasetuse NetcdfDatasets.acquireDatasetuse NetcdfDatasets.acquireDatasetuse NetcdfDatasets.acquireDatasetuse NetcdfDatasets.acquireFileucar.nc2.dataset.NetcdfDataset.acquireFile(FileFactory, Object, DatasetUrl, int, CancelTask, Object) use NetcdfDatasets.acquireFileUse NetcdfDataset.builder()Use NetcdfDataset.builder()Use NetcdfDataset.builder()Use NetcdfDataset.builder()do not useUse NetcdfDataset.builder()do not useuse NetcdfDatasets.disableNetcdfFileCacheUse NetcdfDataset.builder()Use NetcdfDataset.builder()Use NetcdfDataset.builder()Do not use.Do not use.do not usedo not usedo not usedo not useuse NetcdfDatasets.getNetcdfFileCacheDo not useuse NetcdfDatasets.initNetcdfFileCacheuse NetcdfDatasets.initNetcdfFileCacheuse ucar.nc2.writer.Nccopyuse Array#makeArray directlyuse NetcdfDatasets.openDatasetuse NetcdfDatasets.openDatasetuse NetcdfDatasets.openDatasetuse NetcdfDatasets.openDatasetuse NetcdfDatasets.openFileuse NetcdfDatasets.openFilethis is moving to Ncml packagedo not usedo not useUse NetcdfDataset.builder()do not usedo not usedo not useUse NetcdfDataset.builder()use Variable.setValues()use Variable.setValues()use NetcdfDatasets.shutdownUse NetcdfDataset.builder()do not useuse NetcdfDatasets.wrapthis will return Projection, not ProjectionImpl in 6.Use StructureDS.builder()Use StructureDS.builder()do not useUse StructureDS.builder()Use StructureDS.builder()Use StructureDS.builder()Use StructurePseudoDS.builder()Use VariableDS.builder()Use NetcdfDataset.builder()Use NetcdfDataset.builder()use implementations in filters packageUse NetcdfDataset.builder()Removed in v6Use VariableDS.builder()Use NetcdfDataset.builder()Use NetcdfDataset.builder()Use NetcdfDataset.builder()Use NetcdfDataset.builder()Use NetcdfDataset.builder()Use NetcdfDataset.builder()Use NetcdfDataset.builder()Use NetcdfDataset.builder()do not usedo not usedo not usedo not usedo not useWill not use in 6.0Do not use.use Dimensions.makeDimensionsAnon()use Dimensions.makeDimensionsList()use Group.makeDimensionsList()use Dimensions.makeDimensionsString()Do not use.Use Dimension.builder()Use Dimension.builder()Use Dimension.builder()Use Dimension.builder()Use Dimension.builder()Use Dimension.builder()Use Dimension.builder()use CDLWriteruse getMap()use CDLWriteruse ucar.nc2.write.NccopyUse Group.builder()Use Group.builder()Use Group.builder()Use Group.builder()Use Group.builder()Use Group.builder()Use Group.builder()Use attributes().findAttributeDouble()Use findAttributeString()Use attributes().findAttributeInteger()use findGroupLocal()use findVariableLocal()Use attributes()Use attributes()will move to dap2 in ver6Use Group.builder()Use Group.builder()Use Group.builder()Use Group.builder()Use Group.builder()Use Group.builder()Use Group.builder()Use Group.builder()Use Group.builder()Use Group.builder()Use Group.builder()use CDLWriterUse build(RandomAccessFile raf, Group.Builder rootGroup, CancelTask cancelTask)do not usedo not useDo not use.use StructureDataDeep.copyToArrayBBuse StructureDataDeep.copyToArrayBBuse Ncdump.ncdump(NetcdfFile nc, String command, Writer out, CancelTask ct)use Ncdump.printArray(Array array, String name, CancelTask ct)will move in ver 6Use NetcdfFile.builder()Use NetcdfFile.builder()Use NetcdfFile.builder()Use NetcdfFile.builder()Use NetcdfFile.builder()Use NetcdfFile.builder()Use NetcdfFile.builder()Use NetcdfFile.builder()use NetcdfFiles.canonicalizeUriStringuse NetcdfFiles.canOpenuse getRootGroup() or Variable attributes().findAttributeString().use g.findVariable(shortName)use g.findVariableByAttribute(String attName, String attValue)Use NetcdfFile.builder()do not useuse ncfile.getRootGroup().getDimensions() for files without nested groups, or recurse through nested groups to get dimensions.do not use.use NetcdfFiles.iospDeRegisteruse NetcdfFiles.iospRegistereduse NetcdfFiles.makeNameUnescapeduse NetcdfFiles.makeValidCDLNameuse NetcdfFiles.makeValidCdmObjectNameuse NetcdfFiles.makeValidPathNameuse NetcdfFiles.makeValidSectionSpecNameuse NetcdfFiles.openuse NetcdfFiles.openuse NetcdfFiles.openuse NetcdfFiles.openuse NetcdfFiles.openuse NetcdfFiles.openuse NetcdfFiles.openInMemoryuse NetcdfFiles.openInMemoryuse NetcdfFiles.openInMemoryuse NetcdfFiles.openInMemorydo not useuse readSection(), flatten=false no longer supportedwill be moved to DODSNetcdfFile in version 6.use use getRootGroup() or Variable attributes().findAttributeDoubleuse use getRootGroup() or Variable attributes().findAttributeIntegeruse NetcdfFiles.registerIOProvideruse NetcdfFiles.registerIOProvideruse NetcdfFiles.registerIOProvideruse NetcdfFiles.registerIOProviderdo not useUse NetcdfFile.builder()Use NetcdfFile.builder()do not usedo not useUse NetcdfFile.builder()Use NetcdfFile.builder()Use NetcdfFile.builder()do not useUse NetcdfFile.builder()Use NetcdfFile.builder()do not useuse CDLWriteruse CDLWriterUse Structure.builder()will be private in ver6, where Structure will be immutable.use readStructure(0)Use Structure.builder()Use Structure.builder()Use Structure.builder()Use Structure.builder()Use Structure.builder()use CalendarDate add(CalendarPeriod period)use isoStringToCalendarDateAs of 4.3.10 useCalendarDateFormatter.isoStringToDate(String)insteaddont use because these are fixed length and thus approximate.As of netCDF-JAVA 4.3.10. UseCalendarDateFormatter.isoStringToDate(String)insteaduse toDateOnlyStringdo not usedo not useuse getCalendarDate()use constructor to set options, then compare(NetcdfFile org, NetcdfFile copy)use constructor to set options, then compare(NetcdfFile org, NetcdfFile copy, ObjFilter filter)do not usedo not useuse copyMaxBytes()use Integer.compare(x, y)use Long.compare(x, y)use ImmutableList.copyOf(iterator) or Lists.newArrayList(iterator)use Iterables.size(Iterable it)use Arrays.toString(arr)use Arrays.toString(arr)use Arrays.toString(arr)use Arrays.toString(arr)use List.toString()do not useUse Variable.builder()Use Variable.builder()Use attributes()Use attributes()Use attributes()Use attributes()Will be moved to opendap package in 6.Will be moved to opendap package in 6.use Dimensions.makeDimensionsAll(Variable);use getNameAndDimensions(StringBuilder buf)use CDLWriteruse CDLWriterWill go away in ver6, shouldn't be needed when builders are used.Use Variable.builder()use Dimensions.makeDimensionsAll(Variable);Use Variable.builder()Use attributes()Use Variable.builder()use isVariableLength()do not useUse Variable.builder()Use Variable.builder()Use Variable.builder()Use Variable.builder()Use Variable.builder()Use Variable.builder()Use Variable.builder()Use Variable.builder()Use Variable.builder()Use Variable.builder()Use Variable.builder()Use Variable.builder()Use Variable.builder()Use Variable.builder()Use Variable.builder()Use Variable.builder()Use Variable.builder()Use Variable.builder()Use Variable.builder()Use Variable.builder()Use Variable.builder()Do not use.Use Variable.builder()Use Variable.builder()use CDLWriterUse attributes()Use attributes()Use attributes()use getFullName or getShortNamedo not usedo not usedo not usedo not usedo not usedo not usewill return LatLonPoint in 6.will return LatLonPoint in 6.use findPoint(Earth e, double lat1, double lon1, double az, double dist)will return LatLonPoint in 6.will return LatLonPoint in 6.use WGS84_EARTH_RADIUS_METERSuse LatLonPoints.betweenLonuse LatLonPoints.getClockwiseDistanceTouse LatLonPoints.latNormaluse LatLonPoints.latToStringuse LatLonPoints.lonDiffuse LatLonPoints.lonNormaluse LatLonPoints.lonNormaluse LatLonPoints.lonNormal360use LatLonPoints.lonNormalFromuse LatLonPoints.lonToStringuse LatLonPoints.range180use LatLonPoints.toStringuse LatLonRect.extend()use LatLonRect.extend()Do not use.use latLonToProj(LatLonPoint latlon)use projToLatLon(ProjectionPoint ppt)use Projections.projToLatLonBB(Projection proj, ...)do not useuse Projections.latLonToProj(Projection proj, ...)use Projections.latLonToProj(Projection proj, ...)use Projections.latLonToProj(Projection proj, ...)use Projections.latLonToProj(Projection proj, ...)use Projections.latLonToProj(Projection proj, ...)use Projections.latLonToProj(Projection proj, ...)use Projections.latLonToProj(Projection proj, ...)use Projections.latLonToProj(Projection proj, ...)use latLonToProj(LatLonPoint latLon)use Projections.latLonToProj(Projection proj, ...)use Projections.latLonToProj(Projection proj, ...)use Projections.latLonToProj(Projection proj, ...)use Projections.latLonToProj(Projection proj, ...)use projToLatLon(ProjectionPoint ppt)do not useuse builderuse builderuse LatLonPoints.isInfiniteuse builderuse builderuse builderuse builderuse builderuse builderuse builderuse builderuse builderdo not use.do not use.do not use.do not use.do not use.do not use.do not use.do not usedo not usedo not use.do not use.do not use
-
Deprecated ConstructorsConstructorDescriptionuse StructureDataComposite.make(StructureData... sdatas)use StructureDataW(StructureMembers members)use Builderuse toBuilder().build(false) to make a copy with no datause MemberBuilderuse MemberBuilderUse Attribute.builder()Use Attribute.builder()Use Attribute.builder()Use Attribute.builder()Use Attribute.builder()Use Attribute.toBuilder().build();Use Attribute.builder()Use CoordinateAxis.builder()Use CoordinateAxis1D.builder()Use CoordinateAxis1D.builder()Use CoordinateAxis2D.builder()Use CoordinateSystem.builder()Use CoordinateTransform.builder()use create()Use NetcdfDataset.builder()Use NetcdfDataset.builder()Use NetcdfDataset.builder()Use NetcdfDataset.builder()Use NetcdfDataset.builder()Use StructureDS.builder()Use StructureDS.builder()Use StructureDS.builder()Use StructureDS.builder()Use StructurePseudoDS.builder()Use NetcdfDataset.builder()Use NetcdfDataset.builder()Use NetcdfDataset.builder()use builderuse builderUse Dimension.builder()Use Dimension.builder()Use Group.builder()use NetcdfFiles.open( location) or NetcdfDatasets.openFile( location)use NetcdfFiles.open( http:location) or NetcdfDatasets.openFile( http:location)use Builder.Use Structure.builder()Use Structure.builder()Use Variable.builder()Use Variable.builder()Use Variable.builder()Use Variable.builder()use EarthLocation.createuse LatLonPoint.createuse LatLonPoint.createuse LatLonPoint.createuse ProjectionPoint.createuse ProjectionPoint.createuse ProjectionPoint.create