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

Uploaded Source

CreateCloudMap-0.4.1.cygwin-1.7.28-i686.exe (64.4 kB view details)

Uploaded Source

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

Uploaded Egg

File details

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

File metadata

File hashes

Hashes for CreateCloudMap-0.4.1.tar.gz
Algorithm Hash digest
SHA256 a4735ee188a01d6f30b803f268b2b6990dad688bf2ec17e3c066b253b12191db
MD5 5d6c0b23caeb60266ee6e2904229b5ee
BLAKE2b-256 c619f5045095db862e21e5e741c4775e206498ceb4b9b886083b5eb13b63ecb5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for CreateCloudMap-0.4.1.win32.exe
Algorithm Hash digest
SHA256 1fb8e6d817a88616b6e39c4a67f477c6205cab3ed2b1b0fc06861b64db1d0375
MD5 535579ce61fc885e6f421a80d69469fc
BLAKE2b-256 a4e676947911d63553519734fa497bc907282517c2f29f525cbbc639880dedfa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for CreateCloudMap-0.4.1.cygwin-1.7.28-i686.exe
Algorithm Hash digest
SHA256 c37f19f320ea2a40d13a3304f2b9a131bac0e48b5ae0f426d3e074b1780abc9a
MD5 871a5a2f85f41e3c5164a0ad185aefa8
BLAKE2b-256 881bd70f561f12d521dce3d1d0865535d1f2f0b0ab003a49acbe88efc4d12ab8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for CreateCloudMap-0.4.1-py2.7.egg
Algorithm Hash digest
SHA256 1b6f1f5af6250f993c4c0d79473a5e62791aa53d45a428bbd326133be9dbf7d3
MD5 d62f61fed573ca47f710c8acc80da9df
BLAKE2b-256 5c054a8ef728790f53f6e6f3d8164d5f22b23678209ffaff9c2fbd21eda7fb9c

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