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

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

[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.)

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.2.0.tar.gz (20.4 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.2.0.win32.exe (243.4 kB view details)

Uploaded Source

CreateCloudMap-0.2.0.cygwin-1.7.27-i686.exe (103.9 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for CreateCloudMap-0.2.0.tar.gz
Algorithm Hash digest
SHA256 2a8f4c24db23bc313ec1b391a6e3e666b20dd0f2232ab831c0ffc113fe061e2f
MD5 6123e4206da20b5d762ebd816f6d269b
BLAKE2b-256 250d21de2d950dbb23c4da18cab3eb2975530d9967855cc9826a206dc185a663

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for CreateCloudMap-0.2.0.win32.exe
Algorithm Hash digest
SHA256 a8d643bb9316c34bc03b47397e657df6ef80207f894ac8233120c533f0dea13b
MD5 b6df4cecf7816c39a7a8521369fa0929
BLAKE2b-256 6471f14d4bb226fe1c5774c99f30de3c841cc54c523d9df41c0dbb0d512d203c

See more details on using hashes here.

File details

Details for the file CreateCloudMap-0.2.0.cygwin-1.7.27-i686.exe.

File metadata

File hashes

Hashes for CreateCloudMap-0.2.0.cygwin-1.7.27-i686.exe
Algorithm Hash digest
SHA256 73628af0aeaeeacb9f2e743e4c6d71b0fae44808894e32185b2cc4368ab889b7
MD5 4c14b50be692a30876ba463c90658c16
BLAKE2b-256 b27bb71518b0c674e977f7f410ab5b0202ce00aed1fb60118c7fe2f4ba1d15c3

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