ucar.nc2.dt.point
Class WriterCFStationObsDataset

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

public class WriterCFStationObsDataset
extends Object

Write StationObsDataset in "CF" experimental point/ungridded convention. Also experiment with streaming netcdf.

Author:
caron

Constructor Summary
WriterCFStationObsDataset(DataOutputStream stream, String title)
           
 
Method Summary
 void finish()
           
static void main(String[] args)
           
static void main2(String[] args)
           
static void main3(String[] args)
           
static void rewrite(String fileIn, String fileOut, boolean inMemory, boolean sort)
           
 void writeHeader(List<Station> stns, List<VariableSimpleIF> vars, int numrec)
           
 void writeRecord(StationObsDatatype sobs, StructureData sdata)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WriterCFStationObsDataset

public WriterCFStationObsDataset(DataOutputStream stream,
                                 String title)
Method Detail

writeHeader

public void writeHeader(List<Station> stns,
                        List<VariableSimpleIF> vars,
                        int numrec)
                 throws IOException
Throws:
IOException

writeRecord

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

finish

public void finish()
            throws IOException
Throws:
IOException

main3

public static void main3(String[] args)
                  throws IOException
Throws:
IOException

rewrite

public static void rewrite(String fileIn,
                           String fileOut,
                           boolean inMemory,
                           boolean sort)
                    throws IOException
Throws:
IOException

main

public static void main(String[] args)
                 throws IOException
Throws:
IOException

main2

public static void main2(String[] args)
                  throws IOException
Throws:
IOException


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