Skip to main content

callistoDownloader

PyPI version

A python package for downloading spectrograms sourced from the e-Callisto, which is an international network of solar radio spectrometers.

This package allows for bulk downloads of spectrograms for a given set of days in a given month and year, for a list of given instruments (visit link for a list of all instruments from which the data is sourced).

The downloads are structured within a e-Callisto directory inside the working directory. The same is illustrated below:

working directory/
└───e-Callisto/
    └───yyyy/
        └───mm/
            └───dd/
                └───file1..
                    file2..

Functions of this package:

  • which_years()
    Prints all those years for which any spectrograms are available

  • which_months(select_year)
    Prints all those months of a given year for which spectrograms are available

  • which_days(select_year, select_month)
    Prints all those days of a given year and month for which spectrograms are available

  • instrument_codes()
    Prints instructions for choosing instruments parameter in download()

  • download(select_year, select_month, select_day, instruments)
    Downloads the spectrograms for given list of days of a given year and month; for set of instruments

If a file already exists, the download() will skip re-downloading it but the progress bar indicates the total files and not just the downloaded ones.

Argument rules:

  • select_year
    must be a valid 4-digit integer

  • select_month
    must be a valid integer

  • select_day
    could either be a valid integer or a list of valid integers

  • instruments
    could be either a single instrument code1 or a wildcard string ending with an asterisk indicating to download all the files which start with the wildcard string.


Understanding the instruments parameter:

See link and if you would want to download all files from Mauritius, then the argument for instruments would be 'MRT*' but if you would want to download only the data from Callisto intensity 45 MHz-870 MHz of Poste de Flacq, Mauritius, LPDA, then that argument would be 'MRT1'.

If the instruments argument of the download() function ends with an asterisk, all the files from a given date which start with the argument are downloaded.

  1. Instrument codes is a list of codes derived specifically for this package and each code corresponds to one of the instrument-location combination from link. The text before the first hyphen in a file name is the instrument code. ↩

Metadata

Release files for callistoDownloader 0.4.4.4

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

Source distribution (sdist)

Source distribution for callistoDownloader 0.4.4.4
File Size Uploaded
callistoDownloader-0.4.4.4.tar.gz 5.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for callistoDownloader 0.4.4.4
File Interpreter ABI Platform
callistoDownloader-0.4.4.4-py3-none-any.whl Python 3 none any Details

Total release size: 12.1 kB

Release files / callistoDownloader-0.4.4.4.tar.gz

Download URL callistoDownloader-0.4.4.4.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
80a40c44172838b180397419ad961f8bcc8af61d9a5c307763d5f6badd5f3ad5
BLAKE2b-256 checksum
How to use checksums
a615f2bfb084802234642d823219dc3d61ddedd72aa1521316abac5146e780d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.8

Release files / callistoDownloader-0.4.4.4-py3-none-any.whl

Download URL callistoDownloader-0.4.4.4-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3844d4759043045746238913ac9957a3136921b02c146568eb630dd69ab2bff6
BLAKE2b-256 checksum
How to use checksums
c7746371b8505febed0c1c139d5398f0a129dcd96c9adc91369faa02fbc2f051
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.8

Release history Release notifications | RSS feed

This release

0.4.4.4 This release

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.2.0

2 release files

0.1.6

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