Package ucar.nc2.iosp.grid
Class GridEnsembleCoord
- java.lang.Object
-
- ucar.nc2.iosp.grid.GridEnsembleCoord
-
public abstract class GridEnsembleCoord extends Object
Handles the Ensemble coordinate dimension.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classGridEnsembleCoord.EnsCoord
-
Field Summary
Fields Modifier and Type Field Description protected List<GridEnsembleCoord.EnsCoord>ensCoordsprotected intseq
-
Constructor Summary
Constructors Constructor Description GridEnsembleCoord()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDimensionsToNetcdfFile(ucar.nc2.NetcdfFile ncfile, ucar.nc2.Group g)Add this as a dimension to a netCDF fileprotected voidaddToNetcdfFile(ucar.nc2.NetcdfFile ncfile, ucar.nc2.Group g)booleanequals(Object o)StringgetName()Get the nameintgetNEnsembles()Get the number of EnsemblesinthashCode()voidsetSequence(int seq)Set the sequence number
-
-
-
Field Detail
-
ensCoords
protected List<GridEnsembleCoord.EnsCoord> ensCoords
-
seq
protected int seq
-
-
Method Detail
-
setSequence
public void setSequence(int seq)
Set the sequence number- Parameters:
seq- the sequence number
-
getName
public String getName()
Get the name- Returns:
- the name
-
addDimensionsToNetcdfFile
public void addDimensionsToNetcdfFile(ucar.nc2.NetcdfFile ncfile, ucar.nc2.Group g)Add this as a dimension to a netCDF file- Parameters:
ncfile- the netCDF fileg- the group in the file
-
addToNetcdfFile
protected void addToNetcdfFile(ucar.nc2.NetcdfFile ncfile, ucar.nc2.Group g)
-
getNEnsembles
public int getNEnsembles()
Get the number of Ensembles- Returns:
- the number of Ensembles
-
-