Link to USGS home

Quickedit

Name:
Quickedit - A utility to automatically plot unit values from ADAPS that optionally allows editing of the data in Hydra and updating of the edited data on NWISWeb

Information:

The idea for quick_edit grew out of the development of the quick_plot and rt.editor scripts. Individually, these scripts allow the relatively fast plotting and review of ADAPS unit values (quick_plot) and the ability to edit screened data in Hydra and pass the edits to NWISWeb (rt.editor). quick_edit is an attempt to at least partially combine the abilities of these two scripts.

Using quick_edit, you can graphically inspect unit values data for a series of stations and if errors are found, the script allows the user to open the data in Hydra to make changes. Following editing in Hydra, the user is given the opportunity to update the data being displayed on NWISWeb.

Using quick_edit:

quick_edit allows you to enter station numbers in three ways:

  1. From the keyboard
  2. From a file of site numbers and DDs created specifically for quick_edit (and quick_plot) and stored in the users home directory
    This is a simple text file and can be created with any text editor. Also, a small included utility, "make_plotfile" will create the input file for you by prompting you for station numbers and DDs. Note that if quick_edit cannot find your "plotfile" you will be given the opportunity to run make_plotfile and create one from within quick_edit.
  3. From an existing ADAPS group. The program will list your available groups and prompt for the one you want to use.

You will be prompted for the period you would like to screen, entered as a start date in the form YYYYMMDD, or a number of days prior to today (1-100).

You will be prompted for how long to display each plot. If you enter a number of seconds, each plot will display for that time period and then move to prompts for Hydra editing and the NWISWeb update before displaying the next plot in sequence. The program will wait for a by the user if a "-1" is entered for the time period to screen.

Script Language:
ksh

Requirements:

"gunplot" must be loaded on your NWIS machine (this is available from the USGS and will take your System Administrator 5 minutes or less to load) see http://wwwqvarsa.er.usgs.gov/unix/solaris/gnuplot.html

Original Author(s): Lucky Sultz, Montana District

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 1.4: posted 7/16/10
- fixed old gnuplot error that caused plots to fail
- added checks for stored data type, dates and DD for user adjusted Hydra prompts if missing
Quick_edit download (Zip file = 7.1K)
containing files:
quick_edit.Readme.txt
quick_edit
make_plotfile

Installation Note:
This program works well in the ADAPS "Local Applications" menu. If you install it there, the recommended line in the entry.levels file is:
LUSR quick_edit.ksh     Quick_edit recent stage editor             http://water.usgs.gov/usgs/osw/adaps/quickedit.html
and the recommended line in menu.lapp is:
(LA) SUB-MENU : ADAPS Local Application
quick_edit.ksh     Quick_edit recent stage editor

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