Skip to content

Support the new strict option to fre catalog build#552

Merged
ilaflott merged 12 commits intomainfrom
catalog-builder-strict
Jul 30, 2025
Merged

Support the new strict option to fre catalog build#552
ilaflott merged 12 commits intomainfrom
catalog-builder-strict

Conversation

@ceblanton
Copy link
Contributor

@ceblanton ceblanton commented Jul 24, 2025

Describe your changes

Add the optional, default off, option to the catalog builder for strict validation.

Also, rename 'fre catalog builder' to 'fre catalog build' for consistency and clarity.

Issue ticket number and link (if applicable)

Uses this upstream (not yet merged) update NOAA-GFDL/CatalogBuilder#112

Checklist before requesting a review

  • I ran my code
  • I tried to make my code readable
  • I tried to comment my code
  • I wrote a new test, if applicable
  • I wrote new instructions/documentation, if applicable
  • I ran pytest and inspected it's output
  • I ran pylint and attempted to implement some of it's feedback
  • No print statements; all user-facing info uses logging module

Also, rename 'fre catalog builder' to 'fre catalog build' for consistency and clarity.
@ceblanton ceblanton requested a review from Ciheim July 24, 2025 21:30
@Ciheim
Copy link
Collaborator

Ciheim commented Jul 29, 2025

Addresses #301

@Ciheim Ciheim mentioned this pull request Jul 29, 2025
Copy link
Collaborator

@Ciheim Ciheim left a comment

Choose a reason for hiding this comment

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

Looks ready to go but catalog validation will fail until latest validator updates are merged.
NOAA-GFDL/CatalogBuilder#128

@Ciheim Ciheim marked this pull request as ready for review July 30, 2025 18:57
@codecov
Copy link

codecov bot commented Jul 30, 2025

Codecov Report

❌ Patch coverage is 85.71429% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 68.65%. Comparing base (af107ce) to head (b69dda1).
⚠️ Report is 799 commits behind head on main.

Files with missing lines Patch % Lines
fre/catalog/frecatalog.py 85.71% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #552      +/-   ##
==========================================
+ Coverage   68.63%   68.65%   +0.02%     
==========================================
  Files          63       63              
  Lines        4282     4285       +3     
==========================================
+ Hits         2939     2942       +3     
  Misses       1343     1343              
Flag Coverage Δ
unittests 68.65% <85.71%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

@ilaflott ilaflott self-requested a review July 30, 2025 21:27
- conda-forge::jsonschema
- conda-forge::metomi-rose
- conda-forge::nccmp
- conda-forge::numpy<2
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Shouldn't this dependency belong to catalogbuilder alone, not fre-cli?

@ilaflott ilaflott merged commit fe0b24b into main Jul 30, 2025
5 checks passed
@ilaflott ilaflott deleted the catalog-builder-strict branch July 30, 2025 21:54
@laurenchilutti
Copy link
Member

fixes #301

@ilaflott ilaflott linked an issue Aug 19, 2025 that may be closed by this pull request
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.

docs: Catalog Tool Documentation Update

4 participants