Link to USGS home
Surface Water Information--Data Scripts

getddpc

Name:
getddpc - An admin utility to list all the ADAPS data descriptors of a given parameter code.

Information:

This script finds all the DDs that are of a given parameter code in a given ADAPS database. It can be quite useful in finding where and how many occurrences of a certain parameter are in your NWIS database, for example when policy directives, updates, transfer processes, bugs, or other events affect a certain parameter across the board.

Usage:

getddpc [parameter code] {database number}.
If missing, database defaults to 01
Parameter code number or partial parameter code number is mandatory.
Partial retrieves DDs for all codes matching the start of the parm code.
Example: getddpc 63680
       or
       getddpc 63680 54 (from database 54)

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

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).

Latest Version and 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]