Skip to main content

Package for GERG to ingest raw glider data into NetCDF files

Project description


Logo

GERG Glider Ingest

Convert raw data from GERG gliders into netcdf using python
Explore the docs »

Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Contributing
  5. License
  6. Contact
  7. Acknowledgments

About The Project

This project was created to streamline the process of converting the raw data from the gliders after missions into NetCDF files, as well as ensuring the code can be easily maintained, understood, and used by others.

Built With

Python

Getting Started

Using PyPi

pip install glider-ingest

Dependencies

Required dependencies are:

  • python = "^3.12"
  • numpy = "^2.0.1"
  • pandas = "^2.2.2"
  • xarray = "^2024.6.0"
  • attrs = "^23.2.0"
  • gsw = "^3.6.19"
  • scipy = "^1.14.0"
  • netcdf4 = "^1.7.1.post1"

Usage

Process raw data from gliders using python.

Example:

from pathlib import Path

from glider_ingest import MissionData, MissionProcessor

memory_card_copy_loc = Path('path/to/memory/card/copy')
# Where you want the netcdf to be saved to
working_dir = Path('path/to/working/dir').resolve()
mission_num = '46'

# Initalize the mission_data container
mission_data = MissionData(memory_card_copy_loc=memory_card_copy_loc,
                         working_dir=working_dir,
                         mission_num=mission_num)
# Pass the mission_data container to the MissionProcessor class
# call save_mission_dataset to generate and save the mission dataset
MissionProcessor(mission_data=mission_data).save_mission_dataset()

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Alec Krueger - alecmkrueger@tamu.edu

Project Link: https://github.com/alecmkrueger/glider-ingest

Acknowledgments

  • Sakib Mahmud, Texas A&M University, Geochemical and Environmental Research Group, sakib@tamu.edu
  • Xiao Ge, Texas A&M University, Geochemical and Environmental Research Group, gexiao@tamu.edu
  • Alec Krueger, Texas A&M University, Geochemical and Environmental Research Group, alecmkrueger@tamu.edu

(back to top)

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

glider_ingest-1.1.14.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

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

glider_ingest-1.1.14-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file glider_ingest-1.1.14.tar.gz.

File metadata

  • Download URL: glider_ingest-1.1.14.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.12.5 Windows/11

File hashes

Hashes for glider_ingest-1.1.14.tar.gz
Algorithm Hash digest
SHA256 266e8f9e1586346c2fdf3fcea76a9988a28212e5187d1e73375f09d1e88d00eb
MD5 207467b414cbf62e3ba9bdb4b80dde6e
BLAKE2b-256 21574466c616cdafb82209034c184219edcd8f6c930a9739d7a36d533b70a0d6

See more details on using hashes here.

File details

Details for the file glider_ingest-1.1.14-py3-none-any.whl.

File metadata

  • Download URL: glider_ingest-1.1.14-py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.12.5 Windows/11

File hashes

Hashes for glider_ingest-1.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 faeb13f57c39dd606894d6bf90178bb365252713489890148cdfb9528bd6b18a
MD5 01f466797ba3e0f4c3c57beadef58f87
BLAKE2b-256 456e7d6f5294dd3b285b66cc5f6d6a1ced276ea17990504dac1ba5fe7d4dd145

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