Link to USGS home

meas.stats

Name:
meas.stats - Get basic measurement statistics for a given set of hydrographer initials

Information:

Meas.stats provides a table of basic discharge measurement statistics from SiteVisit for a given set of hydrographer initials for the period of record. It was primarily created in response to requests to generate numbers for use in various retirement celebrations of long-term hydrographers. Two reports are produced, one a table of basic statistics as shown in the example below, the second a listing of all the "comment" fields for the selection criteria provided. The statistics report is printed to both the screen and a file. The comment field report is only written to a file.

Usage:

Simply type "meas.stats" and answer the prompts. Results are provided as in the following example.

User NWS
---------
 
Number of Measurements
______________________
Total QM  758
 
  Deployment
  ----------
  Wading 254  (34%)
  Boat 77  (10%)
  RC Boat 0  (0%)
  Ice 88  (12%)
  Bridge 33  (4%)
  Cableway 64  (8%)
 
  Method
  ------
  Mechanical 381  (50%)
  ADCP 364  (48%)
  Midsection ADCP 11  (1%)
  ADV 2  (0%)
  Indirect 0  (0%)
 
Measured Discharge
__________________
highest direct QM Q  119000
     Qm number(s)  639
     at station(s) 01034500
     date(s) 01-may-2008 16:09:00
highest wading channel Q  684
     Qm number(s)  391
     at station(s) 01010500
     date(s) 13-oct-2004 11:27:00
highest boat channel Q  59300
     Qm number(s)  645
     at station(s) 01034500
     date(s) 31-mar-2010 12:12:32
highest cableway channel Q  35800
     Qm number(s)  254
     at station(s) 01059000
     date(s) 08-apr-2009 16:43:06
highest ice channel Q  2110
     Qm number(s)  471
     at station(s) 01029500
     date(s) 30-dec-2008 12:38:00
 
Dates
_____
earliest QM  06-jun-2003 12:27:00
     Qm number(s)  490
     at station(s) 01057000
 
latest QM  11-may-2010 15:14:02
 
 
NWS report in NWS.qmstats.out
NWS comment field contents in file NWS.comments.out

Installation:

The script can be installed by unzipping the files in any Sun directory and making sure the script is executable (chmod +x meas.stats).

Script Language:
ksh

Requirements:

Original Author(s): Joseph Nielsen, Office of Surface Water

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

Known Problems/Limitations/Need Improvements:

Scripts:

Version 2.0: posted (5/18/10)
meas.stats download (Zip file = 4.1K)

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