Open nfb2021 opened 1 month ago
@wpreimes The required qa4sm-reader code can be found in this draft PR
Also, there is a migration conflict. If you're not sure how to solve it, we can have a call and I can help you :)
@wpreimes The required qa4sm-reader code can be found in this draft PR
I closed the draft PR to the qa4sm-reader master branch and instead did a proper PR to the beta-release branch
progress so far:
new files:
pytesmo
output netCDF file into the newqa4sm
oneglobals.py
. kept to demonstrate injecting custom sub-temporal windows for now (as this functionality is implemented invalidator.validation.intra_annual_slicer.IntraAnnualSlicesDefault
to add flexibility for users)I tried to highlight all new code with #$$
Note:
Triple Collocation Metrics are deactivated for the beta release
This is due to two problems:
Tests
Pytesmo Bug
Not all dataset combinations may be used to run a validation. In some cases, pytesmo throws a bug along the line: ValueError("Expected a DatetimeIndex, but got <class 'pandas.core.indexes.base.Index'>."). This issue is reproducible when running the test __test_c3s_validation_upscaling__ in default case
Plotting
As the output netcdf files were restructured to better accommodate the tsws by introducing a new dimension, the qa4sm-reader had to be adapted accordingly. Plotting will not work with the currently publicly available qa4sm-reader, not even when using the default case
Code Formatting
It may be, that some code is formatted differently than in the awst/qa4sm master branch. Sorry for that!
To Do: