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

Uploaded Python 3

File details

Details for the file fetchaza-0.0.3.post1.dev0.tar.gz.

File metadata

  • Download URL: fetchaza-0.0.3.post1.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.3.post1.dev0.tar.gz
Algorithm Hash digest
SHA256 f0a999db479539df4bece3fb8323dcf8b4f203b58165eab54f600172703c46d5
MD5 982f7d91881ddcad51bb6915b486f919
BLAKE2b-256 34ca3ee404f5173e894ef0879efeda3f04f176234cc67ba2988c6819ca2f3874

See more details on using hashes here.

Provenance

The following attestation bundles were made for fetchaza-0.0.3.post1.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.3.post1.dev0-py3-none-any.whl.

File metadata

File hashes

Hashes for fetchaza-0.0.3.post1.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 96f204ca4165b14b3bb80c2c12e6eca89b8a888e93ab5bb80a96883b72577536
MD5 29ba765f4651e661b5cc17d161ee55bf
BLAKE2b-256 8c48a3cd46a58a6fc622bb119a7ef3dd24343ad9e98292b00e2a1f0f05fc1041

See more details on using hashes here.

Provenance

The following attestation bundles were made for fetchaza-0.0.3.post1.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