public class NetcdfCFWriter extends Object
| Constructor and Description |
|---|
NetcdfCFWriter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
static void |
makeFile(String location,
GridDataset gds,
List<String> gridList,
LatLonRect llbb,
CalendarDateRange range) |
void |
makeFile(String location,
GridDataset gds,
List<String> gridList,
LatLonRect llbb,
CalendarDateRange range,
boolean addLatLon,
int horizStride,
int stride_z,
int stride_time)
Write a CF compliant Netcdf-3 file from any gridded dataset.
|
long |
makeFile(String location,
GridDataset gds,
List<String> gridList,
LatLonRect llbb,
int horizStride,
Range zRange,
CalendarDateRange dateRange,
int stride_time,
boolean addLatLon) |
long |
makeFile(String location,
GridDataset gds,
List<String> gridList,
ProjectionRect llbb,
int horizStride,
Range zRange,
CalendarDateRange dateRange,
int stride_time,
boolean addLatLon) |
long |
makeGridFileSizeEstimate(GridDataset gds,
List<String> gridList,
LatLonRect llbb,
int horizStride,
Range zRange,
CalendarDateRange dateRange,
int stride_time,
boolean addLatLon) |
long |
makeGridFileSizeEstimate(GridDataset gds,
List<String> gridList,
ProjectionRect llbb,
int horizStride,
Range zRange,
CalendarDateRange dateRange,
int stride_time,
boolean addLatLon) |
static void |
test1() |
public static void makeFile(String location, GridDataset gds, List<String> gridList, LatLonRect llbb, CalendarDateRange range) throws IOException, InvalidRangeException
IOExceptionInvalidRangeExceptionpublic long makeGridFileSizeEstimate(GridDataset gds, List<String> gridList, LatLonRect llbb, int horizStride, Range zRange, CalendarDateRange dateRange, int stride_time, boolean addLatLon) throws IOException, InvalidRangeException
IOExceptionInvalidRangeExceptionpublic long makeGridFileSizeEstimate(GridDataset gds, List<String> gridList, ProjectionRect llbb, int horizStride, Range zRange, CalendarDateRange dateRange, int stride_time, boolean addLatLon) throws IOException, InvalidRangeException
IOExceptionInvalidRangeExceptionpublic void makeFile(String location, GridDataset gds, List<String> gridList, LatLonRect llbb, CalendarDateRange range, boolean addLatLon, int horizStride, int stride_z, int stride_time) throws 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 yetIOException - if write or read errorInvalidRangeException - if subset is illegalpublic long makeFile(String location, GridDataset gds, List<String> gridList, LatLonRect llbb, int horizStride, Range zRange, CalendarDateRange dateRange, int stride_time, boolean addLatLon) throws IOException, InvalidRangeException
IOExceptionInvalidRangeExceptionpublic long makeFile(String location, GridDataset gds, List<String> gridList, ProjectionRect llbb, int horizStride, Range zRange, CalendarDateRange dateRange, int stride_time, boolean addLatLon) throws IOException, InvalidRangeException
IOExceptionInvalidRangeExceptionpublic static void test1()
throws IOException,
InvalidRangeException,
ParseException
public static void main(String[] args) throws IOException, InvalidRangeException, ParseException
Copyright © 1999-2012 UCAR/Unidata. All Rights Reserved.