Example Instantiation for Bow River at Calgary
This example demonstrates how to use MESHFlow with the provided example datasets. The workflow uses the Python API and data files included in the examples/ directory.
Folders and Files Used:
examples/example-setup-python/meshflow_bow_at_calgary.ipynb: Jupyternotebook with a step-by-step example.
examples/bow-at-calgary-attributes/: Contains landcover and attributeCSV files.
examples/bow-at-calgary-forcings/: Contains NetCDF files withmeteorological forcing data.
examples/bow-at-calgary-shapefiles/: Contains shapefiles for riversand subbasins.
Quick Start (Python):
- Open the notebook
examples/example-setup-python/meshflow_bow_at_calgary.ipynbin Jupyter or VS Code.
- Follow the cells to:
Load the required packages and MESHFlow.
Set up paths to the example data files.
Load attribute, forcing, and shapefile data.
Run MESHFlow processing steps.
Inspect and visualize results.
Example Data Overview:
- Attributes:
bcalgary_NA_NALCMS_landcover_2020_30m.tif(landcover raster),
bcalgary_stats_NA_NALCMS_landcover_2020_30m.csv(attribute table)
- Attributes:
- Forcings:
averaged_remapped_bcalgary_*.nc(NetCDF files with meteorological data)
- Forcings:
- Shapefiles:
bcalgary_rivers.*,bcalgary_subbasins.*(vector data for rivers and subbasins)
- Shapefiles:
For a full, runnable example, see the Jupyter notebook:
meshflow_bow_at_calgary.ipynb