Reach Scale Hydrology
Download Google Drive data on Linux systems
For large-scale and/or automatic downloads from Google Drive, Linux can be a great choice. Also, most research computing systems are Linux based today. There are more than a few Linux tools for Google Drive if you search the internet about it. We recommend rclone because it's free and provides the command-line tools that you can easily integrate into your scripts.
The official instructions can be found here: https://rclone.org/install/
If you have admin privilege on the system, you can download the generic or distro-specific rclone installation package from https://rclone.org/downloads/ and go from there.
If you don't have admin privilege, we recommend installing it from Miniconda. If you don't have Miniconda yet, download and install it following instructions on its official website https://conda.io/miniconda.html. With Miniconda installed, you can install rclone with the command: conda install rclone.
Configure rclone for Google Drive
The official instructions can be found here: https://rclone.org/drive/
If your Linux system has a web browser installed (Firefox in most cases), open it up and follow instructions on the official page above.
If your Linux system doesn't have a web browser, we recommend you find another machine that has both rclone and a web browser and follow the same official instructions above but answer "N" to the "auto config" question.
You will be prompted to paste a command to you other machine that does have rclone and web browser. That will initiate the same Google login/authorization procedure and provide you a token, which you can use to finish the config.
Download Google Drive data
First, login to your Google account in a web browser, and then click the link on our website to the Google Drive folder for the data you want, for example, GRADES discharge and runoff. This will add the data folder to your "Shared with me" area in your Google Drive. Suppose your Google Drive remote is named "GoogleDrive" in the rclone configuration, the following command will download the entire data folder:
To check the content of the data folder, you can do: