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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0a999db479539df4bece3fb8323dcf8b4f203b58165eab54f600172703c46d5
|
|
| MD5 |
982f7d91881ddcad51bb6915b486f919
|
|
| BLAKE2b-256 |
34ca3ee404f5173e894ef0879efeda3f04f176234cc67ba2988c6819ca2f3874
|
Provenance
The following attestation bundles were made for fetchaza-0.0.3.post1.dev0.tar.gz:
Publisher:
pypi.yml on eleanorfrajka/fetchAZA
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fetchaza-0.0.3.post1.dev0.tar.gz -
Subject digest:
f0a999db479539df4bece3fb8323dcf8b4f203b58165eab54f600172703c46d5 - Sigstore transparency entry: 199612123
- Sigstore integration time:
-
Permalink:
eleanorfrajka/fetchAZA@d268fc2cfbf202dc531c6552df8057336c15cda5 -
Branch / Tag:
refs/tags/v0.0.3a - Owner: https://github.com/eleanorfrajka
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@d268fc2cfbf202dc531c6552df8057336c15cda5 -
Trigger Event:
release
-
Statement type:
File details
Details for the file fetchaza-0.0.3.post1.dev0-py3-none-any.whl.
File metadata
- Download URL: fetchaza-0.0.3.post1.dev0-py3-none-any.whl
- Upload date:
- Size: 38.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96f204ca4165b14b3bb80c2c12e6eca89b8a888e93ab5bb80a96883b72577536
|
|
| MD5 |
29ba765f4651e661b5cc17d161ee55bf
|
|
| BLAKE2b-256 |
8c48a3cd46a58a6fc622bb119a7ef3dd24343ad9e98292b00e2a1f0f05fc1041
|
Provenance
The following attestation bundles were made for fetchaza-0.0.3.post1.dev0-py3-none-any.whl:
Publisher:
pypi.yml on eleanorfrajka/fetchAZA
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fetchaza-0.0.3.post1.dev0-py3-none-any.whl -
Subject digest:
96f204ca4165b14b3bb80c2c12e6eca89b8a888e93ab5bb80a96883b72577536 - Sigstore transparency entry: 199612127
- Sigstore integration time:
-
Permalink:
eleanorfrajka/fetchAZA@d268fc2cfbf202dc531c6552df8057336c15cda5 -
Branch / Tag:
refs/tags/v0.0.3a - Owner: https://github.com/eleanorfrajka
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@d268fc2cfbf202dc531c6552df8057336c15cda5 -
Trigger Event:
release
-
Statement type: