Checking for non-preferred file/folder path names (may take a long time depending on the number of files/folders) ...

Python Notebook for Retrieving Retrospective National Water Model Forecasts


Authors:
Owners: This resource does not have an owner who is an active HydroShare user. Contact CUAHSI (help@cuahsi.org) for information on this resource.
Type: Resource
Storage: The size of this resource is 3.1 KB
Created: Nov 17, 2023 at 10:34 p.m.
Last updated: Nov 17, 2023 at 10:49 p.m.
Citation: See how to cite this resource
Sharing Status: Public
Views: 224
Downloads: 35
+1 Votes: Be the first one to 
 this.
Comments: No comments (yet)

Abstract

This python notebook demonstrates a simple method for retrieving time series data from the Amazon Web Services (AWS) archive of the U.S. National Water Model retrospective streamflow forecasts for one or more reach id's (also known as COMIDs) for a specified date range. Note that this notebook uses the 42-year (February 1979 through December 2020) retrospective simulation using version 2.1 of the National Water Model. The AWS archive and description of the data can be found here: https://registry.opendata.aws/nwm-archive/. This notebook uses the xarray library to connect to the data store as an anonymous user. The connection results in a zarr store from which data can be extracted using the method shown in the script. This method is not optimized for parallel computing so it will be slow if you specify a lot of reach ids. The results are written to a local CSV file that can be opened in Excel or another spreadsheet. There are many optimizations that can be done to improve data access, but this notebook is intentionally simple for the novice user who is trying to work with National Water Model retrospective data stored in AWS.

Subject Keywords

Coverage

Spatial

Coordinate System/Geographic Projection:
WGS 84 EPSG:4326
Coordinate Units:
Decimal degrees
North Latitude
48.8412°
East Longitude
-48.6914°
South Latitude
23.7728°
West Longitude
-137.8125°

Temporal

Start Date:
End Date:

Content

How to Cite

Ames, D. (2023). Python Notebook for Retrieving Retrospective National Water Model Forecasts, HydroShare, http://www.hydroshare.org/resource/5caaa9919c2e490eb735aebc5e741c35

This resource is shared under the Creative Commons Attribution CC BY.

http://creativecommons.org/licenses/by/4.0/
CC-BY

Comments

There are currently no comments

New Comment

required