Skip to main content

Create a cloud map for xplanet using satellite images from the Dundee Satellite Receiving Station

Project description

Python script to create a cloud map for xplanet using satellite images from the Dundee Satellite Receiving Station, Dundee University, UK. This script can also be installed by pip from pypi.

xplanet can use a cloud map to make the earth look more pretty.

There is a free service which create one such cloud map per day. Due to a temporary unavailability of that service this script create_map was developed to automatically download the necessary geostationary images from the Dundee Satellite Receiving Station, Dundee University, UK. To use this service you need an account there (which is free). Also a new cloud map can be created every three hours.

Set your login information in the configuration file (default name for UNIX-like systems: $HOME/.CreateCloudMap/CreateCloudMap.ini, for Windows: %HOME%\.CreateCloudMap\CreateCloudMap.ini):

[Download]
username = user
password = secret
tempdir = images
 # Use one of the followingj for resolution: medium, high
resolution = medium
purge = false

[xplanet]
destinationdir = xplanet/images
destinationfile = clouds_2048.jpg
width = 2048
height = 1024

If the configuration file already exists, a new version is copied to CreateCloudMap.ini.new to not overwrite the login data. The old config file should work after an update, because default values are used for newly introduced options.

tempdir specifies the directory where the downloaded images (and if enabled by the command line switch --debug or -d) intermediate debug images are stored. For debug outputs to work, you need to (manually) install matplotlib and Basemap. destinationdir specifies the directory where the output destinationfile is saved.

resolution can be set to medium or high to determine the resolution of the downloaded satellite images (low does not work at the moment.)

If purge is set to true old satellite images will be deleted which are not used to draw the current cloud map.

width and height set the dimensions of the cloud map in destinationfile.

To see all command line options of the script use --help:

$ create_map --help
usage: create_map [-h] [-d] [-c FILE] [-f]

optional arguments:
  -h, --help            show this help message and exit
  -d, --debug           store intermediate results
  -c FILE, --conf_file FILE
                        Specify config file
  -f, --force           Force to recreate cloud map

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

CreateCloudMap-0.5.1.tar.gz (20.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

CreateCloudMap-0.5.1.win-amd64.exe (274.5 kB view details)

Uploaded Source

CreateCloudMap-0.5.1.win32.exe (244.0 kB view details)

Uploaded Source

CreateCloudMap-0.5.1-py2.7.egg (13.3 kB view details)

Uploaded Egg

File details

Details for the file CreateCloudMap-0.5.1.tar.gz.

File metadata

File hashes

Hashes for CreateCloudMap-0.5.1.tar.gz
Algorithm Hash digest
SHA256 2c9fc40db0b12dfb954f4817780d462f4308dd5919b2a8098f646e1e22ff6fdc
MD5 d4f8cf00aaccfdb7ec58dae6f8b4c929
BLAKE2b-256 0b8af384a8c29e38545820f6642c4d07b29e611b7895c18e61e99e9eab04cb85

See more details on using hashes here.

File details

Details for the file CreateCloudMap-0.5.1.win-amd64.exe.

File metadata

File hashes

Hashes for CreateCloudMap-0.5.1.win-amd64.exe
Algorithm Hash digest
SHA256 3a01655cf704ef5faeb90a7e9288a5eb4968b8197c1a8d1ae8920045d14885fc
MD5 27a3a10e8a7123fd75de01e2518538a8
BLAKE2b-256 14b70b5cbab7997d15a10310b3f364eee0b50500dc880a25b551148711f7fd1b

See more details on using hashes here.

File details

Details for the file CreateCloudMap-0.5.1.win32.exe.

File metadata

File hashes

Hashes for CreateCloudMap-0.5.1.win32.exe
Algorithm Hash digest
SHA256 497c2bb8961fe0b58b5792be5081cc52a64aa2c3fd270fa24950426fe6c5fa80
MD5 b6c87027cc0d317bdcd6f8be1b8d0cea
BLAKE2b-256 3e9155edefde378a0e9703c2160e7980e7f7110e3c3d1f82169ed32c04046390

See more details on using hashes here.

File details

Details for the file CreateCloudMap-0.5.1-py2.7.egg.

File metadata

File hashes

Hashes for CreateCloudMap-0.5.1-py2.7.egg
Algorithm Hash digest
SHA256 2e9f63a906dc7381657056cd22d39f9071ecc8a246557c46af857eb994d7ddfe
MD5 02ad535d9ee9ae577d417e85ca72ee96
BLAKE2b-256 faa6fcc7d59dc91e81088800e8bd8bfde85f42f9d651f6ec1b70a7b8c692767c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page