Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • 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 4
    • Issues 4
    • 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 gitlab.irstea.fr sera définitivement arrêtée le 30 juin 2026. Nous vous invitons à migrer vos projets vers la forge INRAE. Vous trouverez plus de détails sur le blog de la forge INRAE.

Mise à jour: le transfert a été repoussé au mercredi 3/12/2025.

Suite à des défaillances matérielles sur l'hébergement historique de gitlab.irstea.fr, le service sera déplacé vers un nouvel hébergement. gitlab.irstea.fr et tous les services attachés (pages, registry, ...) seront indisponibles de 9h à 17h ce mercredi 3 décembre. Merci de votre compréhension.

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

bug when using calendar years instead of hydrological years for bootstrap

It is expected that when using the bootstrapping functionality, the user will provide series of complete hydrological years (e.g. period of three years from 2001-10-01 until 2004-09-30 in the northern hemisphere), it is not enforced, and complete calendar years can be provided (e.g. period of three years from 2001-01-01 until 2003-12-31).

However, in practice, there is a bug, because in the first case 2004-2001=3 (so all three years are sampled), but in the second case 2003-2001=2 (so only two years are sampled). This is a special case when the series starts on 1st of January, as soon as the series starts on 2nd of January the problem disappears.

In evalhyd, when using calendar years, it fails an internal check and raises an error (see https://gitlab.irstea.fr/HYCAR-Hydro/evalhyd/evalhyd-cpp/-/blob/86f1e26a5884cdf3548f44fbb33a5e90e15f5257/include/evalhyd/detail/uncertainty.hpp#L112-L119).

Edited Jun 15, 2023 by Thibault Hallouin
Assignee
Assign to
Time tracking