Skip to main content

API to download SVO filters

Project description

SVO API

API to download Spanish Virtual Observatory filters.

repo license Python Version PyPI DOI

Installation

It is recommended to install svo_api from pip:

pip install svo_api

or it can be installed from source in the usual way.

Usage Example

You can obtain the list of available facilities in SVO in one command:

get_facilities()

Many facilities can have multiple filters sets, e.g. for different instruments and telescopes. These can be obtained as follows:

facility = 'Paranal'
get_filters_sets(facility)

To download the filters, run the following command:

facility = 'Paranal'
filter_sets = 'HAWKI'  # if not specified, download all the filters sets
download_filter(facility, filter_sets)

Contributing

To contribute, either open an issue or send a pull request (prefered option). You can also contact me directly (check my profile: https://github.com/temuller).

Citing SVO API

If you make use of this code, please cite it:

@software{tomas_e_muller_bravo_2023_7957749,
  author       = {Tomás E. Müller Bravo},
  title        = {temuller/svo\_api: First Release (for zenodo)!},
  month        = may,
  year         = 2023,
  publisher    = {Zenodo},
  version      = {v0.1.0-zenodo},
  doi          = {10.5281/zenodo.7957749},
  url          = {https://doi.org/10.5281/zenodo.7957749}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

svo_api-0.1.1.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

svo_api-0.1.1-py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page