Package ucar.nc2.dataset.transform
Class CFSigma
- java.lang.Object
-
- ucar.nc2.dataset.transform.AbstractTransformBuilder
-
- ucar.nc2.dataset.transform.CFSigma
-
- All Implemented Interfaces:
VertTransformBuilderIF
public class CFSigma extends AbstractTransformBuilder implements VertTransformBuilderIF
Create a atmosphere_sigma_coordinate Vertical Transform from the information in the Coordinate Transform Variable. *
-
-
Field Summary
-
Fields inherited from class ucar.nc2.dataset.transform.AbstractTransformBuilder
earth, earth_radius, false_easting, false_northing, lat0, lon0
-
-
Constructor Summary
Constructors Constructor Description CFSigma()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetTransformName()Get the Transform name.TransformTypegetTransformType()VerticalCTmakeCoordinateTransform(NetcdfDataset ds, AttributeContainer ctv)Make a vertical CoordinateTransform from a Coordinate Transform Variable.VerticalTransformmakeMathTransform(NetcdfDataset ds, Dimension timeDim, VerticalCT vCT)Make a VerticalTransform.StringtoString()-
Methods inherited from class ucar.nc2.dataset.transform.AbstractTransformBuilder
addParameter, getFalseEastingScaleFactor, getFalseEastingScaleFactor, getGeoCoordinateUnits, readAttributeDouble, setErrorBuffer
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ucar.nc2.dataset.transform.VertTransformBuilderIF
setErrorBuffer
-
-
-
-
Method Detail
-
getTransformName
public String getTransformName()
Description copied from interface:VertTransformBuilderIFGet the Transform name. Typically this is matched on by an attribute in the dataset.- Specified by:
getTransformNamein interfaceVertTransformBuilderIF- Specified by:
getTransformNamein classAbstractTransformBuilder- Returns:
- name of the transform.
-
getTransformType
public TransformType getTransformType()
-
makeCoordinateTransform
public VerticalCT makeCoordinateTransform(NetcdfDataset ds, AttributeContainer ctv)
Description copied from interface:VertTransformBuilderIFMake a vertical CoordinateTransform from a Coordinate Transform Variable. A VerticalCT is just a container for the metadata, the real work is in the VerticalTransform- Specified by:
makeCoordinateTransformin interfaceVertTransformBuilderIF- Parameters:
ds- the containing datasetctv- the coordinate transform variable.- Returns:
- CoordinateTransform
-
makeMathTransform
public VerticalTransform makeMathTransform(NetcdfDataset ds, Dimension timeDim, VerticalCT vCT)
Description copied from interface:VertTransformBuilderIFMake a VerticalTransform. We need to defer making the transform until we've identified the time coordinate dimension.- Specified by:
makeMathTransformin interfaceVertTransformBuilderIF- Parameters:
ds- the datasettimeDim- the time dimensionvCT- the vertical coordinate transform- Returns:
- ucar.unidata.geoloc.vertical.VerticalTransform math transform
-
-