Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • startR startR
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 29
    • Issues 29
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • 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
  • startRstartR
  • Issues
  • #100
Closed
Open
Issue created May 05, 2021 by Llorenç Lledó@llledoDeveloper

Unclear error message when using sdate in the file wildcard, and sdate is also a dimension of the provided time values

Hi, when running a very similar case of example 2 (https://earth.bsc.es/gitlab/es/startR/-/blob/master/inst/doc/usecase/ex1_2_exp_obs_attr.R), I used sdate instead of date in the observations wildcard (and subsequent startR call), and I got an error:

Error in Start(sdate = unique(format(vdates, "%Y%m")), time = values(vdates),  : 
  Size of selector file dimensions must mach size of requested variable dimensions.

The error is unclear, and probably the problem comes from the fact that sdate is already a dimension name of the vdates array that is used to define times to select in time=values(vdates).

Maybe we should document that the wildcard of the observations cannot be the same used for the model in this example.

Edited May 05, 2021 by Llorenç Lledó
Assignee
Assign to
Time tracking