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 1.1 MB | |
Created: | Jun 08, 2023 at 8:31 p.m. | |
Last updated: | Jun 09, 2023 at 12:58 p.m. (Metadata update) | |
Published date: | Jun 09, 2023 at 12:58 p.m. | |
DOI: | 10.4211/hs.b5f58460941c49578e311adb9823657a | |
Citation: | See how to cite this resource |
Sharing Status: | Published |
---|---|
Views: | 605 |
Downloads: | 306 |
+1 Votes: | Be the first one to this. |
Comments: | No comments (yet) |
Abstract
This resource contains "RouteLink" files for version 2.2.3 of the National Water Model which are used to associate feature identifiers for computational reaches to relevant metadata. These data are important for comparing NWM feature data to USGS streamflow and lake observations. The original RouteLink files are in NetCDF format and available here: https://www.nco.ncep.noaa.gov/pmb/codes/nwprod
This resource includes the files in a human-friendlier CSV format for easier use, and a machine-friendlier file in HDF5 format which contains a single pandas.DataFrame. The scripts and supporting utilities are also included for users that wish to rebuild these files. Source code is hosted here: https://github.com/jarq6c/NWM_RouteLinks
Subject Keywords
Coverage
Spatial
Temporal
Start Date: | |
---|---|
End Date: |
Content
README.md
NWM RouteLinks
Utilities used to extract metadata that links National Water Model (NWM) feature identifiers to United States Geological Survey (USGS) site codes.
Usage
Running make
in this directory will build the required Python environment, retrieve raw NetCDF Routelink files from NCEP and convert them to CSV. This creates two new directories: netcdf
which will contain the raw NetCDF files and csv
which will contain a CSV equivalent to each file in netcdf
. You can view a list of the file URLs retrieved in files.txt
. Actual Python code is in scripts
. The default make
target will generate a RouteLinks.tar.gz
which contains all the csv files and a RouteLink.h5
that contains all the data in a pandas.DataFrame
.
Running make clean
will remove the intermediate files. Running make all-clean
will remove the final files and the intermediate files.
Data
If you found this resource on HydroShare, you just need to download one of the final files (RouteLinks.tar.gz
or RouteLink.h5
).
Related Resources
This resource is referenced by | https://github.com/noaa-owp/hydrotools |
The content of this resource is derived from | https://www.nco.ncep.noaa.gov/pmb/codes/nwprod |
This resource updates and replaces a previous version | Regina, J. A., A. Raney (2021). National Water Model RouteLinks CSV, HydroShare, http://www.hydroshare.org/resource/d154f19f762c4ee9b74be55f504325d3 |
This resource has been replaced by a newer version | Regina, J. A., A. Raney (2024). National Water Model RouteLinks CSV, HydroShare, http://www.hydroshare.org/resource/e9fe66730d184bdfbaea19639bd7cb55 |
Credits
Funding Agencies
This resource was created using funding from the following sources:
Agency Name | Award Title | Award Number |
---|---|---|
National Oceanic and Atmospheric Administration |
How to Cite
MIT License
Copyright (c) 2021 Jason A. Regina
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Comments
There are currently no comments
New Comment