ucar.nc2.ft.point.writer
Class WriterCFStationCollection
java.lang.Object
ucar.nc2.ft.point.writer.WriterCFStationCollection
public class WriterCFStationCollection
- extends Object
Write a CF "Discrete Sample" station file.
- Since:
- Aug 19, 2009
- Author:
- caron
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WriterCFStationCollection
public WriterCFStationCollection(String fileOut,
String title)
throws IOException
- Throws:
IOException
setLength
public void setLength(long size)
writeHeader
public void writeHeader(List<Station> stns,
List<VariableSimpleIF> vars,
DateUnit timeUnit)
throws IOException
- Throws:
IOException
writeRecord
public void writeRecord(Station s,
PointFeature sobs,
StructureData sdata)
throws IOException
- Throws:
IOException
writeRecord
public void writeRecord(String stnName,
double timeCoordValue,
Date obsDate,
StructureData sdata)
throws IOException
- Throws:
IOException
finish
public void finish()
throws IOException
- Throws:
IOException
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.