Package ucar.nc2.ft.point.writer2
Class CFPointWriter
- java.lang.Object
-
- ucar.nc2.ft.point.writer2.CFPointWriter
-
public class CFPointWriter extends Object
Static methods to write Point Feature Collections into netcdf3/4 files in CF 1.6 point obs conventions.
-
-
Constructor Summary
Constructors Constructor Description CFPointWriter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(String[] args)
static int
writeFeatureCollection(FeatureDatasetPoint fdpoint, String fileOut, CFPointWriterConfig config)
Write a FeatureDatasetPoint to a netcd3/4 file.static int
writeFeatureCollection(FeatureDatasetPoint fdpoint, String fileOut, NetcdfFileFormat format)
-
-
-
Method Detail
-
writeFeatureCollection
public static int writeFeatureCollection(FeatureDatasetPoint fdpoint, String fileOut, NetcdfFileFormat format) throws IOException
- Throws:
IOException
-
writeFeatureCollection
public static int writeFeatureCollection(FeatureDatasetPoint fdpoint, String fileOut, CFPointWriterConfig config) throws IOException
Write a FeatureDatasetPoint to a netcd3/4 file.- Parameters:
fdpoint
- the FeatureDatasetPoint; do first FeatureCollection contained within.fileOut
- write to the is fileconfig
- configuration- Returns:
- count of number of pointFeatures written.
- Throws:
IOException
-
-