public class ConvertD2N extends Object
| Constructor and Description |
|---|
ConvertD2N() |
| Modifier and Type | Method and Description |
|---|---|
ucar.ma2.Array |
convert(ucar.nc2.dods.DodsV dataV)
Convert a DataDDS into an Array
|
ucar.ma2.Array |
convertNestedVariable(ucar.nc2.Variable v,
List<ucar.ma2.Range> section,
ucar.nc2.dods.DodsV dataV,
boolean flatten)
Convert a DataDDS into an Array for a Structure member variable.
|
ucar.ma2.Array |
convertTopVariable(ucar.nc2.Variable v,
List<ucar.ma2.Range> section,
ucar.nc2.dods.DodsV dataV)
Convert a DataDDS into an Array for a top level variable, ie not a Structure member variable.
|
public ucar.ma2.Array convertNestedVariable(ucar.nc2.Variable v,
List<ucar.ma2.Range> section,
ucar.nc2.dods.DodsV dataV,
boolean flatten)
throws IOException,
DAP2Exception
v - must be a member of a structuresection - the requested variable section, as a List of type RangedataV - the dataDDS has been parsed into this dodsV, this is the top variable containing vflatten - if true, remove the StructureData "wrapper".IOException - on io errorDAP2Exception - on bad things happeningpublic ucar.ma2.Array convertTopVariable(ucar.nc2.Variable v,
List<ucar.ma2.Range> section,
ucar.nc2.dods.DodsV dataV)
throws IOException,
DAP2Exception
v - must be a top variablesection - the requested variable sectiondataV - the dataDDS has been parsed into this dodsVIOException - on io errorDAP2Exception - on badpublic ucar.ma2.Array convert(ucar.nc2.dods.DodsV dataV)
throws IOException,
DAP2Exception
dataV - the dataDDS has been parsed into this dodsVIOException - on io errorDAP2Exception - on bad