Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • evalhyd-cpp evalhyd-cpp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

La forge institutionnelle d'INRAE étant en production depuis le 10 juin 2025, nous vous invitons à y créer vos nouveaux projets.

  • HYCAR-HydroHYCAR-Hydro
  • evalhydevalhyd
  • evalhyd-cppevalhyd-cpp
  • Issues
  • #9
Closed
Open
Issue created Aug 25, 2023 by Thibault Hallouin@thibault.hallouinOwner

amend bootstrap algorithm to support more than just daily predictions

At the moment, there is a check on the length of each year block, but there is an assumption that predictions are daily:

// check that year is complete (without a rigorous leap year check)
int n_days = xt::sum(wdw)();
if ((n_days != 365) && (n_days != 366))
{
    throw std::runtime_error(
        "year starting in " + std::to_string(y - 400)
        + " is incomplete"
    );
}

https://gitlab.irstea.fr/HYCAR-Hydro/evalhyd/evalhyd-cpp/-/blob/805e4a6af9271dec04e55417d7539b7c09841f40/include/evalhyd/detail/uncertainty.hpp#L107-115

This check needs to be made more versatile so that another temporal resolution can be considered, as long as complete years are provided.

Assignee
Assign to
Time tracking