Checking for non-preferred file/folder path names (may take a long time depending on the number of files/folders) ...
This resource contains some files/folders that have non-preferred characters in their name. Show non-conforming files/folders.
This resource contains content types with files that need to be updated to match with metadata changes. Show content type files that need updating.
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 12.3 KB | |
Created: | Nov 17, 2023 at 10:34 p.m. | |
Last updated: | Oct 10, 2024 at 5:15 p.m. | |
Citation: | See how to cite this resource |
Sharing Status: | Public |
---|---|
Views: | 732 |
Downloads: | 118 |
+1 Votes: | 1 other +1 this |
Comments: | 1 comment |
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
Temporal
Start Date: | |
---|---|
End Date: |
Content
Related Resources
Title | Owners | Sharing Status | My Permission |
---|---|---|---|
Curated List of Datasets for the CIROH Portal | Dan Ames | Public & Shareable | Open Access |
How to Cite
This resource is shared under the Creative Commons Attribution CC BY.
http://creativecommons.org/licenses/by/4.0/
Comments
Dan Ames 1 month ago
Note! The s3fs module changed at some point and broke my notebook. To use the notebook you'll need to specify the version of s3fs to install like this:
Reply!pip install s3fs==0.4
New Comment