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.2.zip (25.1 kB view details)

Uploaded Source

CreateCloudMap-0.5.2.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.2.win-amd64.zip (70.7 kB view details)

Uploaded Source

CreateCloudMap-0.5.2.win-amd64.exe (281.0 kB view details)

Uploaded Source

CreateCloudMap-0.5.2.win32.zip (67.6 kB view details)

Uploaded Source

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

Uploaded Source

File details

Details for the file CreateCloudMap-0.5.2.zip.

File metadata

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

File hashes

Hashes for CreateCloudMap-0.5.2.zip
Algorithm Hash digest
SHA256 3adc960797dc9c81dd1e41ed213bb7ede237351514d40f4a5f743a5e768e560a
MD5 7a8045b5f360108d9f4ad57b93dc6a89
BLAKE2b-256 a58cb6d681c6f3e84b17d2bfd18738297e847ab3528bf0895ac264488afa10e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for CreateCloudMap-0.5.2.tar.gz
Algorithm Hash digest
SHA256 47a7f53eac05467724132006845dda9dc8146ccadaadcb47676b51d4da3b3d23
MD5 6593e1bc3393c087c479581baee47fc4
BLAKE2b-256 ca901383214549b60fe208dbf0bfb227c1f7b589ac0be83dbdbcae088a972f42

See more details on using hashes here.

File details

Details for the file CreateCloudMap-0.5.2.win-amd64.zip.

File metadata

File hashes

Hashes for CreateCloudMap-0.5.2.win-amd64.zip
Algorithm Hash digest
SHA256 e2a442b019dbdd144cc50f6be6b4ee5e70479732b8dcbc2e1597b0e1b0971391
MD5 e7614c4d4943a5ef157153ae5ea47f47
BLAKE2b-256 0d5e131a3029af3e0927ce356abe02b7ae43468b349eb7a7a7562aa9dbe2f772

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for CreateCloudMap-0.5.2.win-amd64.exe
Algorithm Hash digest
SHA256 7442591706aa573fcc25dd50063930047e62b7ccfe88e5692b9eb1368ff10b10
MD5 5605749877e590f1939ef206759a67dd
BLAKE2b-256 304f513b24076588e58ec10452ef68ef9cc697a1356743d7970e485da7094ebc

See more details on using hashes here.

File details

Details for the file CreateCloudMap-0.5.2.win32.zip.

File metadata

File hashes

Hashes for CreateCloudMap-0.5.2.win32.zip
Algorithm Hash digest
SHA256 317c63e45734d1eb6acb1305a2ecb628af5e9ad40db0e7f02cf3b24609e287bd
MD5 6de4bd3f306421de6794ed6533e88e4f
BLAKE2b-256 a2e4569ad6ca393a7c9272ed7ccc919320fc91091cc2aea116e63963a9b737cc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for CreateCloudMap-0.5.2.win32.exe
Algorithm Hash digest
SHA256 71f0e77bd2f4c9bbf929b1f7ad507858b7f1da27c0cc985bc870c86a3111aec4
MD5 dbb67f2551bcf48d632e841012bbdd07
BLAKE2b-256 2a6d62b7fb0bcf3448e2d132af0c773de9a36ac83270fe6aada039644aa1ed65

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