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 Distributions

CreateCloudMap-0.5.3.zip (25.1 kB view details)

Uploaded Source

CreateCloudMap-0.5.3.tar.gz (20.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.5.3.win-amd64.exe (281.0 kB view details)

Uploaded Source

CreateCloudMap-0.5.3.win32.exe (250.6 kB view details)

Uploaded Source

CreateCloudMap-0.5.3-py2.7.egg (29.3 kB view details)

Uploaded Egg

File details

Details for the file CreateCloudMap-0.5.3.zip.

File metadata

  • Download URL: CreateCloudMap-0.5.3.zip
  • Upload date:
  • Size: 25.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for CreateCloudMap-0.5.3.zip
Algorithm Hash digest
SHA256 d982a2ef76e10cde34dd9e667ff2267c6aa00c284491ce1897786a187070c5b6
MD5 f60c84f8f26e7615988b304a084cea68
BLAKE2b-256 a55201ba1864c2857f66e320faca2d5cc9fcf3ead14caf2e5c619f23059406b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for CreateCloudMap-0.5.3.tar.gz
Algorithm Hash digest
SHA256 e1eba3173f20d771009ab5fb6c8f49ad959c7d596213264c2ae3c6f98075da2a
MD5 99ecf85a37e2f2bbe8876cf4cb491dcd
BLAKE2b-256 de62b6972fd924039265a8f19159cfa3b86ef15525aa3ade67479cf1fe782033

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for CreateCloudMap-0.5.3.win-amd64.exe
Algorithm Hash digest
SHA256 545dcac26f0f0976fb55f9e5bd3b98667f7aac71c98a712303c3160507347176
MD5 923759663fd577d7b0177a5e20da9a52
BLAKE2b-256 262bf01dfb010cef80540551f644073c2ff187574b785faae8d9c3edabb3a76e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for CreateCloudMap-0.5.3.win32.exe
Algorithm Hash digest
SHA256 d48a244061b8fbf56e77ab50fb91f25638a07d518eaac62f0d67c0175fdfa6c2
MD5 fb2679cc14d320562984877e744e154c
BLAKE2b-256 9d25098abb0eb140873100be9eb98a95fdce4aaacd31d302461b08c73db9367a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for CreateCloudMap-0.5.3-py2.7.egg
Algorithm Hash digest
SHA256 38d1d05327ee681901d6eb762e897cbca0383c1989ca804b561320f014aa60f5
MD5 8a9fbc2b968334354917477a15a99a9e
BLAKE2b-256 8659aca0e447ba791afbb465aa366879890e922b467b53aed916c478ec091cd7

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