Skip to content

Bathymetry Pipeline Scaffolding#86

Open
manishvenu wants to merge 56 commits into
stats_depthfrom
full_bathy_workflow
Open

Bathymetry Pipeline Scaffolding#86
manishvenu wants to merge 56 commits into
stats_depthfrom
full_bathy_workflow

Conversation

@manishvenu
Copy link
Copy Markdown
Collaborator

@manishvenu manishvenu commented Apr 30, 2026

This is where I take set_from_dataset from the OLD method (Ashley Barnes regional-mom6), to the NEW workflow!

I am happy how this turned out!

Docs: https://docs.google.com/document/d/11rGmyRcyXVK9AzdFeHzhjYPSUH9jPjWLqE35222BSkQ/edit?tab=t.0

Package Docs are going to come much later. It's very annoying to write docs when there's so many seperate PRs.

Closes CROCODILE-CESM/CrocoDash#192

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 30, 2026

Codecov Report

❌ Patch coverage is 54.95495% with 50 lines in your changes missing coverage. Please review.
✅ Project coverage is 46.56%. Comparing base (1f2b3bd) to head (ef01ad7).

Files with missing lines Patch % Lines
mom6_forge/topo.py 54.95% 42 Missing and 8 partials ⚠️
Additional details and impacted files
@@               Coverage Diff               @@
##           stats_depth      #86      +/-   ##
===============================================
+ Coverage        45.42%   46.56%   +1.14%     
===============================================
  Files               15       15              
  Lines             2873     2942      +69     
  Branches           294      306      +12     
===============================================
+ Hits              1305     1370      +65     
+ Misses            1516     1513       -3     
- Partials            52       59       +7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@manishvenu manishvenu changed the base branch from main to stats_depth April 30, 2026 22:36
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 30, 2026

📄 Preview your docs here:
👉 https://NCAR.github.io/mom6_forge/pr-86/index.html

@manishvenu manishvenu marked this pull request as ready for review May 1, 2026 21:53
manishvenu and others added 27 commits May 19, 2026 17:40
Rename oceanfrac -> ocean_frac to match project naming style, fix
double-word typo in docstring, and standardize Parameters section format.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…o-mask bug

- Merge origin/stats_depth and origin/mask_ocean_frac to pick up renames
- Update calls to generate_mask_from_stats_oceanfrac -> generate_mask_from_stats_ocean_frac
- Update calls to direct_stats_depth -> set_depth_from_stats
- Fix direct_xesmf_depth: use src_bathymetry_dataset/destination_bathymetry (were bathymetry_output/empty_bathy)
- Fix auto-mask path: call _compute_stats before generate_mask_from_stats_ocean_frac
- Rename direct_xesmf_depth -> set_depth_from_xesmf and
  mpi_direct_xesmf_depth -> mpi_set_depth_from_xesmf to match set_depth_from_stats pattern
- Add test_diagnose_resolution_below_threshold and _above_threshold
- Add test_set_from_dataset_stats_path covering the ocean_frac mask + stats depth workflow
@manishvenu manishvenu requested a review from alperaltuntas May 29, 2026 16:33
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.

2 participants