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 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • 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
  • #93
Closed
Open
Issue created Mar 01, 2021 by lpalma@lpalmaMaintainer

ERROR: "expected name should be 'latitude', 'longitude' Calls: source -> withVisible -> eval -> eval -> Start"

Hi @aho @nperez,

After the recent update of startR we are getting the following error:

obs.path <- "/esarchive/recon/ecmwf/era5/monthly_mean/$var$_f1h-r1440x721cds/$var$_$file_date$.nc"
variable <- "prlr"
dates_file <- "201311"
lats.min <- 35.6
lats.max <- 44
longitude_reorder <- CircularSort(-180, 180)



obs <- Start(dat = obs.path,
             var = variable,
             file_date = dates_file,
             latitude = values(list(lats.min, lats.max)),
             latitude_reorder = Sort(decreasing = TRUE),
             longitude = values(list(lons.min, lons.max)),
             longitude_reorder = longitude_reorder,
             #synonims = list(latitude=c('lat','latitude'),
             #                longitude=c('lon','longitude')), 
             return_vars = list(latitude = 'dat',
                                longitude = 'dat',
                                time = 'file_date'),
             split_multiselected_dims = TRUE,
             retrieve = TRUE)

"Error in Start(dat = obs.path, var = variable, file_date = dates_file, : Could not find variable 'time' (or its synonims if specified) in the inner dimension names. The expected name should be 'latitude', 'longitude'. "

FYI @amartine

Assignee
Assign to
Time tracking