Utilities for retrieving and processing data from the Mars Climate Database
Project description
mars-MCD-helper
Utilities for retrieving and processing data from the Mars Climate Database
Requirements
mars-MCD-helper requires Python 3.7 or above.
To install Python 3.7, I recommend using pyenv
.
# install pyenv
git clone https://github.com/pyenv/pyenv ~/.pyenv
# setup pyenv (you should also put these three lines in .bashrc or similar)
export PATH="${HOME}/.pyenv/bin:${PATH}"
export PYENV_ROOT="${HOME}/.pyenv"
eval "$(pyenv init -)"
# install Python 3.7
pyenv install 3.7.12
# make it available globally
pyenv global system 3.7.12
Installation
With pip
:
python -m pip install mars-mcd-helper # or
python3.7 -m pip install mars-mcd-helper
With pipx
:
python3.7 -m pip install --user pipx
pipx install --python python3.7 mars-mcd-helper
Usage
Several functions are provided. Currently there is no cli interface as I haven't written it yet.
from mars_mcd_helper import fetch_data, read_ascii_data
outf = fetch_data(outdir=".", ls=87.4)
sections = read_ascii_data(outf)
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
mars-mcd-helper-0.0.3.tar.gz
(6.3 kB
view hashes)
Built Distribution
Close
Hashes for mars_mcd_helper-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e142295eb77090a0d3538bb3b5af06045a043d6e38acf53db44e83ee8a9df9ee |
|
MD5 | 101f934d1fa48cf9e642788256a54579 |
|
BLAKE2b-256 | 2e653fdda2770e46b34bf782f40c169c28bf0f1e03ad911cc175b143d107b4ea |