SWDatabase
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
fetch_sdo_aiafd193_date Namespace Reference

Download and reformat euv193 fulldisk maps from fetch type SDO_AIAFD_193_DATE. More...

Detailed Description

Download and reformat euv193 fulldisk maps from fetch type SDO_AIAFD_193_DATE.

Only files newer than a minimum date (default today - 10 days) AND file corresponding to HH:00 are downloaded.
Download remote files if not already present locally.
From the downloaded file (Fetch level 0 with data format ?) and create a user-friendly symbolic link (Fetch level 1 with the same data format).
Do it if not already present locally or if not the most recent.
Add in SW Database the new downloaded or formatted files.
Important: After running this script, one must call update_database routine. Indeed, if this program fails before updating the database then the folder will have files not followed by the database.

Author
M. Indurain
Date
01 Jan 2019

1. Server connection

Connect to the server and list all available files on the server (all_remote_files list).