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.2a6.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.2a6.dev0-py3-none-any.whl (37.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fetchaza-0.0.2a6.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.2a6.dev0.tar.gz
Algorithm Hash digest
SHA256 c653c87c6fd2542182f7da60c66953f01248fe460d395d2160036bcb65792feb
MD5 ea627327bf627a790165f2f6c120ba80
BLAKE2b-256 0f20315907f08b72d1f540c89b630b88ea716123f3b01ef9206c5dcf1e4ebb6a

See more details on using hashes here.

Provenance

The following attestation bundles were made for fetchaza-0.0.2a6.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.2a6.dev0-py3-none-any.whl.

File metadata

File hashes

Hashes for fetchaza-0.0.2a6.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd2902c5c53bc682715b13acfe009f210f37fe6a2210a5e612d9f55f0e0dd4f9
MD5 67aa8af1ecef8d344245256ae3cfb48d
BLAKE2b-256 8d7f7e182db5563bcd24a9e84f6b16b1d586a14d9660f22a59f553292e17476f

See more details on using hashes here.

Provenance

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