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.16.tar.gz (15.9 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.16-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: glider_ingest-1.1.16.tar.gz
  • Upload date:
  • Size: 15.9 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.16.tar.gz
Algorithm Hash digest
SHA256 31eb3e72dc44503e05913de9d553ae09df18c118ef554d4a2ab359a7f9245985
MD5 128fcdaf6bed1e58fbaabc94f5cc2c73
BLAKE2b-256 041c1aac1dd69e866a9a137fc00255a07e798fb26ed9fcd2099934c2a9d9bfcc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: glider_ingest-1.1.16-py3-none-any.whl
  • Upload date:
  • Size: 17.2 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.16-py3-none-any.whl
Algorithm Hash digest
SHA256 30c4022a9b4f339114680f339ec86fd1c4d22909b3e1cf3d77203532687c7fd3
MD5 9c5435115450532294310f23ba8af4d6
BLAKE2b-256 36f90e459521c2ed348fc96abe694194d5f71e68a8e591468aa4d431dbbc93f1

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