public class NetcdfCFWriter
extends java.lang.Object
| Constructor and Description |
|---|
NetcdfCFWriter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args) |
static void |
makeFile(java.lang.String location,
GridDataset gds,
java.util.List<java.lang.String> gridList,
LatLonRect llbb,
DateRange range) |
void |
makeFile(java.lang.String location,
GridDataset gds,
java.util.List<java.lang.String> gridList,
LatLonRect llbb,
DateRange range,
boolean addLatLon,
int horizStride,
int stride_z,
int stride_time)
Write a CF compliant Netcdf-3 file from any gridded dataset.
|
void |
makeFile(java.lang.String location,
GridDataset gds,
java.util.List<java.lang.String> gridList,
LatLonRect llbb,
int horizStride,
Range zRange,
DateRange dateRange,
int stride_time,
boolean addLatLon) |
static void |
test1() |
public static void makeFile(java.lang.String location,
GridDataset gds,
java.util.List<java.lang.String> gridList,
LatLonRect llbb,
DateRange range)
throws java.io.IOException,
InvalidRangeException
java.io.IOExceptionInvalidRangeExceptionpublic void makeFile(java.lang.String location,
GridDataset gds,
java.util.List<java.lang.String> gridList,
LatLonRect llbb,
DateRange range,
boolean addLatLon,
int horizStride,
int stride_z,
int stride_time)
throws java.io.IOException,
InvalidRangeException
location - write to this location on diskgds - A gridded datasetgridList - the list of grid names to be written, must not be empty. Full name (not short).llbb - optional lat/lon bounding boxrange - optional time rangeaddLatLon - should 2D lat/lon variables be added, if its a projection coordinate system?horizStride - x,y stridestride_z - not implemented yetstride_time - not implemented yetjava.io.IOException - if write or read errorInvalidRangeException - if subset is illegalpublic void makeFile(java.lang.String location,
GridDataset gds,
java.util.List<java.lang.String> gridList,
LatLonRect llbb,
int horizStride,
Range zRange,
DateRange dateRange,
int stride_time,
boolean addLatLon)
throws java.io.IOException,
InvalidRangeException
java.io.IOExceptionInvalidRangeExceptionpublic static void test1()
throws java.io.IOException,
InvalidRangeException,
java.text.ParseException
java.io.IOExceptionInvalidRangeExceptionjava.text.ParseExceptionpublic static void main(java.lang.String[] args)
throws java.io.IOException,
InvalidRangeException,
java.text.ParseException
java.io.IOExceptionInvalidRangeExceptionjava.text.ParseException