public class DynamicCoverageDescription extends CoverageDescription
_myCD, CONFIG_ELEMENT_NAME| Constructor and Description |
|---|
DynamicCoverageDescription() |
DynamicCoverageDescription(org.jdom.Element dmr,
DynamicService dynamicService)
Primary constructor for this class
|
| Modifier and Type | Method and Description |
|---|---|
protected Dataset |
buildDataset(org.jdom.Element dmr)
Uses JAXB to build a Dataset object from the passed DMR.
|
org.jdom.Element |
coverageDescriptionType2JDOM(net.opengis.wcs.v_2_0.CoverageDescriptionType cd)
Converts the JAXB generated CoverageDescriptionType to a JDOM representation of the CoverageDescription
|
Variable |
findVariableWithCfStandardName(Dataset dataset,
java.lang.String standard_name)
Returns the Dap 4 variable with CF compliant standard name.
|
Dimension |
getDomainCoordinateVariableDimension(Dataset dataset,
java.lang.String standard_name)
Returns the size of the requested coordinate variable.
|
net.opengis.gml.v_3_2_1.DomainSetType |
getDomainSet(opendap.wcs.v2_0.DynamicCoverageDescription.BoundedByAndDomainSetParams params) |
void |
ingestSrsFromDataset(Dataset dataset,
SimpleSrs defaultSrs)
This method will (in the future) examine the DAP Dataset and see if an SRS reference for the Dataset
can be located.
|
static void |
main(java.lang.String[] args)
Out friend main() runs a sanity check using a DMR obtained from test.opendap.org
|
addDomainCoordinate, addFieldToDapVarIdAssociation, addLineage, getAbstractFeatureTypeContent, getAbstractGmlTypeContent, getBoundedByElement, getBoundingBox, getCoverage, getCoverageDescriptionElement, getCoverageId, getCoverageIdElement, getCoverageSubtype, getCoverageSubtypeElement, getCoverageSubtypeFamilyTree, getCoverageSummary, getDapDatasetUrl, getDapGridArrayId, getDomainCoordinate, getDomainCoordinates, getDomainCoordinatesAsList, getDomainSet, getFieldNames, getFields, getGmlId, getMyFile, getNativeFormat, getNativeFormatElement, getRangeType, getSupportedCrsElements, hasBoundedBy, hasCoverageSubtypeFamilyTree, hasField, lastModified, setDapDatasetUrl, setMyFilepublic DynamicCoverageDescription()
public DynamicCoverageDescription(org.jdom.Element dmr,
DynamicService dynamicService)
throws java.io.IOException,
WcsException
dmr - java.io.IOExceptionWcsExceptionprotected Dataset buildDataset(org.jdom.Element dmr) throws WcsException
dmr - The root element of the DMR document to processWcsException - When the bad things happen.public void ingestSrsFromDataset(Dataset dataset, SimpleSrs defaultSrs)
dataset - The dataset to examine.defaultSrs - The default SRS.public Variable findVariableWithCfStandardName(Dataset dataset, java.lang.String standard_name) throws WcsException
dataset - - a JAXB representation of the DMR responsestandard_name - WcsException - throw any exception is handling the datasetpublic Dimension getDomainCoordinateVariableDimension(Dataset dataset, java.lang.String standard_name) throws WcsException
dataset - standard_name - The CF standard_name of the coordinate variable;WcsExceptionpublic net.opengis.gml.v_3_2_1.DomainSetType getDomainSet(opendap.wcs.v2_0.DynamicCoverageDescription.BoundedByAndDomainSetParams params)
params - An instance of BoundedByAndDomainSetParams containing the information needed to build the
components of the DomainSet.public org.jdom.Element coverageDescriptionType2JDOM(net.opengis.wcs.v_2_0.CoverageDescriptionType cd)
throws WcsException
cd - The CoverageDescriptionType instance to processWcsExceptionpublic static void main(java.lang.String[] args)
args - Ignored...