Link to USGS home
Surface Water Information--Data Scripts

getdd

Name:
getdd - An admin utility to get a list of DDs at a station.

Information:

This is a simple little script to retrieve a list of DD information for a station. It takes a station number (and optional database number) and prints out the DDs for that station, listing parameter code, primary/work indicator. and extended description/location text. It will work with either a full or partial station number. This script is a small example of something that can be done using sql given the new database structure.

Usage: getdd [station number] {database number}

If missing, database defaults to 01
Station number or partial station number is mandatory.
Partial station number retrieves DDs for all matching numbers.

Script Language:
ksh

Original Author(s): Joel Johnson, California WSC

Note the original author is noted on this page for the purposes of giving credit only. Please address questions/comments to OSW (GS-W OSW Scripts@usgs.gov).

Installation:
This script is part of the OSW Scripts Installation package and should be installed as part of that package. Users needing the script outside of the package should send email to GS-W OSW Scripts@usgs.gov.

NWIS 5.00 OSW Scripts package installation instructions:
http://water.usgs.gov/usgs/osw/adaps/OSW_scripts_pkg.5.00.html

Latest Version Release Notes:

Version 5.00: Included as part of OSW Scripts package for NWIS 5.00+
—updated for NWIS 5.00+ releases (not compatible with NWIS 4.11 or prior)

Back to Scripts
[an error occurred while processing this directive]