Skip to main content

mars-MCD-helper

ci documentation pypi version gitter

Utilities for retrieving and processing data from the Mars Climate Database.

Currently nothing more than an interface to www-mars.lmd.jussie.fr. Note that this tool is not in any way affiliated with that excellent project. It is simply a requests-based scraper. Overuse or repetitive fetching could result in ratelimiting or banning from jussieu.fr.

Usage

from mars_mcd_helper import fetch_data, read_ascii_data
outf, imgf = fetch_data(outdir=".", get_img=True, ls=87.4)
sections = read_ascii_data(outf)
print("Image to compare at", imgf)

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

Metadata

Release files for mars-mcd-helper 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mars-mcd-helper 0.1.2
File Size Uploaded Provenance Actions
mars-mcd-helper-0.1.2.tar.gz 8.2 kB Without provenance Details for mars-mcd-helper-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mars-mcd-helper 0.1.2
File Interpreter ABI Platform Actions
mars_mcd_helper-0.1.2-py3-none-any.whl Python 3 none any Details for mars_mcd_helper-0.1.2-py3-none-any.whl

Total release size: 17.3 kB

Release files / mars-mcd-helper-0.1.2.tar.gz

Download URL mars-mcd-helper-0.1.2.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
12b06d01a7eb35f4fbbf7254aca66bae47000c7dd85c59762de69b5f55a6d45b
BLAKE2b-256 checksum
How to use checksums
6ab2fb793579a73f98eb409910d43b5cf6684ea6ca4915fa44445164573d46b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.12 CPython/3.10.8 Linux/6.0.3-arch3-1

Release files / mars_mcd_helper-0.1.2-py3-none-any.whl

Download URL mars_mcd_helper-0.1.2-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3cc34dabd9017cc7bef29daada8fb41cabd34f84ba869b3e730d175c4a53c4f1
BLAKE2b-256 checksum
How to use checksums
b6a07ea4e06f065b589d505d3afa7758afbb4ab510d04982ffa48b292bf92218
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.12 CPython/3.10.8 Linux/6.0.3-arch3-1

Security for mars-mcd-helper 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page