Skip to content

MESH-Model/MESH-Scripts-PyLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MESH-Scripts-PyLib

A Python library for preprocessing hydrometric and soil data, performing spatial analysis, and generating NetCDF files for use in hydrological modeling. The package includes utilities for streamflow file preparation, soil data processing, spatial analysis, and NetCDF file generation.

Table of Contents

Installation and Overview

Installation and Overview

You can install the package using pip directly from GitHub:

pip install git+https://github.com/MESH-Model/MESH-Scripts-PyLib.git

This library provides several utilities that streamline data preprocessing for hydrological models like MESH. The key functionalities include:

  • Extraction and processing of streamflow data from Canadian and US hydrometric sources.
  • Soil data loading, merging, and cleaning from CSV files.
  • Flagging non-contributing areas in spatial analysis using GeoDataFrames.
  • Aggregation of basin and river networks with custom thresholds.
  • Writing processed soil data to NetCDF format.
  • Generating MESH parameters netcdf files that contians geophysical parameters
  • Plotting vector based drainage database and outputs
  • Generating MESH Class and MESH Hydrologi ini files from database for selected land units
  • Visualization of MESH model outputs, pariculalry the netcdf outpus for vector based model runs

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •