ucar.nc2.ft.point.writer
Class WriterCFStationCollection

java.lang.Object
  extended by ucar.nc2.ft.point.writer.WriterCFStationCollection

public class WriterCFStationCollection
extends Object

Write a CF "Discrete Sample" station file.

Since:
Aug 19, 2009
Author:
caron

Constructor Summary
WriterCFStationCollection(String fileOut, String title)
           
 
Method Summary
 void finish()
           
 void setLength(long size)
           
 void writeHeader(List<Station> stns, List<VariableSimpleIF> vars, DateUnit timeUnit)
           
 void writeRecord(Station s, PointFeature sobs, StructureData sdata)
           
 void writeRecord(String stnName, double timeCoordValue, Date obsDate, StructureData sdata)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WriterCFStationCollection

public WriterCFStationCollection(String fileOut,
                                 String title)
                          throws IOException
Throws:
IOException
Method Detail

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.