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.17.tar.gz (20.1 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.17-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for glider_ingest-1.1.17.tar.gz
Algorithm Hash digest
SHA256 cf7395d8e2f7bc84520f6fe5341625b9c353d21a85b0c2f1b4a39445a2176200
MD5 edf596d9420df9f7e9842ada8f6d55b9
BLAKE2b-256 14e0fe357779c1b8ce5e8d979ca305dce2647e6c3e1798d3449846da72883e94

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for glider_ingest-1.1.17-py3-none-any.whl
Algorithm Hash digest
SHA256 ec768c1a8c518fc62b75f89a881c4f91dd69630246b54633e7d1837645628fab
MD5 f7027ff9d0ec32096364c05513e29b94
BLAKE2b-256 8cf630cee32b2ca940d601bb53101543e4e5d2eec92d6e09d688ee746efb674e

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