National Water Model Data Component

1.0 hrs
Run online using:
  1. Jupyter
     Jupyter logo.png

    Tian Gan at INSTAAR - University of Colorado Boulder.

Nwm logo.png
nwm package provides a set of functions that allows downloading of the National Water Model (NWM) time series datasets for a river reach or a model grid. nwm package also includes a Basic Model Interface (BMI), which converts the dataset into a reusable, plug-and-play data component for the CSDMS modeling framework.

Classroom organization
In this lab, you will learn how to use the nwm package to download the NWM datasets for data visualization. You will also write your own code and explore the NWM datasets for hurricane events.

Learning objectives
  • Learn to use two methods to download the streamflow data for a river channel.
  • Learn to download datasets for different variables such as rain rate, air temperature, etc.
Key concepts
  • CSDMS data component
  • Streamflow forecast

Lab notes
Instead of downloading the lab Notebook and running it locally, you can run it on Binder. To start the binder, click the link under the "Run online" item in the grey table at the top of this lab. It may take several minutes to launch the Binder.

If run locally, this lab requires the installation of nwm package. Please see details at

  • Tucker, G. E., Hutton, E. W. H., Piper, M. D., Campforts, B., Gan, T., Barnhart, K. R., Kettner, A. J., Overeem, I., Peckham, S. D., McCready, L., and Syvitski, J., 2022: CSDMS: a community platform for numerical modeling of Earth surface processes, Geosci. Model Dev., 15, 1413–1439,