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.4.2.tar.gz (20.7 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.4.2.win32.exe (243.9 kB view details)

Uploaded Source

CreateCloudMap-0.4.2.cygwin-1.7.28-i686.exe (102.6 kB view details)

Uploaded Source

CreateCloudMap-0.4.2-py2.7.egg (13.0 kB view details)

Uploaded Egg

File details

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

File metadata

File hashes

Hashes for CreateCloudMap-0.4.2.tar.gz
Algorithm Hash digest
SHA256 da397cb1003b46bb9d1b9faf2219dff22037530e9b84e728c2064cd4fcacaa79
MD5 2097881bb224b2e6baff505b5445ecb1
BLAKE2b-256 073ff2f949eea8cd184aed0da43b9f8dbf66a394ea6c0dc80250a97327b29fac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for CreateCloudMap-0.4.2.win32.exe
Algorithm Hash digest
SHA256 67651c2378fd2ba5760d3a7348633af11b6e10215574b4d9aefa7c1799ccd0f7
MD5 5e1523ec880f260d6a1e7bda0fafa88c
BLAKE2b-256 168d38db8b7f1ab301e407152b230111cfd75cd870fb412526d21b0083abf60c

See more details on using hashes here.

File details

Details for the file CreateCloudMap-0.4.2.cygwin-1.7.28-i686.exe.

File metadata

File hashes

Hashes for CreateCloudMap-0.4.2.cygwin-1.7.28-i686.exe
Algorithm Hash digest
SHA256 9853bf847d09904ab4a7e37068e12d6721267e6ec5393d5b313feb64b22e9410
MD5 736a26ac6d04a12798bb21b5bea7b3fc
BLAKE2b-256 6266dd32a3d6d2895faa08d82e3e6b1bea1580703ee4a2fe8039ba044436a2ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for CreateCloudMap-0.4.2-py2.7.egg
Algorithm Hash digest
SHA256 8cc6b8138e7956e0297f73b72582a642e0518e939162e8d14f09e0343f7cb48e
MD5 32eb949b04ad348e11569a65c34de72a
BLAKE2b-256 55b55379ddf93779914c973dc0e7845f5df4d1363baa4078c63989e93c8e0036

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