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.3.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.3-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: usgs_mbe-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 a366ba2022eb59c7656610056e757aa8e703ba8bb4d5c3c8ececdb5beede9aea
MD5 ee1e4b8053b9d0c03620b033e9d172d5
BLAKE2b-256 c95509d3dbd58d17b8f6291a9955a8355f67061d2883176ad82d2855c235f521

See more details on using hashes here.

File details

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

File metadata

  • Download URL: usgs_mbe-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 5.4 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 caed8a9261134f94052afb1e856af3ae088c0091041774951c65539c9349a6cc
MD5 312aed19c6082c12b4fce2372442887f
BLAKE2b-256 0467f73107f532147711f6b5ce854758bd6216fb8da2f6986d4a07954c03f8cb

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