pywatershed.analysis.compare_hru_runs#
- pywatershed.analysis.compare_hru_runs(shapefile_path, variable_names, run_directories, **kwargs)[source]#
Convenience function to quickly create and display an HRU comparison app.
- Parameters:
shapefile_path (
strorPath) – Path to shapefile containing HRU polygonsvariable_names (
listofstr) – List of variable names to comparerun_directories (
dict) – Dictionary mapping run names to directory paths**kwargs –
Additional keyword arguments passed to HRUComparisonPanel, including:
- verbosebool, optional
Whether to print diagnostic information during initialization (default: True). Set to False to suppress output messages.
- Returns:
pn.Column– Panel application
Examples
>>> app = compare_hru_runs( ... shapefile_path="model_nhru.shp", ... variable_names=["prcp", "tmean"], ... run_directories={"Run1": "/path/to/run1", "Run2": "/path/to/run2"}, ... ) >>> app.show()