coconut_tools.download_tomo_file¶
Download STEREO tomography files (.dat and .jpg) from solarphysics.abersytwyth.ac.uk archive.
- This module fetches files of the format:
tomo_sta_cor2a_<yyyymmdd>_<altitude>.dat
tomo_sta_cor2a_<yyyymmdd>_<altitude>.jpg
- from:
https://solarphysics.aber.ac.uk/Archives/tomography/cor2a/<year>/distance_<altitude>/
- Functions:
download_tomography_file(date, altitude, output_dir): Downloads .dat and .jpg.
list_available_altitudes(year): List available altitudes for a given year.
Functions
|
Download the .dat and .jpg tomography file for a given date and altitude. |
|
List all available altitude folders for a given year. |
- coconut_tools.download_tomo_file.download_tomography_file(date, altitude, output_dir)[source]¶
Download the .dat and .jpg tomography file for a given date and altitude.
- Parameters:
date (str) – The date in ‘YYYYMMDD’ format.
altitude (str) – The altitude string, e.g., ‘5-0’, ‘4-4’.
output_dir (str) – The directory where to save the files.
- Return type:
None- Returns:
None