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 timestamp adapter #268

Merged
merged 11 commits into from
May 13, 2022
Merged

Added timestamp adapter #268

merged 11 commits into from
May 13, 2022

Conversation

pstradio
Copy link
Collaborator

@pstradio pstradio commented May 9, 2022

Added a timestamp adapter for datasets that are read with an index in midnight UTC units and an additional field with the time offset. The adapter returns the original fields with the exact observation timestamp.

Applicable for instance to:

  • SMOS L3
  • SMAP L3
  • C3S
  • CCI

src/pytesmo/validation_framework/adapters.py Outdated Show resolved Hide resolved
src/pytesmo/validation_framework/adapters.py Show resolved Hide resolved
src/pytesmo/validation_framework/adapters.py Outdated Show resolved Hide resolved
@pstradio pstradio requested a review from wpreimes May 12, 2022 11:39
@pstradio
Copy link
Collaborator Author

Coverage decreases for some reason, but the tests i have added are covering all the new functions

Copy link
Member

@wpreimes wpreimes left a comment

Choose a reason for hiding this comment

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

Otherwise it's fine, please update the Changelog!

src/pytesmo/validation_framework/adapters.py Outdated Show resolved Hide resolved
@wpreimes wpreimes merged commit 9ffa54e into TUW-GEO:master May 13, 2022
@pstradio pstradio deleted the timestamp_adapter branch June 22, 2022 11:09
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