Package noaa.coastwatch.util
Class SatellitePassInfo
java.lang.Object
noaa.coastwatch.util.MetadataContainer
noaa.coastwatch.util.EarthDataInfo
noaa.coastwatch.util.SatelliteDataInfo
noaa.coastwatch.util.SatellitePassInfo
- All Implemented Interfaces:
Cloneable
A satellite pass info object holds information about one pass
of a satellite over the Earth.
- Since:
- 3.1.3
- Author:
- Peter Hollemans
-
Constructor Summary
ConstructorDescriptionSatellitePassInfo
(String passID, ServerQuery query, int result) Creates a new satellite pass info object using the specified ID and query results. -
Method Summary
Modifier and TypeMethodDescriptionGets the pass center point.Gets the pass coverage polygon.int[]
Gets the pass dimensions as [lines, samples].Gets the pass ground capture station.Gets the orbit type: 'ascending' or 'descending'.Gets the pass identifier.Gets the pass preview URL.Gets the pass scene time: 'day', 'night', or 'day/night'.getSceneTime
(int[] dims) Gets the scene time in terms of day or night for the specified 2D scene dimensions.getSceneTime
(DataLocation upperLeft, DataLocation lowerRight) Gets the scene time in terms of day or night for the specified 2D scene bounds.Methods inherited from class noaa.coastwatch.util.SatelliteDataInfo
append, getSatellite, getSensor
Methods inherited from class noaa.coastwatch.util.EarthDataInfo
appendWithDuplicates, appendWithoutDuplicates, clearHistory, clone, collapseTimePeriods, formatDate, formatDate, formatDate, getDate, getEndDate, getHistory, getOrigin, getSource, getStartDate, getTimePeriods, getTransform, isInstantaneous, setTimePeriods, setTransform, updateHistory
Methods inherited from class noaa.coastwatch.util.MetadataContainer
getMetadataMap
-
Constructor Details
-
SatellitePassInfo
Creates a new satellite pass info object using the specified ID and query results.- Parameters:
passID
- the satellite pass identifier used for the query.query
- the server query results.result
- the server query result index.
-
-
Method Details
-
getCenter
Gets the pass center point. -
getPassID
Gets the pass identifier. -
getOrbitType
Gets the orbit type: 'ascending' or 'descending'. -
getDimensions
public int[] getDimensions()Gets the pass dimensions as [lines, samples]. -
getGroundStation
Gets the pass ground capture station. -
getCoveragePolygon
Gets the pass coverage polygon. -
getPreviewURL
Gets the pass preview URL. -
getSceneTime
Gets the pass scene time: 'day', 'night', or 'day/night'. -
getSceneTime
Description copied from class:EarthDataInfo
Gets the scene time in terms of day or night for the specified 2D scene bounds. The date and time used to determine the scene time is the starting date of the first time period.- Overrides:
getSceneTime
in classEarthDataInfo
- Parameters:
upperLeft
- the upper-left 2D scene boundary.lowerRight
- the lower-right 2D scene boundary.- Returns:
- a descriptive scene time string. The scene time is
day
for daytime scenes,night
for nighttime scenes, orday/night
for a scene that crosses the terminator.
-
getSceneTime
Description copied from class:EarthDataInfo
Gets the scene time in terms of day or night for the specified 2D scene dimensions. The date and time used to determine the scene time is the starting date of the first time period.- Overrides:
getSceneTime
in classEarthDataInfo
- Parameters:
dims
- the scene boundary dimensions as [rows, columns].- Returns:
- a descriptive scene time string. The scene time is
day
for daytime scenes,night
for nighttime scenes, orday/night
for a scene that crosses the terminator.
-