ucar.nc2.dt.point
Class WriterStationObsDataset
java.lang.Object
ucar.nc2.dt.point.WriterStationObsDataset
public class WriterStationObsDataset
- extends Object
Write StationObsDataset in Unidata Station Obs COnvention.
- Version:
- $Revision$ $Date$
- Author:
- caron
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WriterStationObsDataset
public WriterStationObsDataset(String fileOut,
String title)
throws IOException
- Throws:
IOException
setLength
public void setLength(long size)
writeHeader
public void writeHeader(List<Station> stns,
List<VariableSimpleIF> vars)
throws IOException
- Throws:
IOException
writeRecord
public void writeRecord(StationObsDatatype sobs,
StructureData sdata)
throws IOException
- Throws:
IOException
writeRecord
public void writeRecord(String stnName,
Date obsDate,
StructureData sdata)
throws IOException
- Throws:
IOException
finish
public void finish()
throws IOException
- Throws:
IOException
main
public static void main(String[] args)
throws IOException
- Throws:
IOException
rewrite
public static void rewrite(String fileIn,
String fileOut)
throws IOException
- Throws:
IOException
main2
public static void main2(String[] args)
throws IOException
- Throws:
IOException
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.