The ocean data parser has for primary objectif to streamline the data parsing the different oceanographic data format to a standard xarray object. This object can then easily be used for:
- Data Analysis
- NetCDF conversion
- Data Pipeline Ingestion
With miniconda, create a new environement:
conda create --name ocean_parser Get in the environment:
conda activate ocean_parserInstall the present package:
pip install git+https://github.com/HakaiInstitute/ocean-data-parser.gitFor development, clone locally the package :
git clone git+https://github.com/HakaiInstitute/ocean-data-parser.gitand install the package:
cd ocean-data-parser
pip install -e .For development purposes, it is recommended to install the development requirements:
pip install -e ".[dev]"To parse seabird file:
from ocean_data_parser.read import searbird
PATH_TO_SEABIRD_CNV = "PATH_TO_SEABIRD_CNV"
ds = seabird.cnv(PATH_TO_SEABIRD_CNV)