public class CFGridWriter
extends java.lang.Object
| Constructor and Description |
|---|
CFGridWriter()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
makeFile(java.lang.String location,
ucar.nc2.dt.GridDataset gds,
java.util.List<java.lang.String> gridList,
ucar.unidata.geoloc.LatLonRect llbb,
ucar.nc2.time.CalendarDateRange range)
Deprecated.
Write a netcdf-3 file from a subset of a grid dataset
|
void |
makeFile(java.lang.String location,
ucar.nc2.dt.GridDataset gds,
java.util.List<java.lang.String> gridList,
ucar.unidata.geoloc.LatLonRect llbb,
ucar.nc2.time.CalendarDateRange range,
boolean addLatLon,
int horizStride,
int stride_z,
int stride_time)
Deprecated.
Write a CF compliant Netcdf-3 file from any gridded dataset.
|
long |
makeFile(java.lang.String location,
ucar.nc2.dt.GridDataset gds,
java.util.List<java.lang.String> gridList,
ucar.unidata.geoloc.LatLonRect llbb,
int horizStride,
ucar.ma2.Range zRange,
ucar.nc2.time.CalendarDateRange dateRange,
int stride_time,
boolean addLatLon)
Deprecated.
|
long |
makeFile(java.lang.String location,
ucar.nc2.dt.GridDataset gds,
java.util.List<java.lang.String> gridList,
ucar.unidata.geoloc.LatLonRect llbb,
int horizStride,
ucar.ma2.Range zRange,
ucar.nc2.time.CalendarDateRange dateRange,
int stride_time,
boolean addLatLon,
ucar.nc2.NetcdfFileWriter.Version version)
Deprecated.
|
long |
makeFile(java.lang.String location,
ucar.nc2.dt.GridDataset gds,
java.util.List<java.lang.String> gridList,
ucar.unidata.geoloc.ProjectionRect projRect,
int horizStride,
ucar.ma2.Range zRange,
ucar.nc2.time.CalendarDateRange dateRange,
int stride_time,
boolean addLatLon)
Deprecated.
|
long |
makeFile(java.lang.String location,
ucar.nc2.dt.GridDataset gds,
java.util.List<java.lang.String> gridList,
ucar.unidata.geoloc.ProjectionRect llbb,
int horizStride,
ucar.ma2.Range zRange,
ucar.nc2.time.CalendarDateRange dateRange,
int stride_time,
boolean addLatLon,
ucar.nc2.NetcdfFileWriter.Version version)
Deprecated.
|
static void |
makeFileVersioned(java.lang.String location,
ucar.nc2.dt.GridDataset gds,
java.util.List<java.lang.String> gridList,
ucar.unidata.geoloc.LatLonRect llbb,
ucar.nc2.time.CalendarDateRange dateRange,
ucar.nc2.NetcdfFileWriter.Version version)
Deprecated.
|
long |
makeGridFileSizeEstimate(ucar.nc2.dt.GridDataset gds,
java.util.List<java.lang.String> gridList,
ucar.unidata.geoloc.LatLonRect llbb,
int horizStride,
ucar.ma2.Range zRange,
ucar.nc2.time.CalendarDateRange dateRange,
int stride_time,
boolean addLatLon)
Deprecated.
Write a netcdf-3 file from a subset of a grid dataset, as long as it doesnt exceed a certain file size.
|
long |
makeGridFileSizeEstimate(ucar.nc2.dt.GridDataset gds,
java.util.List<java.lang.String> gridList,
ucar.unidata.geoloc.ProjectionRect projBB,
int horizStride,
ucar.ma2.Range zRange,
ucar.nc2.time.CalendarDateRange dateRange,
int stride_time,
boolean addLatLon)
Deprecated.
Write a netcdf-3 file from a subset of a grid dataset (projection coordinates), as long as it doesnt exceed a certain file size.
|
public static void makeFile(java.lang.String location,
ucar.nc2.dt.GridDataset gds,
java.util.List<java.lang.String> gridList,
ucar.unidata.geoloc.LatLonRect llbb,
ucar.nc2.time.CalendarDateRange range)
throws java.io.IOException,
ucar.ma2.InvalidRangeException
location - write new filegds - from this grid datasetgridList - just these gridsllbb - horiz subset, may be nullrange - time subset, may be nulljava.io.IOExceptionucar.ma2.InvalidRangeExceptionpublic static void makeFileVersioned(java.lang.String location,
ucar.nc2.dt.GridDataset gds,
java.util.List<java.lang.String> gridList,
ucar.unidata.geoloc.LatLonRect llbb,
ucar.nc2.time.CalendarDateRange dateRange,
ucar.nc2.NetcdfFileWriter.Version version)
throws java.io.IOException,
ucar.ma2.InvalidRangeException
java.io.IOExceptionucar.ma2.InvalidRangeExceptionpublic long makeGridFileSizeEstimate(ucar.nc2.dt.GridDataset gds,
java.util.List<java.lang.String> gridList,
ucar.unidata.geoloc.LatLonRect llbb,
int horizStride,
ucar.ma2.Range zRange,
ucar.nc2.time.CalendarDateRange dateRange,
int stride_time,
boolean addLatLon)
throws java.io.IOException,
ucar.ma2.InvalidRangeException
gds - from this grid datasetgridList - just these gridsllbb - horiz subset, may be nullzRange - vertical subset, may be nulldateRange - time subset, may be nullstride_time - time may be strided, -1 if want alladdLatLon - optionally add a lat/lon coordinate (if dataset uses projection coords)java.io.IOExceptionucar.ma2.InvalidRangeExceptionpublic long makeGridFileSizeEstimate(ucar.nc2.dt.GridDataset gds,
java.util.List<java.lang.String> gridList,
ucar.unidata.geoloc.ProjectionRect projBB,
int horizStride,
ucar.ma2.Range zRange,
ucar.nc2.time.CalendarDateRange dateRange,
int stride_time,
boolean addLatLon)
throws java.io.IOException,
ucar.ma2.InvalidRangeException
gds - from this grid datasetgridList - just these gridsprojBB - horiz subset in Projection coords, may be nullzRange - vertical subset, may be nulldateRange - time subset, may be nullstride_time - time may be strided, -1 if want alladdLatLon - optionally add a lat/lon coordinate (if dataset uses projection coords)java.io.IOExceptionucar.ma2.InvalidRangeExceptionpublic void makeFile(java.lang.String location,
ucar.nc2.dt.GridDataset gds,
java.util.List<java.lang.String> gridList,
ucar.unidata.geoloc.LatLonRect llbb,
ucar.nc2.time.CalendarDateRange range,
boolean addLatLon,
int horizStride,
int stride_z,
int stride_time)
throws java.io.IOException,
ucar.ma2.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 errorucar.ma2.InvalidRangeException - if subset is illegalpublic long makeFile(java.lang.String location,
ucar.nc2.dt.GridDataset gds,
java.util.List<java.lang.String> gridList,
ucar.unidata.geoloc.LatLonRect llbb,
int horizStride,
ucar.ma2.Range zRange,
ucar.nc2.time.CalendarDateRange dateRange,
int stride_time,
boolean addLatLon)
throws java.io.IOException,
ucar.ma2.InvalidRangeException
java.io.IOExceptionucar.ma2.InvalidRangeExceptionpublic long makeFile(java.lang.String location,
ucar.nc2.dt.GridDataset gds,
java.util.List<java.lang.String> gridList,
ucar.unidata.geoloc.LatLonRect llbb,
int horizStride,
ucar.ma2.Range zRange,
ucar.nc2.time.CalendarDateRange dateRange,
int stride_time,
boolean addLatLon,
ucar.nc2.NetcdfFileWriter.Version version)
throws java.io.IOException,
ucar.ma2.InvalidRangeException
java.io.IOExceptionucar.ma2.InvalidRangeExceptionpublic long makeFile(java.lang.String location,
ucar.nc2.dt.GridDataset gds,
java.util.List<java.lang.String> gridList,
ucar.unidata.geoloc.ProjectionRect projRect,
int horizStride,
ucar.ma2.Range zRange,
ucar.nc2.time.CalendarDateRange dateRange,
int stride_time,
boolean addLatLon)
throws java.io.IOException,
ucar.ma2.InvalidRangeException
java.io.IOExceptionucar.ma2.InvalidRangeExceptionpublic long makeFile(java.lang.String location,
ucar.nc2.dt.GridDataset gds,
java.util.List<java.lang.String> gridList,
ucar.unidata.geoloc.ProjectionRect llbb,
int horizStride,
ucar.ma2.Range zRange,
ucar.nc2.time.CalendarDateRange dateRange,
int stride_time,
boolean addLatLon,
ucar.nc2.NetcdfFileWriter.Version version)
throws java.io.IOException,
ucar.ma2.InvalidRangeException
java.io.IOExceptionucar.ma2.InvalidRangeException