Jump to content
Kev

felicette - Satellite imagery for dummies.

Recommended Posts

Who should use this tool?

TL;DR: Generate JPEG earth imagery from coordinates/location name with publicly available satellite data.

 

This tool is for a sentient being who wants to view high-res satellite imagery of earth, without digging through all the nitty gritty geospatial details of it. So if this is your first time trying to explore how parts of the Earth look from space, you're at the right place.

 

NB: felicette at the present state searches for cloud-cover < 10%, and doesn't constrain results on the basis of dates.

 

One can see Product Roadmap for upcoming features.

 

Installation

felicette depends on GDAL. But the following steps cover GDAL's installation as well.

 

rio-color uses numpy headers to setup, thus installing numpy and GDAL=={ogrinfo --version} would be sufficient before installing felicette.

 

Debian

$ sudo add-apt-repository ppa:ubuntugis/ppa
$ sudo apt-get update
$ sudo apt-get install python-numpy gdal-bin libgdal-dev
$ gdal-config --version
 <version-number>
 
* activate virtual environment *

$ pip install numpy GDAL==<version-number>
$ pip install felicette

 

MacOS

$ brew install gdal
$ gdal-config --version
 <version-number>

* activate virtual environment *

$ pip install numpy GDAL==<version-number>
$ pip install felicette

 

Docker

As pointed out here, the following docker image works and is volume-mapped to the present working directory.

 

Thanks @milhouse1337 for the docker-image.

 

Quote

 

"Why you no make a section for Windows?" 


 

 

 

rio-color, one of the felicette's dependencies isn't available on conda ecosystem yet. Here's the link to a small discussion on an installation-issue. This section would be updated when there is a stable version of felicette for Windows.

 

Felicette has plans to build in-house RGB image enhancement algorithms or use imagemagick /[similar tools on conda-forge] for a Windows release, at least until rio-color is available on conda-forge/conda.

 

Usage

To use it:

$ felicette --help
Usage: felicette [OPTIONS]

  Satellite imagery for dummies.

Options:
  -c, --coordinates FLOAT...  Coordinates in (lon, lat) format. This overrides
                              -l command

  -l, --location-name TEXT    Location name in string format
  -p, --pan-enhancement       Enhance image with panchromatic band
  -pre, --preview-image       Preview pre-processed low resolution RGB
                              satellite image.

  -v, --vegetation            Show Color Infrared image to highlight
                              vegetation

  --help                      Show this message and exit.

 

Felicette can download and process Landsat images taking the location's input as (lon, lat) or the location name. They can be used in the following way.

 

With location name:

$ felicette -l "Kanyakumari"

 

With coordinates:

$ felicette -c 77.5385 8.0883

 

-p option uses the panchromatic band to enhance image's resolution to 15 meters, contrary to resolution of RGB bands(30 meters). To get a better image using felicette use:

$ felicette -p -c 77.5385 8.0883

 

-pre option downloads a low-res image for preview, to check if the image is worth your computation, Network I/O. 

$ felicette -pre -p -c 77.5385 8.0883

 

-v option generates a CIR image to highlight vegetation in 'red' color. Note that, '-p' option isn't taken into consideration while generating CIR imagery in felicette.

$ felicette -pre -v -l "Kanyakumari"

 

History

68747470733a2f2f692e696d6775722e636f6d2f

 

Félicette was the first cat launched into space, on 18 October 1963. Even though she landed back on earth safely, Félicette was euthanized two months after the launch so that scientists could perform a necropsy to examine her brain. She was the only cat to have survived spaceflight. Here's a footage of the mission from the archives.

 

When you get a satellite imagery using this tool, imagine Félicette took the picture for you :

 

Preview and examples

68747470733a2f2f692e696d6775722e636f6d2f

 

 

Here are some more sample images generated by felicette.

 

Here is a link to the original images generated with RGB, CIR options.

 

Following is a recording of the terminal session recording usage of felicette.

 

68747470733a2f2f61736369696e656d612e6f72

 

https://asciinema.org/a/349495

 

 

Source

  • Haha 1
  • Upvote 3

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...