Package for GERG to ingest raw glider data into NetCDF files
Project description
GERG Glider Ingest
Convert raw data from GERG gliders into netcdf using python
Explore the docs »
Report Bug
·
Request Feature
Table of Contents
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
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".
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - 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
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
File details
Details for the file glider_ingest-1.1.11.tar.gz
.
File metadata
- Download URL: glider_ingest-1.1.11.tar.gz
- Upload date:
- Size: 15.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.5 Windows/11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d810a09160ab5e62918399388401fc59e5bdc40db990a8f0a9e844a328b0eae6 |
|
MD5 | f2a25ee1c9c0275c6799d4c72011dd44 |
|
BLAKE2b-256 | e5162691487d61878d4f7106d2ac42ccb11c9728365ef7f18db2a3d59ab785c4 |
File details
Details for the file glider_ingest-1.1.11-py3-none-any.whl
.
File metadata
- Download URL: glider_ingest-1.1.11-py3-none-any.whl
- Upload date:
- Size: 16.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.5 Windows/11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86f89c00802e14867c8462472f9de7e0eeaf7e7c28853c8e252029717b2d9f97 |
|
MD5 | 5622f3ec94ee286e260ef41afabee71d |
|
BLAKE2b-256 | 49b65f5bebc35d3d0c0331320d4a29186c6a824c71277318a4b16f457ce02e63 |