Skip to content

Adding ARGO float data#242

Merged
IFenton merged 48 commits intomainfrom
239-argo-data
Mar 26, 2026
Merged

Adding ARGO float data#242
IFenton merged 48 commits intomainfrom
239-argo-data

Conversation

@IFenton
Copy link
Copy Markdown
Contributor

@IFenton IFenton commented Mar 11, 2026

Closes #239

@review-notebook-app
Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 16, 2026

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  icenet_mp/data_processors/sources
  __init__.py
  argo.py 45-46, 107-109, 112, 142-146, 193-194, 237-245, 252-255
Project Total  

This report was generated by python-coverage-comment-action

@IFenton IFenton marked this pull request as ready for review March 18, 2026 11:32
@IFenton IFenton changed the title [WIP] Adding ARGO float data Adding ARGO float data Mar 18, 2026
@IFenton IFenton requested a review from Copilot March 18, 2026 11:32
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an Argo float data source to the icenet_mp data processing pipeline, along with the necessary Python dependencies and a sample dataset configuration.

Changes:

  • Introduces a new ArgoSource (icenet_mp/data_processors/sources/argo.py) that fetches Argo data via argopy and projects it onto a lat/lon grid.
  • Registers the new source alongside the existing FTP source.
  • Adds argopy and haversine dependencies plus a sample dataset YAML, and updates uv.lock accordingly.

Reviewed changes

Copilot reviewed 4 out of 6 changed files in this pull request and generated 11 comments.

Show a summary per file
File Description
uv.lock Locks new dependencies (argopy, erddapy, haversine) and adjusts some resolved versions/markers.
pyproject.toml Adds runtime deps (argopy, haversine) and mypy ignore entries for their modules.
icenet_mp/data_processors/sources/argo.py New Argo source implementation with retry logic and gridding/weighting.
icenet_mp/data_processors/sources/__init__.py Registers argo in register_sources() and exports ArgoSource.
icenet_mp/config/data/datasets/samp_floatnorth_argo_pt_2017_2019_24h_v1.yaml Adds a sample dataset config for the new Argo source.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread icenet_mp/data_processors/sources/argo.py Outdated
Comment thread icenet_mp/data_processors/sources/argo.py Outdated
Comment thread icenet_mp/data_processors/sources/argo.py Outdated
Comment thread icenet_mp/data_processors/sources/argo.py Outdated
Comment thread icenet_mp/data_processors/sources/argo.py Outdated
Comment thread icenet_mp/data_processors/sources/argo.py Outdated
Comment thread icenet_mp/data_processors/sources/__init__.py Outdated
Comment thread icenet_mp/config/data/datasets/samp_floatnorth_argo_pt_2017_2019_24h_v1.yaml Outdated
Comment thread icenet_mp/config/data/datasets/samp_floatnorth_argo_pt_2017_2019_24h_v1.yaml Outdated
Comment thread icenet_mp/data_processors/sources/argo.py
@marianovitasari20 marianovitasari20 self-requested a review March 18, 2026 14:46
Comment thread icenet_mp/config/data/datasets/samp_floatnorth_argo_pt_2017_2019_24h_v1.yaml Outdated
Comment thread icenet_mp/data_processors/sources/argo.py Outdated
Comment thread icenet_mp/data_processors/sources/argo.py Outdated
Comment thread icenet_mp/data_processors/sources/argo.py
Comment thread icenet_mp/data_processors/sources/argo.py Outdated
Comment thread icenet_mp/data_processors/sources/argo.py Outdated
IFenton and others added 5 commits March 19, 2026 11:52
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Comment thread icenet_mp/data_processors/sources/argo.py Outdated
@jemrobinson jemrobinson self-requested a review March 25, 2026 17:24
Copy link
Copy Markdown
Member

@jemrobinson jemrobinson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Discussed with @IFenton. Happy for her to merge when ready.

@IFenton IFenton merged commit 118dfe8 into main Mar 26, 2026
3 checks passed
@IFenton IFenton deleted the 239-argo-data branch March 26, 2026 16:06
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.

Add ARGO float data

4 participants