public class LandsatStore extends DataStore
GROUP = L1_METADATA_FILE
GROUP = METADATA_FILE_INFO
ORIGIN = "Image courtesy of the U.S. Geological Survey"
REQUEST_ID = "0501403126384_00011"
LANDSAT_SCENE_ID = "LC81230522014071LGN00"
FILE_DATE = 2014-03-12T06:06:35Z
STATION_ID = "LGN"
PROCESSING_SOFTWARE_VERSION = "LPGS_2.3.0"
END_GROUP = METADATA_FILE_INFO
GROUP = PRODUCT_METADATA
DATA_TYPE = "L1T"
ELEVATION_SOURCE = "GLS2000"
OUTPUT_FORMAT = "GEOTIFF"
SPACECRAFT_ID = "LANDSAT_8"
SENSOR_ID = "OLI_TIRS"
etc...
This class reads the content from the given input until the first occurrence of the END keyword.
Lines beginning with the # character (ignoring spaces) are treated as comment lines and ignored.Defined in the sis-earth-observation module
| Constructor and Description |
|---|
LandsatStore(LandsatStoreProvider provider,
StorageConnector connector)
Creates a new Landsat store from the given file, URL, stream or character reader.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this Landsat store and releases any underlying resources.
|
Metadata |
getMetadata()
Returns information about the dataset as a whole.
|
ParameterValueGroup |
getOpenParameters()
Returns the parameters used to open this Landsat data store.
|
String |
toString()
Returns a string representation of this Landsat store for debugging purpose.
|
addWarningListener, findResource, getDisplayName, getLocale, getProvider, removeWarningListener, setLocalepublic LandsatStore(LandsatStoreProvider provider, StorageConnector connector) throws DataStoreException
StorageConnector.closeAllExcept(Object),
keeping open only the needed resource.provider - the factory that created this DataStore instance, or null if unspecified.connector - information about the storage (URL, stream, reader instance, etc).DataStoreException - if an error occurred while opening the Landsat file.public Metadata getMetadata() throws DataStoreException
getMetadata in interface ResourcegetMetadata in class DataStoreDataStoreException - if an error occurred while reading the data.Resource.getMetadata()public ParameterValueGroup getOpenParameters()
LandsatStoreProvider.getOpenParameters() and contains at
least a parameter named "location" with a URI value.
This method may return null if the storage input can not be described by a URI
(for example a Landsat file reading directly from a ReadableByteChannel).getOpenParameters in class DataStorenull if not available.DataStoreProvider.getOpenParameters()public void close()
throws DataStoreException
close in interface AutoCloseableclose in class DataStoreDataStoreException - if an error occurred while closing the Landsat file.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.