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.1.tar.gz (5.1 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.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: usgs_mbe-0.1.1.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.8.5 Linux/5.4.72-microsoft-standard-WSL2

File hashes

Hashes for usgs_mbe-0.1.1.tar.gz
Algorithm Hash digest
SHA256 36aa78fbfa1304523cb72a942fe09424fd0c73589cc9b43f5a54fca093f53e0a
MD5 c366fcddf174b7fcffadf886b8d74d40
BLAKE2b-256 3fb90fce56849a99144b62502f5969b7617a17a536b014e7bb1801efccab32f5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: usgs_mbe-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.8.5 Linux/5.4.72-microsoft-standard-WSL2

File hashes

Hashes for usgs_mbe-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c139a72764df156097ca061862626fc7851be86990778b6df33124b5c6f2c1da
MD5 c8d717333071b840a570e73f3014ff92
BLAKE2b-256 62590d0649aee5daa84f59891c5af7328c0e95bbd805a2613ddf4d944a8f580b

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