public class WriterCFStationCollection extends CFPointWriter
writeHeader() iterate { writeRecord() } finish()
Modifier and Type | Field and Description |
---|---|
protected int |
obsRecno |
protected Structure |
stationStruct |
altitudeCoordinateName, altName, altUnits, config, coordVars, dataMap, dataVars, descName, extra, id_strlen, idMissingValue, isExtendedModel, latName, llbb, lonName, maxDate, minDate, nfeatures, numberOfObsName, profileDimName, profileIdName, profileStructName, profileTimeName, record, recordDim, recordDimName, recordName, reservedGlobalAtts, reservedVariableAtts, stationAltName, stationDimName, stationIdName, stationIndexName, stationStructName, timeName, timeUnit, trajDimName, trajIdName, trajStructName, wmoName, writer
Constructor and Description |
---|
WriterCFStationCollection(java.lang.String fileOut,
java.util.List<Attribute> globalAtts,
java.util.List<VariableSimpleIF> dataVars,
CalendarDateUnit timeUnit,
java.lang.String altUnits,
CFPointWriterConfig config) |
WriterCFStationCollection(java.lang.String fileOut,
java.util.List<Attribute> globalAtts,
java.util.List<VariableSimpleIF> dataVars,
java.util.List<CoordinateAxis> coordVars,
CFPointWriterConfig config) |
Modifier and Type | Method and Description |
---|---|
protected void |
makeFeatureVariables(java.util.List<StructureData> featureDataStructs,
boolean isExtended) |
void |
writeHeader(java.util.List<StationFeature> stns,
StationPointFeature spf) |
void |
writeHeader(StationTimeSeriesFeatureCollection stations) |
void |
writeRecord(Station s,
PointFeature sobs,
StructureData sdata) |
void |
writeRecord(java.lang.String stnName,
double timeCoordValue,
CalendarDate obsDate,
StructureData sdata) |
void |
writeRecord(java.lang.String stnName,
java.lang.String timeCoordName,
double timeCoordValue,
CalendarDate obsDate,
java.lang.String altName,
double altValue,
StructureData sdata) |
addCoordinatesClassic, addCoordinatesExtended, addDataVariablesClassic, addDataVariablesExtended, addDimensionsClassic, addExtraVariables, close, finish, getDataVar, getSharedDimName, main, makeDimensionList, makeMiddleVariables, setFeatureAuxInfo, trackBB, writeExtraVariables, writeFeatureCollection, writeFeatureCollection, writeHeader, writeHeader, writeStructureData, writeStructureDataClassic
protected Structure stationStruct
protected int obsRecno
public WriterCFStationCollection(java.lang.String fileOut, java.util.List<Attribute> globalAtts, java.util.List<VariableSimpleIF> dataVars, CalendarDateUnit timeUnit, java.lang.String altUnits, CFPointWriterConfig config) throws java.io.IOException
java.io.IOException
public WriterCFStationCollection(java.lang.String fileOut, java.util.List<Attribute> globalAtts, java.util.List<VariableSimpleIF> dataVars, java.util.List<CoordinateAxis> coordVars, CFPointWriterConfig config) throws java.io.IOException
java.io.IOException
public void writeHeader(StationTimeSeriesFeatureCollection stations) throws java.io.IOException
java.io.IOException
public void writeHeader(java.util.List<StationFeature> stns, @Nullable StationPointFeature spf) throws java.io.IOException
java.io.IOException
protected void makeFeatureVariables(java.util.List<StructureData> featureDataStructs, boolean isExtended)
makeFeatureVariables
in class CFPointWriter
public void writeRecord(Station s, PointFeature sobs, StructureData sdata) throws java.io.IOException
java.io.IOException
public void writeRecord(java.lang.String stnName, double timeCoordValue, CalendarDate obsDate, StructureData sdata) throws java.io.IOException
java.io.IOException
public void writeRecord(java.lang.String stnName, java.lang.String timeCoordName, double timeCoordValue, CalendarDate obsDate, java.lang.String altName, double altValue, StructureData sdata) throws java.io.IOException
java.io.IOException