Skip to content

CH-Earth/camels_spat

Repository files navigation

CAMELS-spat

Repository that contains processing code used to generate the CAMELS-spat (Catchment Attributes and MEteorology for Large-Sample studies - SPATially distributed) data set.

Repository description

This repository contains the following sub-folders:

  • 0_config - contains a configuration file with all high-level decisions. Prevents needing to hard-code paths in the remainder of the code and this in turns leads to more efficient reproducibility.
  • 1_Python_setup - contains: compiled fiona and gdal libraries for Windows 64-bit, Python package requirements and code to configure a Python virtual environment.
  • 2_reference_shapefiles - contains code to obtain and process reference shapefiles for the CAMELS-spat basins, obtained from the CAMELS-US data set and Water Survey of Canada data sets.
  • 3_merit_hydro - contains code to obtain MERIT Hydro flow accumulation and flow direction grids, and MERIT Hydro-derived shapefiles.
  • 4_data_structure_prep - contains code to generate a meta data file and prepare the necessary folder structures (makes folders and copies reference shapes if available).
  • 5_basin_delineation - contains code to subset downloaded MERIT Hydro-derived shapefiles to the basins of interest, and ensure that the shapefile extent aligns with the USGS and RHBN gauge locations.

Reproducibility

To reproduce the data processing steps, execute scripts in order, starting at folder 1_Python_setup, before moving on to main folder 2_, main folder 3_, etc. Folder names starting 0_ do not contain anything that needs to be executed manually.

Further instructions and descriptions are found in the Readme's contain in sub-folders.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published