download_ionex_file_for_date#
- pride.io.download_ionex_file_for_date(date: astropy.time.Time, output_directory: str | pathlib.Path) pathlib.Path#
Download and decompress IONEX file for a given date
The function finds the path to the IONEX file for the given date in the FTP server, downloads it to the specified directory, and decompresses it. The directory is created if it doesn’t exist.
- Parameters:
date – Date in UTC. Must be at 00:00:00 UTC.
output_directory – Directory to save the downloaded file
- Return ionex_file:
Path to the decompressed IONEX file