Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a Python notebook for importing and plotting OpenCTD data files. #36

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

IanTBlack
Copy link
Contributor

@IanTBlack IanTBlack commented Jan 1, 2024

This example takes a CSV file and converts data to an Xarray Dataset object. Three helper functions are added.

Preview Notebook Here

  • import_file ingests a CSV file from a given filepath.
  • process_data computes additional data products like sea_water_practical_salinity and sea_water_density using the Gibbs-Seawater python package.
  • split_cast will split a cast into down/up using the max depth.

Data are not cleaned in any way. Future updates should consider implementing the gross range test for each variable before the additional data products are computed.

Added line for PyCharm output.
This example takes a CSV file and converts data to an Xarray Dataset object. Three helper functions are added.

- import_file ingests a CSV file from a given filepath.
- process_data computes additional data products like sea_water_practical_salinity and sea_water_density using the Gibbs-Seawater python package.
- split_cast will split a cast into down/up using the max depth.

Data are not cleaned in anyway. Future updates should consider implementing the gross range test for each variable before the additional data products are computed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant