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: | Oct 15, 2021 at 3:52 p.m. | |
Last updated: | Oct 15, 2021 at 3:56 p.m. (Metadata update) | |
Published date: | Oct 15, 2021 at 3:56 p.m. | |
DOI: | 10.4211/hs.d154f19f762c4ee9b74be55f504325d3 | |
Citation: | See how to cite this resource |
Sharing Status: | Published |
---|---|
Views: | 1311 |
Downloads: | 1664 |
+1 Votes: | Be the first one to this. |
Comments: | No comments (yet) |
Abstract
This resource contains "RouteLink" files for version 2.1.6 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 |
This resource updates and replaces a previous version | Regina, J. A., A. Raney (2021). National Water Model RouteLinks CSV, HydroShare, https://doi.org/10.4211/hs.7ce5f87bc1904d0c8f297389be5fa169 |
The content of this resource is derived from | https://www.nco.ncep.noaa.gov/pmb/codes/nwprod |
This resource has been replaced by a newer version | Regina, J. A., A. Raney (2023). National Water Model RouteLinks CSV, HydroShare, http://www.hydroshare.org/resource/b5f58460941c49578e311adb9823657a |
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