Package noaa.coastwatch.util
Class SatelliteDataInfo
java.lang.Object
noaa.coastwatch.util.MetadataContainer
noaa.coastwatch.util.EarthDataInfo
noaa.coastwatch.util.SatelliteDataInfo
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
SatellitePassInfo
The
SatelliteDataInfo
class is a special
EarthDataInfo
class for satellite data. It adds extra
metadata for the data source satellite and sensor.- Since:
- 3.1.0
- Author:
- Peter Hollemans
-
Constructor Summary
ConstructorDescriptionSatelliteDataInfo
(String sat, String sensor, Date date, EarthTransform trans, String origin, String history) Constructs a new satellite data info object with the specified properties.SatelliteDataInfo
(String sat, String sensor, List<TimePeriod> periodList, EarthTransform trans, String origin, String history) Constructs a new satellite data info object with the specified properties. -
Method Summary
Modifier and TypeMethodDescriptionappend
(EarthDataInfo appendInfo, boolean pedantic) Appends another info object to this one.Gets the satellite name.Gets the sensor name.Methods inherited from class noaa.coastwatch.util.EarthDataInfo
appendWithDuplicates, appendWithoutDuplicates, clearHistory, clone, collapseTimePeriods, formatDate, formatDate, formatDate, getDate, getEndDate, getHistory, getOrigin, getSceneTime, getSceneTime, getSource, getStartDate, getTimePeriods, getTransform, isInstantaneous, setTimePeriods, setTransform, updateHistory
Methods inherited from class noaa.coastwatch.util.MetadataContainer
getMetadataMap
-
Constructor Details
-
SatelliteDataInfo
public SatelliteDataInfo(String sat, String sensor, Date date, EarthTransform trans, String origin, String history) Constructs a new satellite data info object with the specified properties.- Parameters:
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 examplenoaa-16
ororbview-2
.sensor
- a short sensor name. The sensor name is usually an acronym for the instrument on the satellite that recorded the data, for exampleavhrr
orseawifs
.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.- See Also:
-
SatelliteDataInfo
public SatelliteDataInfo(String sat, String sensor, List<TimePeriod> periodList, EarthTransform trans, String origin, String history) Constructs a new satellite data info object with the specified properties.- Parameters:
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 examplenoaa-16
ororbview-2
.sensor
- a short sensor name. The sensor name is usually an acronym for the instrument on the satellite that recorded the data, for exampleavhrr
orseawifs
.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.- See Also:
-
-
Method Details
-
getSatellite
Gets the satellite name. -
getSensor
Gets the sensor name. -
append
Appends another info object to this one.- Overrides:
append
in classEarthDataInfo
- Parameters:
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.- Returns:
- the newly created object.
- Throws:
IllegalArgumentException
- if the classes or Earth transforms for this object and the object to append do not match.
-