Downloads a cloud map for xplanet from https://clouds.matteason.co.uk/
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file CreateCloudMap-0.99.0.tar.gz
.
File metadata
- Download URL: CreateCloudMap-0.99.0.tar.gz
- Upload date:
- Size: 61.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b92baff334c956f449d5069d227354add29f7918b3c4ff6f6c922dfcf44993d |
|
MD5 | 84b0d1ae4784a21712e827cd1be666fb |
|
BLAKE2b-256 | 2f7f7e7f8f2919cf6ff8747e5408d3cc564dc644aceea85873dd052df14b627b |