Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • SUNSET SUNSET
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 44
    • Issues 44
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Earth SciencesEarth Sciences
  • SUNSETSUNSET
  • Merge requests
  • !231

Unit test for sub-seasonal crossval calibration

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Nuria Pérez-Zanón requested to merge dev_subseasonal-cal into master Jul 16, 2025
  • Overview 1
  • Commits 1
  • Pipelines 1
  • Changes 3

Hi @vagudets

@vtorralba is trying to use the operational code for sub-seasonal forecast (https://earth.bsc.es/gitlab/es/sunset/-/blob/master/operationals/bigpredidata/recipe_bigpredidata_oper_subseasonal.yml) and she is finding some problems.

I have solved two of them and created a unit test based on the existing sub-seasonal recipe (https://earth.bsc.es/gitlab/es/sunset/-/blob/master/tests/recipes/recipe-subseasonal_weekly.yml):

  1. When merging 'sday' and 'syear' dimensions, na.rm should be FALSE to keep always the same length.
  2. The crps_clim and crpss had some problems for the sub-seasonal case

The existing recipe for the test states the saving probabilities "percentile_only", but in the BigPrediData case, it also saves probabilities, and this is failing. @vtorralba may open an issue about that, but you might be willing to test it as well. In any case, the current unit test worked in the WS, so it can be merged if you want.

For the future, we may need to consider the difference between having NAs because they are part of the dataset or because a file is missing. Some metrics are returned now, like mean bias and correlation, which I am not totally sure if they are correct. A warning may be useful in this case.

I hope this helps,

Núria

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: dev_subseasonal-cal