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
  • #3
Closed
Open
Issue created May 23, 2017 by Nicolau Manubens Gil@nmanubensMaintainer

Bug when retrieving lon - lat dimensions in reversed order

As reported by @llledo , when dims 'lon' and 'lat' are present in the files (in this order) and requested in reversed order, the output is incorrectly arranged.

After some preliminary debugging, I can tell that the bug does NOT come from easyNCDF::NcToArray.

library(startR)

#path <- '/esnas/exp/ecearth/a04f/6hourly/$var$_f6h/$var$_*_S$sdate$_$member$_$chunk$.nc'
path <- '/esnas/exp/ecearth/a04f/monthly_mean/$var$_f6h/$var$_*_S$sdate$_$member$_$chunk$.nc'

data <- Start(dataset = path,
              var = 'sfcWind',
              sdate = 'all',
              member = 'first',
              chunk = 'first',
              time = 'all',
              lat = 'all',
              lon = 'all',
              chunk_depends = 'sdate',
              time_across = 'chunk',
              return_vars = list(lon = NULL,
                                 lat = NULL))

image(drop(data$Data))
Assignee
Assign to
Time tracking