Skip to main content

Repository to load data from Sonardyne Fetch AZA

Project description

fetchAZA

Repository for reading pressure data from the Sonardyne Fetch AZA into netCDF (xarray) format.

During the reading of files, there is an intermediate step where logging event lines in the *.csv data file are separated into individual netCDF files. In the processing step, the hourly data are combined into a single netCDF file (comprising PIES, DQZ, KLR, etc events, into *use.nc) and the AZA sequence events that fit a valid sequence of AZS-AZA-AZA-AZA-AZS patterns are merged into a second netCDF file (*AZAseq.nc*)

This is a work in progress as part of the EPOC project.

Install

Install from PyPI with

python -m pip install fetchAZA

Documentation

For documentation, see http://eleanorfrajka.github.io/fetchAZA.

Check out the demo notebook notebooks/demo.ipynb for example functionality.

As input, fetchAZA takes Sonardyne Fetch AZA *.csv files. See 8318-FS Issue06.pdf for details of the data format, or check out the snippet in data/sample_data.csv.

Contributing

Contributions welcome!

To install a local, development version of fetchAZA, clone the repo, open a terminal in the root directory (next to this README.md file) and run these commands:

git clone https://github.com/eleanorfrajka/fetchAZA.git
cd fetchAZA
pip install -r requirements-dev.txt
pip install -e .

This installs fetchAZA locally. -e ensures that any edits you make in the files will be picked up by scripts that import functions from fetchAZA. You can run the example jupyter notebook by launching jupyterlab with jupyter-lab and navigating to the notebooks directory.

All new functions should include tests. You can run the tests locally and generate a coverage report with:

pytest --cov=fetchAZA --cov-report term-missing tests/

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

fetchaza-0.0.2a3.dev0.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

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

fetchaza-0.0.2a3.dev0-py3-none-any.whl (35.5 kB view details)

Uploaded Python 3

File details

Details for the file fetchaza-0.0.2a3.dev0.tar.gz.

File metadata

  • Download URL: fetchaza-0.0.2a3.dev0.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fetchaza-0.0.2a3.dev0.tar.gz
Algorithm Hash digest
SHA256 dba6d18e779f9c453d3bf1d6e264325818df657fc9936033e39a8c7eb57c5d3d
MD5 048fac147f257a12f7503f7c53168a94
BLAKE2b-256 323d3b16405baa1ecddee9d1357e9687b3f239967f3c42201de4f94cadce3dda

See more details on using hashes here.

Provenance

The following attestation bundles were made for fetchaza-0.0.2a3.dev0.tar.gz:

Publisher: pypi.yml on eleanorfrajka/fetchAZA

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fetchaza-0.0.2a3.dev0-py3-none-any.whl.

File metadata

File hashes

Hashes for fetchaza-0.0.2a3.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 dc5ffc24290aebfa648c2a5646359f3f5ff9660f75fd2e4623c4dd6674a65ab3
MD5 11d28767892e0cb6b13d27640c309cc2
BLAKE2b-256 73463bf0a034bdaacda0c396319a62847ccd6e90c6da03a135fd80ec617a28f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for fetchaza-0.0.2a3.dev0-py3-none-any.whl:

Publisher: pypi.yml on eleanorfrajka/fetchAZA

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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