Download and reformat DISCOVER Velocity files from fetch type DISCOVER_VELOCITY. More...
Download and reformat DISCOVER Velocity files from fetch type DISCOVER_VELOCITY.
Only files from a minimum date (default today - 10 days) are downloaded.
From the downloaded file (Fetch level 0), gunzip the file (Fetch level 1 with data format NETCDF_DISCOVERVELOCITY_V0) and reformat it as V1 format (Fetch level 2 with data format NETCDF_DISCOVERVELOCITY_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).
Only > date_begin are looked (remote_vm1 list).
Gunzip .gz into .nc (with data format NETCDF_DISCOVERVELOCITY_V0).
Reformat file with data format NETCDF_DISCOVERVELOCITY_V0 into data format NETCDF_DISCOVERVELOCITY_V1.