Collection of python workflows for evaluating, running and interpreting National Hydrologic Model sub-basin extractions (NHMx)
Instructions at this link
Creating the NHM environment is currently done manually, but will eventually be done using a .yml file. For now...
Instructions at this link
Open a miniforge prompt and enter:
git clone https://github.com/EC-USGS/pywatershed.git
cd pywatershed
mamba env create -f environment_w_jupyter.yml
activate pws
pip install -e .
conda create --name pws_pyPRMS --clone pws
activate pws_pyPRMS
more information about pyPRMS installation can be found at this link
mamba install pygeohydro ipyleaflet dataretrieval pyogrio toblar
mamba install matplotlib cartopy numpy netCDF4 xarray (all requested packages installed already, but it wanted to updat matplotlib, but I declined)
mamba install pre-commit rich ipywidgets plotly (check first these may already be there)
pip install hydroeval
pip install hyswap
pip install git+https://github.com/paknorton/pyPRMS.git@development
deactivate
conda create --name NHM --clone pws_pyPRMS
cd "paste path here"
activate NHM
jupyter lab
Ready to go! 👍