ucar.nc2.dt.point
Class WriterStationObsDataset

java.lang.Object
  extended by ucar.nc2.dt.point.WriterStationObsDataset

public class WriterStationObsDataset
extends Object

Write StationObsDataset in Unidata Station Obs COnvention.

Version:
$Revision$ $Date$
Author:
caron

Constructor Summary
WriterStationObsDataset(String fileOut, String title)
           
 
Method Summary
 void finish()
           
static void main(String[] args)
           
static void main2(String[] args)
           
static void rewrite(String fileIn, String fileOut)
           
 void setLength(long size)
           
 void writeHeader(List<Station> stns, List<VariableSimpleIF> vars)
           
 void writeRecord(StationObsDatatype sobs, StructureData sdata)
           
 void writeRecord(String stnName, Date obsDate, StructureData sdata)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WriterStationObsDataset

public WriterStationObsDataset(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)
                 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.