public class SatelliteDataInfo extends EarthDataInfo
SatelliteDataInfo
class is a special
EarthDataInfo
class for satellite data. It adds extra
metadata for the data source satellite and sensor.Constructor and Description |
---|
SatelliteDataInfo(java.lang.String sat,
java.lang.String sensor,
java.util.Date date,
EarthTransform trans,
java.lang.String origin,
java.lang.String history)
Constructs a new satellite data info object with the specified
properties.
|
SatelliteDataInfo(java.lang.String sat,
java.lang.String sensor,
java.util.List periodList,
EarthTransform trans,
java.lang.String origin,
java.lang.String history)
Constructs a new satellite data info object with the specified
properties.
|
Modifier and Type | Method and Description |
---|---|
EarthDataInfo |
append(EarthDataInfo appendInfo,
boolean pedantic)
Appends another info object to this one.
|
java.lang.String |
getSatellite()
Gets the satellite name.
|
java.lang.String |
getSensor()
Gets the sensor name.
|
clone, formatDate, formatDate, formatDate, getDate, getEndDate, getHistory, getOrigin, getSceneTime, getSceneTime, getSource, getStartDate, getTimePeriods, getTransform, isInstantaneous, setTimePeriods, setTransform, updateHistory
getMetadataMap
public SatelliteDataInfo(java.lang.String sat, java.lang.String sensor, java.util.Date date, EarthTransform trans, java.lang.String origin, java.lang.String history)
sat
- a short satellite name. The satellite name should
reflect the agency and series or model number that the satellite
is commonly known by, for example noaa-16
or
orbview-2
.sensor
- a short sensor name. The sensor name is usually an
acronym for the instrument on the satellite that recorded the
data, for example avhrr
or seawifs
.date
- the data recording date. It is assumed that the data
was recorded on the specified date and time, with essentially no
time duration.trans
- the earth transform. The transform specifies the
translation between data array coordinates and geographic
coordinates. The parameter is null if no transform is known.origin
- the original data producer. The origin should be
specified as accurately as possible to reflect the agency and
division that initially processed and formatted the data.history
- the data command history. The history is a
newline separated list of commands and parameters that lead to
the creation of the data.SatelliteDataInfo(String,String,List,EarthTransform,String,String)
public SatelliteDataInfo(java.lang.String sat, java.lang.String sensor, java.util.List periodList, EarthTransform trans, java.lang.String origin, java.lang.String history)
sat
- a short satellite name. The satellite name should
reflect the agency and series or model number that the satellite
is commonly known by, for example noaa-16
or
orbview-2
.sensor
- a short sensor name. The sensor name is usually an
acronym for the instrument on the satellite that recorded the
data, for example avhrr
or seawifs
.periodList
- the list of data recording time periods.trans
- the earth transform. The transform specifies the
translation between data array coordinates and geographic
coordinates. The parameter is null if no transform is known.origin
- the original data producer. The origin should be
specified as accurately as possible to reflect the agency and
division that initially processed and formatted the data.history
- the data command history. The history is a
newline separated list of commands and parameters that lead to
the creation of the data.SatelliteDataInfo(String,String,Date,EarthTransform,String,String)
public java.lang.String getSatellite()
public java.lang.String getSensor()
public EarthDataInfo append(EarthDataInfo appendInfo, boolean pedantic)
append
in class EarthDataInfo
appendInfo
- the info object to append.pedantic
- the pedantic flag, true if metadata should be
appended exactly so that duplicate values are preserved, false if
not.java.lang.IllegalArgumentException
- if the classes or Earth
transforms for this object and the object to append do not match.