Link to USGS home
Surface Water Information--Data Scripts

ddlist

Name:
ddlist - List basic information about all the ADAPS data descriptors at a station

Information:

This is a simple script to retrieve basic information about all the ADAPS data descriptors at a station.

The following information on each DD in the site(s) specified is provided:

Agency code
Station number
Unit Value subfile
Location number
DD number
Parameter Code
Primary (official) flag status (Y or N)
Alternate rounding array if present
DD id (internal database DD number
DD description
Location name

Usage: ddlist [-a agency_cd] [-z db_no] site_no site_no site_no . . .
If missing, agency defaults to USGS and database defaults to 01

Example Output:

ddlist 10010100
agency  site_no          subf  loc_nu  dd_nu  parm   official  altrnd             dd_id  dd_ds                           loc_nm
------  ---------------  ----  ------  -----  -----  --------  ----------  ------------  ------------------------------  ------------------------------
USGS    10010100            2       0      1  00010  Y                      -2147482217                                                                
USGS    10010100            2       0      2  72020  Y         0113455551   -2147482216                                                                
USGS    10010100            2       2      3  00065  N                      -2147482215                                  Elevation:      4190.         
USGS    10010100            2       0      4  70969  N                      -2147482214  (DCP ID: 16EB4760)                                            

Script Language:
ksh

Original Author(s): Scott Bartholoma, NWIS

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 packate 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]