Satellite Photos
The Satellite Photos Plugin is a component of the KeepTrack application that provides functionality for viewing live satellite imagery and Earth photos from various spacecraft.
Features
- Display live photos from select geostationary weather satellites
- View Earth images captured by the DSCOVR (Deep Space Climate Observatory) satellite
- Integrate satellite imagery with KeepTrack’s satellite tracking capabilities
- Open images in a lightbox view for detailed examination
User Interface
The plugin adds the following UI elements:
- A “Satellite Photos” icon in the bottom menu for quick access
- A side menu with a list of available satellite imagery sources
- Dynamic addition of DSCOVR image options based on available data
Satellite Imagery Sources
The plugin provides access to images from the following satellites:
- MeteoSat 9
- MeteoSat 11
- Himawari 8
- GOES 16
- GOES 18
- DSCOVR (multiple images)
Usage
Viewing Satellite Imagery
- Click the “Satellite Photos” icon in the bottom menu
- Select a satellite or image source from the side menu list
- The corresponding satellite will be selected in the main view (if applicable)
- The image will open in a lightbox view for detailed examination
Himawari 8 Specific Functionality
- Select “Himawari 8” from the menu
- The plugin will load an image based on the current simulation time
- If the simulation time is in the future, it will load the most recent available image
Integration with KeepTrack
The Satellite Photos Plugin integrates with several KeepTrack components:
- SelectSatManager: Selects the corresponding satellite when an image is viewed
- MainCamera: Adjusts the camera view for optimal image viewing
- TimeManager: Used for time-based image selection (Himawari 8)
- UiManager: Handles UI updates and notifications
Development
When extending or modifying the Satellite Photos Plugin, consider the following:
- The plugin follows the KeepTrackPlugin architecture
- It uses XMLHttpRequest to fetch DSCOVR image data from the NASA EPIC API
- The
colorbox
function is used to display images in a lightbox view
Code Configuration
The plugin supports the following configuration options:
bottomIconElementName
: ID for the bottom menu icon elementbottomIconLabel
: Label for the bottom menu iconbottomIconImg
: Image source for the bottom menu iconsideMenuElementName
: ID for the side menu elementsideMenuElementHtml
: HTML content for the side menu
Troubleshooting
- If DSCOVR images are not loading, check the browser console for API request errors
- Ensure that the required KeepTrack components (SelectSatManager, MainCamera, etc.) are properly initialized
- For issues with specific satellite images, verify the image URLs in the
loadPic
method calls