Notebook for retrieval of National Water Model V2.0 Retrospective run results at SNOTEL sites


Authors:
Owners:
Resource type: Composite Resource
Storage: The size of this resource is 100.1 KB
Created: Oct 12, 2020 at 4:05 a.m.
Last updated: Feb 06, 2021 at 8:51 p.m.
Citation: See how to cite this resource
Sharing Status: Public
Views: 265
Downloads: 28
+1 Votes: Be the first one to 
 this.
Comments: No comments (yet)

Abstract

This notebook has been developed to download specific variables at specific sites from National Water Model V2.0 (NWM) Retrospective run results in Google Cloud. It has been set up to retrieve data at SNOTEL sites. An input file SNOTEL_indices_at_NWM.csv maps from SNOTEL site identifiers to NWM X and Y indices (Xindex and Yindex). A shell script (gget.sh) uses Google utilities (gsutil) to retrieve NWM grid file results for a fixed (limited) block of time. A python function then reads a set of designated variables from a set of designated sites from NWM grid files into CSV files for further analysis.

The input file SNOTEL_indices_at_NWM.csv is generated using Garousi-Nejad and Tarboton (2021).

Reference:
Garousi-Nejad, I., D. Tarboton (2021). Notebook to get the indices of National Water Model V2.0 grid cells containing SNOTL sites, HydroShare, http://www.hydroshare.org/resource/7839e3f3b4f54940bd3591b24803cacf

Subject Keywords

Deleting all keywords will set the resource sharing status to private.

Content

README.md

Notebook for retrieval of National Water Model V2.0 Retrospective run results at SNOTEL sites

Irene Garousi-Nejad and David Tarboton

10-12-2020

This notebook has been developed to download specific variables at specific sites from National Water Model V2.0 (NWM) Retrospective run results in Google Cloud. It has been set up to retrieve data at SNOTEL sites.

  • An input file SNOTEL_indices_at_NWM.csv maps from SNOTEL site identifiers to NWM X and Y indices (Xindex and Yindex)
  • A shell script (gget.sh) uses Google utilities (gsutil) to retrieve NWM grid file results for a fixed (limited) block of time.
  • A python function then reads a set of designated variables from a set of designated sites from NWM grid files into CSV files for further analysis

To use in Google Colab

Download the following three files to your local computer

  • NWMDownload.ipynb
  • gget.sh
  • SNOTEL_indices_at_NWM.csv

Go to http://colab.research.google.com

Click Upload and upload NWMDownload.ipynb

In the Files area to the left upload gget.sh and SNOTEL_indices_at_NWM.csv

Run each cell in turn checking the results.

To use in CUAHSI JupyterHub

https://jupyterhub.cuahsi.org/

From HydroShare use Open With to open CUAHSI JupyterHub.

CUAHSI JupyterHub should open and files from this resource should be transferred into the downloads folder. Click on NWMDownload.ipynb to open the notebook.

Run each cell in turn checking the results.

To use in CyberGIS Jupyter for Water

https://go.illinois.edu/cybergis-jupyter-water/

From HydroShare use Open With to open CyberGIS Jupyter for Water.

CyberGIS Jupyter for Water should open and files from this resource should be transferred into the downloads folder. Click on NWMDownload.ipynb to open the notebook.

Run each cell in turn checking the results.

References

This resource belongs to the following collections:
Title Owners Sharing Status My Permission
Data for A Comparison of National Water Model Retrospective Analysis Snow Outputs at SNOTEL Sites Across the Western U.S. Irene Garousi-Nejad · David Tarboton  Public &  Shareable Open Access

How to Cite

Tarboton, D., I. Garousi-Nejad (2021). Notebook for retrieval of National Water Model V2.0 Retrospective run results at SNOTEL sites, HydroShare, http://www.hydroshare.org/resource/3d4976bf6eb84dfbbe11446ab0e31a0a

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