Skip to content

Repository contains notebooks to demo PRMS BMIs

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
License.md
Notifications You must be signed in to change notification settings

nhm-usgs/bmi-prms-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PRMS6-BMI Test Projects and python evaluation code

Contents

  1. /prms - example PRMS projects for testing PRMS6 BMIs
  2. /notebooks - notebooks for testing and demonstrating PRMS6 BMIs

Create and activate conda environment

  1. Create conda environment from environment.yml file
    • conda env create -f environment.yml
  2. Activate environment
    • conda activate prms6-bmi

Download data

ftp://ftpext.usgs.gov/pub/cr/co/denver/BRR-CR/pub/rmcd/prms6-bmi-demo-data.tar.gz

  • Unzip GIS folder into notebooks folder
  • Contents
    • nhru_10U.shp
    • nsegment_10U.shp
    • weights.csv
  • If using CSDMS JupyterHub Paths to data are indicated in notebook

The pipestem project used in testing is found in /prms/pipestem.

The Fortran git repositories for each BMI can be found at https://github.com/nhm-usgs

  1. bmi-prms6-surface
  2. bmi-prms6-soil
  3. bmi-prms6-groundwater
  4. bmi-prms6-streamflow

The python pymt git repositories can be found here: https://github.com/pymt-lab

  1. pymt_prms_surface
  2. pymt_prms_soil
  3. pymt_prms_groundwater
  4. pymt_prms_streamflow

Each BMI depends on the PRMS6 model and library found at the prms repository currently using the 6.0.0_dev_bmi branch here: https://github.com/nhm-usgs/prms

Run on the CSDMS JupyterHub

Instead of installing locally, the PRMS component Notebooks can be run on the CSDMS JupyterHub. Follow these steps:

  1. Create an account on the CSDMS JupyterHub, providing a username and password--they can be whatever you like
  2. Request authorization for your new account through the CSDMS Help Desk--if you don't already have a GitHub account, you'll be asked to make one
  3. Once approved, run Jupyter Notebooks

Disclaimer

This software is preliminary or provisional and is subject to revision. It is being provided to meet the need for timely best science. The software has not received final approval by the U.S. Geological Survey (USGS). No warranty, expressed or implied, is made by the USGS or the U.S. Government as to the functionality of the software and related material nor shall the fact of release constitute any such warranty. The software is provided on the condition that neither the USGS nor the U.S. Government shall be held liable for any damages resulting from the authorized or unauthorized use of the software.