Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • airGR airGR
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 68
    • Issues 68
    • List
    • Boards
    • Service Desk
    • Milestones
  • Redmine
    • Redmine
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • 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

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

  • HYCAR-HydroHYCAR-Hydro
  • airGRairGR
  • Issues
  • #100
Closed
Open
Issue created Feb 19, 2021 by Thirel Guillaume@guillaume.thirelDeveloper

Unclear message when Qupstream is NA

When we have NA in upstream discharge (observations), the error message is unclear.

For a run (I modified the following in the example InputsModel$Qupstream[5000] <- NA) :

OutputsModel <- RunModel_Lag(InputsModel = InputsModel,
+                              RunOptions = RunOptions, Param = Lag)
Error in if (any(OutputsModel$Qsim < 0)) { : 
  valeur manquante là où TRUE / FALSE est requis

For a calibration (according to @cyril.thebault):

Grid-Screening in progress(0%Error in FUN_MOD(InputsModel, RunOptions = RunOptions, Param = Param[iFirstParamRunOffModel:length(Param)]):
NA/NaN/Inf in foreign function call (arg2)

@olivier.delaigue and @david.dorchies, I think we need to better check NAs. In my opinion, NAs should be forbidden, such as are NAs for P and T.

Assignee
Assign to
Time tracking