Python script to create a cloud map for xplanet using the cloud map provided by https://clouds.matteason.co.uk/. This script can also be installed by pip from pypi.
xplanet can use a cloud map to make the earth look more pretty.
The script automatically checks, if a new image is available. The default behavior is to only download the image, if it is new.
Set the desired image size in the configuration file together with the output path (default name for UNIX-like systems: $HOME/.CreateCloudMap/CreateCloudMap.ini, for Windows: %HOME%\.CreateCloudMap\CreateCloudMap.ini):
[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 existing settings. The old config file should work after an update, because default values are used for newly introduced options.
width and height set the dimensions of the cloud map in destinationfile. Only resolutions available at https://clouds.matteason.co.uk/ are supported.
To see all command line options of the script use --help:
$ create_map --help
usage: create_map.py [-h] [-d] [-c FILE] [-f] [-V]
options:
-h, --help show this help message and exit
-d, --debug debug outputs
-c FILE, --conf_file FILE
Specify config file
-f, --force Force to recreate cloud map
-V, --version show program's version number and exit
Release files for CreateCloudMap 0.99.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| createcloudmap-0.99.2.tar.gz | 37.8 kB | Details |
Release files / createcloudmap-0.99.2.tar.gz
| Download URL | createcloudmap-0.99.2.tar.gz |
|---|---|
| Size | 37.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
20f46fdeb63f32ce62472f42afc21fc8204b2445b610780fa07751a2500ec49a
|
|
BLAKE2b-256 checksum How to use checksums |
2b126a32b95f82d2bf32f647a234bec48486c3f1ae629dcd7e34db8b78cb5890
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|