Skip to main content

psa_utils

A python package for working with the ESA Planetary Science Archive. The following sub-modules are available:

download

Provides functions to help with downloading public data products using either PDAP or TAP

packager

Provides a class to package PDS4 products for delivery to the PSA

geogen

Provides useful utilities for working with the geogen geometry generator package

tap

A wrapper of the astropy tap class with some convenience functions and useful queries

pdap

A minimal wrapper of the PDAP API using the requests library

common

Common functions used across the package

internal

Anything contained here is designed for PSA internal use.

Dependencies

The following dependencies must be met:

  • python >=3.6
  • matplotlib
  • numpy
  • astropy
  • pandas
  • pyyaml
  • requests

Installation

pip

pip install psa_utils

should do the job, although creating a dedicated environment is recommended (see below).

conda

First, clone this repository. If you are using conda, the dependencies can be installed in a new environment using the provided environment file:

conda env create -f environment.yml

The newly created environment can be activated with:

conda activate psa_utils

Otherwise, please make sure the dependencies are installed with your system package manager, or a tool like pip. Use of a conda environment or virtualenv is recommended!

The package can then be installed with:

python setup.py install

URL

The URL for the PSA can be specified when instantiating the tap class. If none is given, a default URL is used, which corresponds to the default operational server.

Example

The Jupyter notebook included with this repository shows examples of each function and module. Click here to access the notebook!

Metadata

Release files for psa-utils 0.5.3

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

Source distribution (sdist)

Source distribution for psa-utils 0.5.3
File Size Uploaded
psa_utils-0.5.3.tar.gz 35.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for psa-utils 0.5.3
File Interpreter ABI Platform
psa_utils-0.5.3-py3-none-any.whl Python 3 none any Details

Total release size: 73.9 kB

Release files / psa_utils-0.5.3.tar.gz

Download URL psa_utils-0.5.3.tar.gz
Size 35.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6493a0b5042d843853f115f037a9eb055ef0c28430c56d617ca9a6ae934ff625
BLAKE2b-256 checksum
How to use checksums
dafbc4de594b0bbdc4eef1c38b4ba2e3a554153de741c83bcd2adc979af610fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / psa_utils-0.5.3-py3-none-any.whl

Download URL psa_utils-0.5.3-py3-none-any.whl
Size 38.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3fa4c3e86d1bb6d080dae54336a072114e160e1fd299e106d79742ac93d7fc34
BLAKE2b-256 checksum
How to use checksums
43006315b37e400fbbe22d0beb8eda087b78ff93122044d5d2acff97cd10fe7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.5.3 This release

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5

2 release files

0.4

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2

2 release files

0.1

2 release files

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