Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Command-line implementation and Golang library for the RAMMB/CIRA SLIDER satellite image viewer

License

Notifications You must be signed in to change notification settings

colinmcintosh/SLIDER-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RAMMB/CIRA SLIDER CLI

License GoDoc Testing Go Report Card Release

A command-line implementation of the RAMMB/CIRA SLIDER tool in Golang. This tool downloads NOAA images taken by weather satellites in space and creates animations/GIFs from those images. See an example below.

SLIDER is the Satellite Loop Interactive Data Explorer in Real-time .

This tool is meant to replicate most of the features of SLIDER and includes some additional flexibility in configuration options. The goal of this utility is to resolve some common issues with the SLIDER web interface, specifically:

  • Incomplete frames being rendered on screen
  • Slow to generate animations
  • Web browser may crash for complex animations
  • Limited options for features like time-step and speed

This is not to downplay the awesomeness that is the SLIDER web UI. The folks who created it did amazing work and this CLI tool hopes to be complementary to that effort. For more details on their effort check out this 2018 talk from AMS on SLIDER.

This is not an official product of NWS, NOAA, RAMMB, or CIRA.

Download

Platforms Supported: Windows, Linux, Mac

Head to the Releases page to download the latest version. Or you can build the source code with make build, which requires Golang and CMake.

Example Usage

./slider-cli --satellite=goes-16 --sector=conus --product=geocolor -z=2

Example Animation

Help Dialog

slider-cli version v0.3.0-2-g96b20c8-96b20c8 (Built 2021-04-09T23:45:32Z)

Usage:
      --allow-stale        Allow imagery more than a year old -- filtering these images
                           outhelps eliminate issues with loops containing old data.
      --angle int          Degrees to rotate the animation.
  -b, --begin string       Desired image capture time of the first image in the loop. Use the
                           timestamp format YYYYMMDDhhmmss. This flag cannot be used with --end.
      --date-list          Print a list of available dates
      --decode string      Decode a SLIDER URL into a loop config and create an animation. You
                           must supply --time-step as well as that can't be decoded from the URL.
  -d, --dir string         Output filename to save rendered animation in. (default ".")
  -e, --end string         Desired image capture time of the last image in the loop. Use the
                           timestamp format YYYYMMDDhhmmss. This flag cannot be used with --begin.
      --help               Print help dialog.
  -i, --image-count int    Number of images in the loop. (default 6)
  -l, --loop string        Loop style. Options are 'forward', 'reverse', or 'rock'. Note that
                           using 'rock' will nearly double the output animation file size.
                           (default "forward")
  -o, --output string      Output filename to save rendered animation in. (default auto-generated)
  -p, --product string     Satellite product to request imagery for. See --product-list for
                           the full list. (Example: geocolor)
      --product-list       Print a list of available satellite products
  -s, --satellite string   Satellite to request imagery for. See --satellite-list for the full
                           list. (Example: goes-17)
      --satellite-list     Print a list of available satellites
  -c, --sector string      Satellite sector to request imagery for. See --sector-list for the
                           full list. (Example: conus)
      --sector-list        Print a list of available satellite sectors
      --speed int          Desired frame rate in 100ths of a second. The lowest value accepted
                           is 1. (default 15)
  -t, --time-step int      Desired interval of image capture times in minutes. (default 5)
  -v, --verbose            Enable verbose output.
  -V, --version            Print version and exit.
  -z, --zoom int           Zoom level (changes resolution). See --zoom-list for the full list
                           of allowed zoom levels. (default 1)
      --zoom-list          Print a list of available zoom levels for satellite sectors


Usage Examples:
    ./slider-cli --satellite-list
    ./slider-cli --sector-list --satellite=goes-16
    ./slider-cli --satellite=goes-16 --sector=conus --product=geocolor -z=2
    ./slider-cli --satellite=goes-16 --sector=conus --product=band-1 -i=20 -t=10

Feature To-Do List

  • Loop
  • Rock
  • Reverse
  • Speed
  • Zoom (Resolution)
  • Pan/Crop
  • Rotation/Angle
  • Slider
  • Satellite Selection
  • Sector Selection
  • Product Selection
  • Product Overlays
  • Overlay Opacity
  • Number of Images
  • Time Step
  • Map Overlays
  • Lat/Lon Overlays
  • RAMMB/CIRA Watermark Overlays
  • Begin Timestamp
  • End Timestamp
  • Animated GIF
  • Animated PNG
  • Separate Images
  • Follow Feature
  • URL Parsing
  • GOES-16 Satellite
  • GOES-17 Satellite
  • Himawari-8 Satellite
  • Meteosat-8 Satellite
  • Meteosat-11 Satellite
  • JPSS Satellite
  • GOES Complete Sector List
  • Himawari-8 Complete Sector List
  • Meteosat Complete Sector List
  • JPSS Complete Sector List
  • GOES Complete Product List
  • Himawari-8 Complete Product List
  • Meteosat Complete Product List
  • JPSS Complete Product List
  • Local Image Caching

Known Issues

  • The 10000x6000px images for GOES Bands 1, 2, 3, & 5 are missing because I don't know of a good source for them without the map overlays already included. If anyone knows where to find these images please open a GitHub issue and let me know.
  • At this time you can only specify a begin timestamp or an end timestamp but not both at the same time. In the future I want to be able to support that feature as an alternative to specifying an image count.

About

Command-line implementation and Golang library for the RAMMB/CIRA SLIDER satellite image viewer

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •