|
Name:
float2encd - Move all FLOAT sensors and their readings to the new encoder (ENCD) sensor released with NWIS 4.9
This script was retired from active support in July 2010 with the release of NWIS 4.10 as it was written to work with NWIS 4.9 only. This page is available for historical reference. Use of the script without extensive testing is not recommended and the consequences are your own. If you feel this script was retired prematurely and would like to see it restored send email to GS-W OSW Scripts@usgs.gov.
Information:
Initially the ADAPS SiteVisit application had a "float" method code for stage sensors that was seen as encompassing all float tape systems, whether recording (shaft encoder) or non-recording (float tape gage). Based on feedback after release it was decided to create a second method for shaft encoders and to reserve the float method for non-recording gages in order to avoid confusion, especially at sites with both types of gage.
This script was written to to facilitate the transfer of existing float sensors to the new encoder method. It runs on the entire database so is most useful for those who have no non-mechanical float tape gages and want to move all existing float sensors to encoders. Those who need to move sensors individually should use the program svsensor_edit (SU-6) that was released with NWIS 4.9. For a WSC that is predominately encoder but with some non-recording float gages, one option is to first use this script to move them all to encoder and then selectively move the non-recording gages back to float using svsensor_edit.
This script can only be run as user "nwis."
Usage:
Installation:
The scripts can be installed by unzipping the files in any Sun directory and making sure the script is executable (chmod +x float2encd).
Script Language:
ksh
Requirements:
Original Author(s): Scott Bartholoma, NWIS
Known Problems/Limitations/Need Improvements:
Scripts:
Version 1.0: (Posted 07/23/09)
float2encd