ucar.nc2.dt.point
Class WriterProfileObsDataset

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

public class WriterProfileObsDataset
extends Object

Write ProfileObsDataset in Unidata Station Obs COnvention.

Author:
caron

Constructor Summary
WriterProfileObsDataset(String fileOut, String title)
           
 
Method Summary
 void finish()
           
static void main(String[] args)
           
 void setLength(long size)
           
 void writeHeader(List<Station> stns, List<VariableSimpleIF> vars, int nprofiles, String altVarName)
           
 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

WriterProfileObsDataset

public WriterProfileObsDataset(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,
                        int nprofiles,
                        String altVarName)
                 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 Exception
Throws:
Exception


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