Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • airGRteaching airGRteaching
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Service Desk
    • Milestones
  • Redmine
    • Redmine
  • Merge requests 0
    • Merge requests 0
  • 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
  • airGRteachingairGRteaching
  • Issues
  • #35
Closed
Open
Issue created Jan 15, 2021 by Delaigue Olivier@olivier.delaigueOwner

Fix plot.PrepGR when all Qobs are missing

The plot.PrepGR() function does not run if Qobs = NA.

data(L0123001, package = "airGR")
prep <- PrepGR(DatesR = BasinObs$DatesR, Precip = BasinObs$P,
               PotEvap = BasinObs$E, Qobs = NA, HydroModel = "GR4J")

plot(prep)
Error in plot.window(...) : valeurs finies requises pour 'ylim'
De plus : Warning messages:
1: In min(x) : aucun argument trouvé pour min ; Inf est renvoyé
2: In max(x) : aucun argument pour max ; -Inf est renvoyé

image

It could be better it to display the following text in the second plot: "No observed discharges".

Assignee
Assign to
Time tracking