Package uk.ac.rdg.resc.edal.dataset.cdm
Class ArgoDatasetFactory
- java.lang.Object
-
- uk.ac.rdg.resc.edal.dataset.DatasetFactory
-
- uk.ac.rdg.resc.edal.dataset.cdm.ArgoDatasetFactory
-
- Direct Known Subclasses:
En3DatasetFactory
public class ArgoDatasetFactory extends DatasetFactory
DatasetFactory
that createsDataset
s representing profile data from Argo floats read through the Unidata Common Data Model.- Author:
- Guy Griffiths
-
-
Field Summary
Fields Modifier and Type Field Description protected String
DEPTH
protected String
LATITUDE
protected static org.slf4j.Logger
log
protected String
LONGITUDE
protected String
N_LEVELS
protected String
N_PROF
protected String
PLATFORM_ID
protected String
POSITION_QC
protected Parameter
PSAL_PARAMETER
protected String
PSAL_QC
protected Parameter
TEMP_PARAMETER
protected String
TEMP_QC
protected String
TIME
protected VerticalCrsImpl
VERTICAL_CRS
-
Fields inherited from class uk.ac.rdg.resc.edal.dataset.DatasetFactory
workingDir
-
-
Constructor Summary
Constructors Constructor Description ArgoDatasetFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description uk.ac.rdg.resc.edal.dataset.cdm.ArgoDatasetFactory.ArgoDataset
createDataset(String id, String location, boolean forceRefresh)
Returns a Dataset object representing the data at the given location.-
Methods inherited from class uk.ac.rdg.resc.edal.dataset.DatasetFactory
createDataset, forName, setDefaultDatasetFactoryClass, setWorkingDirectory
-
-
-
-
Field Detail
-
log
protected static final org.slf4j.Logger log
-
LONGITUDE
protected String LONGITUDE
-
LATITUDE
protected String LATITUDE
-
TIME
protected String TIME
-
DEPTH
protected String DEPTH
-
TEMP_PARAMETER
protected Parameter TEMP_PARAMETER
-
PSAL_PARAMETER
protected Parameter PSAL_PARAMETER
-
POSITION_QC
protected String POSITION_QC
-
TEMP_QC
protected String TEMP_QC
-
PSAL_QC
protected String PSAL_QC
-
PLATFORM_ID
protected String PLATFORM_ID
-
N_LEVELS
protected String N_LEVELS
-
N_PROF
protected String N_PROF
-
VERTICAL_CRS
protected VerticalCrsImpl VERTICAL_CRS
-
-
Method Detail
-
createDataset
public uk.ac.rdg.resc.edal.dataset.cdm.ArgoDatasetFactory.ArgoDataset createDataset(String id, String location, boolean forceRefresh) throws IOException, EdalException
Description copied from class:DatasetFactory
Returns a Dataset object representing the data at the given location.- Specified by:
createDataset
in classDatasetFactory
- Parameters:
id
- The ID to assign to this datasetlocation
- The location of the source data: this may be a file, database connection string or a remote server address.forceRefresh
- Set totrue
to ensure that any cached information is not used- Throws:
EdalException
- If there is a problem creating the datasetIOException
-
-