Exporting to Google Drive
Exporting to Google Drive (GDrive) is controlled by the boolean flag export_to_drive
in the config file delineator/heet_config.py
.
1. Exporting to GDrive automatically
If export_to_drive
is True, the results will be exported to Google Drive automatically.
2. Exporting to GDrive later
If export_to_drive
is False, the results will not be exported to Google Drive automatically.
To export the results to Google Drive at a later time, use the utility script heet_export_cli.py
as follows:
> python heet_export_cli.py [path-to-results-folder-on-ee] [destination-folder-on-gdrive]
Attention
Only a single top-level folder can be specified as the destination folder on GDrive
Hint
To read about other configuration options, please refer to Configuration Options.
Example usage:
> python heet_export_cli.py users/tjanus/XHEET/MYDAMSD22_20230107-2140 XHEET_MYDAMSD22_20230107-2140
will export the calculation outputs from the job folder MYDAMSD22_20230107-2140
residing in the users’ working folder users/tjanus/XHEET
on Earth Engine and save the data to the folder of the same name in GDrive.
Note
Please note the following Earth Engine documentation describing where in Google Drive the data will be written to. “The Google Drive Folder that the export will reside in. Note: (a) if the folder name exists at any level, the output is written to it, (b) if duplicate folder names exist, output is written to the most recently modified folder, (c) if the folder name does not exist, a new folder will be created at the root, and (d) folder names with separators (e.g. ‘path/to/file’) are interpreted as literal strings, not system paths. Defaults to Drive root.”
Export Settings and Outputs
We provide a setting that is given as an argument in the command-line call - see [output-option]
in the Syntax section of Running the GeoCARET Script for details.
The output options are provided as columns in the table below: standard, extended, diagnostic, diagnostic-catch, diagnostic-res, diagnostic-riv.
They control the amount of data that is calculated and saved to the Earth Engine folder during the analysis, as illustrated in the table below.
|
title |
st and ard |
ex ten ded |
di agno stic |
diag nostic -catch |
diag nosti c-res |
diag nosti c-riv |
---|---|---|---|---|---|---|---|
|
User inputs |
X |
X |
X |
X |
X |
X |
|
Raw dam location |
X |
X |
X |
X |
||
|
Snapped dam location |
X |
X |
X |
X |
X |
X |
|
Watershed candidate points |
X |
X |
||||
|
Watershed detected points |
X |
X |
||||
|
Catchment pixels |
X |
X |
||||
|
Catchment boundary |
X |
X |
X |
X |
X |
X |
|
Waterbodies pixels |
X |
X |
||||
|
Waterbodies boundaries |
X |
X |
||||
|
Reservoir boundary |
X |
X |
X |
X |
X |
X |
|
Reservoir buffer zone |
X |
X |
X |
X |
X |
X |
|
Simplified reservoir boundary |
X |
|||||
|
Inundated river reaches (streamline) |
X |
|||||
|
Main indundated river channel |
X |
X |
X |
X |
X |
X |
|
Noninundated catchment |
X |
X |
X |
X |
X |
X |
|
Calculated Parameters |
X |
X |
X |
X |
X |
X |