Package ucar.nc2.ft.point.standard.plug
Class CFpointObs
- java.lang.Object
-
- ucar.nc2.ft.point.standard.TableConfigurerImpl
-
- ucar.nc2.ft.point.standard.plug.CFpointObs
-
- All Implemented Interfaces:
TableConfigurer
- Direct Known Subclasses:
CFpointObsExt
public class CFpointObs extends TableConfigurerImpl
CF "point obs" Convention.- Since:
- Nov 3, 2008
- See Also:
- "http://cf-pcmdi.llnl.gov/documents/cf-conventions/1.6/cf-conventions.html#discrete-sampling-geometries", "https://www.unidata.ucar.edu/software/netcdf-java/reference/FeatureDatasets/CFencodingTable.html"
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
CFpointObs.Encoding
protected static class
CFpointObs.EncodingInfo
-
Constructor Summary
Constructors Constructor Description CFpointObs()
-
Method Summary
-
Methods inherited from class ucar.nc2.ft.point.standard.TableConfigurerImpl
findZAxisNotStationAlt, getConvName, getConvUsed, matchAxisTypeAndDimension, matchAxisTypeAndDimension, setConvName, setConvUsed
-
-
-
-
Method Detail
-
isMine
public boolean isMine(FeatureType wantFeatureType, NetcdfDataset ds)
Description copied from interface:TableConfigurer
Determine if this is a dataset that can be opened as a point obs dataset.- Parameters:
wantFeatureType
- want this FeatureTypeds
- for this dataset- Returns:
- true if it can be opened as a wantFeatureType dataset
-
getConfig
public TableConfig getConfig(FeatureType wantFeatureType, NetcdfDataset ds, Formatter errlog)
Description copied from interface:TableConfigurer
Create a TableConfig for this dataset.- Parameters:
wantFeatureType
- want this FeatureTypeds
- for this dataset, which has already passed isMine() testerrlog
- put error messages here, may be null.- Returns:
- TableConfig for this dataset
-
checkCoordinates
protected boolean checkCoordinates(NetcdfDataset ds, CFpointObs.EncodingInfo info, Formatter errlog)
-
getPointConfig
protected TableConfig getPointConfig(NetcdfDataset ds, CFpointObs.EncodingInfo info, Formatter errlog)
-
getStationConfig
protected TableConfig getStationConfig(NetcdfDataset ds, CFpointObs.EncodingInfo info, Formatter errlog)
-
getProfileConfig
protected TableConfig getProfileConfig(NetcdfDataset ds, CFpointObs.EncodingInfo info, Formatter errlog)
-
getTrajectoryConfig
protected TableConfig getTrajectoryConfig(NetcdfDataset ds, CFpointObs.EncodingInfo info, Formatter errlog)
-
getTimeSeriesProfileConfig
protected TableConfig getTimeSeriesProfileConfig(NetcdfDataset ds, CFpointObs.EncodingInfo info, Formatter errlog)
-
getSectionConfig
protected TableConfig getSectionConfig(NetcdfDataset ds, CFpointObs.EncodingInfo info, Formatter errlog)
-
identifyEncodingStation
protected boolean identifyEncodingStation(NetcdfDataset ds, CFpointObs.EncodingInfo info, CF.FeatureType ftype, Formatter errlog)
-
identifyRaggeds
protected boolean identifyRaggeds(NetcdfDataset ds, CFpointObs.EncodingInfo info, Dimension instanceDim, Dimension sampleDim, Formatter errlog)
Identify ragged array representations for single nests (station, profile, trajectory)- Parameters:
ds
- in this datasetinfo
- put info hereinstanceDim
- the instance dimension, null if not known yetsampleDim
- the sample dimension, null if not known yeterrlog
- error go here- Returns:
- true if ragged array representations is found; side effect: set (info.ragged_rowSize, info.parentStruct) or (info.ragged_parentIndex, info.childStruct)
-
identifyDoubleRaggeds
protected boolean identifyDoubleRaggeds(NetcdfDataset ds, CFpointObs.EncodingInfo info, Formatter errlog)
Identify ragged array representations for double nests (timeSeries profile, timeSeries trajectory) This uses the contiguous ragged array representation for each profile (9.5.43.3), and the indexed ragged array representation to organise the profiles into time series (9.3.54). The canonical use case is when writing real-time data streams that contain profiles from many stations, arriving randomly, with the data for each entire profile written all at once.- Parameters:
ds
- in this datasetinfo
- put info hereerrlog
- error go here- Returns:
- EncodingInfo if ragged array representations is found
-
identifyEncodingProfile
protected boolean identifyEncodingProfile(NetcdfDataset ds, CFpointObs.EncodingInfo info, Formatter errlog)
-
identifyEncodingTraj
protected boolean identifyEncodingTraj(NetcdfDataset ds, CFpointObs.EncodingInfo info, Formatter errlog)
-
identifyEncodingSection
protected boolean identifyEncodingSection(NetcdfDataset ds, CFpointObs.EncodingInfo info, CF.FeatureType ftype, Formatter errlog)
-
identifyEncodingTimeSeriesProfile
protected boolean identifyEncodingTimeSeriesProfile(NetcdfDataset ds, CFpointObs.EncodingInfo info, CF.FeatureType ftype, Formatter errlog)
-
matchAxisTypeAndDimension
protected String matchAxisTypeAndDimension(NetcdfDataset ds, AxisType type, Dimension outer)
-
-