Skip to content

Initial documentation#53

Merged
treigerm merged 8 commits into
mainfrom
documentation
Aug 19, 2025
Merged

Initial documentation#53
treigerm merged 8 commits into
mainfrom
documentation

Conversation

@treigerm
Copy link
Copy Markdown
Member

@treigerm treigerm commented Aug 1, 2025

This adds some bare-bones documentation and details for how to run the pipeline.

I'll clean up the docstrings and add details on how to add compressors/metrics in a later PR.

Copy link
Copy Markdown
Collaborator

@juntyr juntyr left a comment

Choose a reason for hiding this comment

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

LGTM so far, I left a few nits

Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread docs/index.md Outdated
Comment thread docs/index.md Outdated
Comment thread mkdocs.yml
nav:
- Home: index.md
- Tutorials:
- Run the benchmark: run_benchmark.md
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Is this file still missing?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Ups yes, it's added now!

Comment thread src/climatebenchpress/compressor/compressors/jpeg2000.py
class ErrorBound(Test):
def __init__(self, error_type: str, threshold: float = 0.05):
"""Tests whether the absolute or relative error between two arrays is below a threshold.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Maybe mention here that infinite values need to be preserved exactly and that NaNs must stay NaNs

Comment thread src/climatebenchpress/compressor/tests/r2_correlation.py Outdated
treigerm and others added 4 commits August 5, 2025 13:43
@treigerm
Copy link
Copy Markdown
Member Author

treigerm commented Aug 5, 2025

Thanks @juntyr ! I have added the missing tutorial now and fixed the other nibbles.

@treigerm
Copy link
Copy Markdown
Member Author

@juntyr do you have any objections against me merging this?

Copy link
Copy Markdown
Collaborator

@juntyr juntyr left a comment

Choose a reason for hiding this comment

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

LGTM

@treigerm treigerm merged commit 73b5caf into main Aug 19, 2025
3 checks passed
@juntyr juntyr deleted the documentation branch February 4, 2026 08:02
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