Skip to main content

USGS MovingBedExtraction - Parser to generate summary data from ADCP files for the USGS.

Project description

ADCP-Moving-Bed-Extraction

Pulls extraction files from ADCP files for the USGS. Can be run on a given folder with subdirectories. For all the subdirectories - the script will scan through all files looking for two conditions:

  1. File extension is xml
  2. QRev (case sensitive) is present in the file name.

An error log will be generated to the folder. There may be some bad field data / assumptions taken, and the script will do its best to inform you of those decisions.

Installation

pip install usgs_mbe

Usage

usgs_mbe --test-folder=/path/to/folder

or - more simply -

usgs_mbe

Output

A csv file in each subfolder with the following columns:

MovingBedSpeed
MovingBedSpeedUnit
TestTimestamp
MovingBedTestResults
StationName
siteid
MovingBedTestQuality
Duplicates -- If multiple values were found - this indicates that the first was taken.
gage_height_va -- USGS value for the closest height to the TestTimestamp.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

usgs_mbe-0.1.2.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

usgs_mbe-0.1.2-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file usgs_mbe-0.1.2.tar.gz.

File metadata

  • Download URL: usgs_mbe-0.1.2.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.9.4 Darwin/19.6.0

File hashes

Hashes for usgs_mbe-0.1.2.tar.gz
Algorithm Hash digest
SHA256 572bed69d8d3f3a10a0611cd50b241a804ee342b99c80e1392c993ca7289acfc
MD5 d2e8fc79cdaf4c72be04898906be5cbc
BLAKE2b-256 ea29fd5e71fbc50ed51f0c540d36bafc62430951d75763057490b2f58a3085e3

See more details on using hashes here.

File details

Details for the file usgs_mbe-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: usgs_mbe-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.9.4 Darwin/19.6.0

File hashes

Hashes for usgs_mbe-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 06b73b6de5147bb19d6c13e54d1dc1e60eadea2b9a78091c0a86a263bb019570
MD5 b5a81beb29ddfa33370bedbec541579c
BLAKE2b-256 1c51b69cbe729dbd7067e9f712adf96251eb4f0c12410c41427b128b3a93931f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page