ucar.nc2.ft.point.writer
Class WriterCFPointCollection

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

public class WriterCFPointCollection
extends Object

Write a CF "Discrete Sample" point file.

Since:
Nov 23, 2010
Author:
caron

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

Constructor Detail

WriterCFPointCollection

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

setLength

public void setLength(long size)

writeHeader

public void writeHeader(List<VariableSimpleIF> vars,
                        DateUnit timeUnit,
                        String altUnits)
                 throws IOException
Throws:
IOException

writeRecord

public void writeRecord(PointFeature sobs,
                        StructureData sdata)
                 throws IOException
Throws:
IOException

writeRecord

public void writeRecord(double timeCoordValue,
                        Date obsDate,
                        EarthLocation loc,
                        StructureData sdata)
                 throws IOException
Throws:
IOException

finish

public void finish()
            throws IOException
Throws:
IOException


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.