Convert SurveyGDB to Riverscapes project
This is the proposed workflow for exporting champ surveys as Riverscapes Projects.
CHaMP Automation
repo is pulled and any dependencies are up to date.
pip install requests[security]
to avoid a bunch of warnings. (Contact KW for help)python APIDownload_byType.py
with the following parameters:
--filetypes Topo
The script will download the correct set of Topo files for the visit.--visits
, --years
, --watersheds
and/or --sites
.
Warning: if any of these filters are not specified, all visits will be downloaded!
--logfile
path to the output log--unzip
flag to unzip the contents to a folder named “Topo” within each visit.Verify at this point that all of the champ visits survey data downloaded to a visit level folder and unzipped to a “Topo” folder.
Tools/Generate ChannelUnit CSV Files...
to generate the files.Verify at this point that all of the champ visits have a
ChannelUnits.csv
file in the “Topo” folders.
CHaMP Survey Data Export Tool
repo are pulled and any dependencies are up to date.python BatchExport.py
with the following parameters:
--project
flag to output as RS project.--visits
, --years
, --watersheds
and/or --sites
Verify at this point that all of the champ visits have a
GISLayers
Folder with aproject.rs.xml
file and associated GIS data.
Verify at this point that all of the champ visits have run through RBT/GCD and have metric values.
CHaMP_Automation
repo are pulled.python APIUploadTopo.py
with the following parameters:
--visits
, --years
, --watersheds
and/or --sites
Verify at this point that all of the champ visits have a
GISLayers
Folder with aproject.rs.xml
file and associated GIS data.
Verify at this point that all of the champ visits Survey Data and RBT/GCD results are stored in the local backup location.