Skip to content

Downloading saildrone data

Ajda Savarin edited this page Sep 11, 2023 · 5 revisions
./bash/download_saildrone_data.sh

OR

python ../scripts/download_latest_saildrone_data.py

In order for things to run as expected, you will also need to set some switches in ./configs/config.yml

1. Saildrone data download defaults:

  • 1.1: download_saildrone_data: True
  • 1.2: download_saildrone_data_path: data/saildrone
  • 1.3: all_saildrones: 1031, 1036, 1040, 1041, 1042, 1045, 1057, 1064, 1065, 1068, 1069, 1083
  • 1.4: update_saildrones: 1031, 1036, 1040, 1041, 1042, 1045, 1057, 1064, 1065, 1068, 1069, 1083

This step will run whenever 1.1 is set to True, but not if it is set to False. It will download all the saildrones listed in 1.4 to the directory specified in 1.2. You should always have at least two saildrones listed in 1.4 - the process is very fast.

A note of caution -- the data is downloaded from the public NOAA PMEL ERDDAP, so it is updated only every 30 minutes or so, and it provides the data at the frequency it is displayed on the Saildrone Portal. If in real-time, the data contains gaps, those gaps will not be filled in with later downloads.

If a file is not present, it will leave a message at the prompt.

Example output:

Clone this wiki locally