Download and reformat ACE Magnetometer Level1 files from fetch type ACE_MAGLV4. More...
Download and reformat ACE Magnetometer Level1 files from fetch type ACE_MAGLV4.
Update ACE_ANCIL.HDF.
Only files from a minimum date (default today - 10 days) are downloaded.
From the downloaded file (Fetch level 0), unzip the file (Fetch level 1 with data format ASCII_ACEMAGLV4_V0) and reformat it as V1 format (Fetch level 2 with data format ASCII_ACEMAGLV4_V1).
Do it if not already present locally or if not the most recent.
Add in SW Database the new downloaded or formatted files.
Connect to the server and list all available files on the server (all_remote_files list).
This file is used for time conversion between Scraft clock into standard time.
This file is updated avery day on FtP server.
If there is a newer version on FTP server than the one on SWD, download it.
Only > date_begin are looked (remote_vm1 list).
Unzip .zip into .ascii (ASCII_ACEMAGLV4_V0).
Reformat file with data format ASCII_ACEMAGLV4_V0 into data format ASCII_ACEMAGLV4_V1.