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
  • #61
Closed
Open
Issue created Apr 22, 2020 by Danila Volpi@dan.aliDeveloper

Issue with FAQ 8 on Define a path with multiple dependencies

Hello,

The solution suggested in FAQ 8 to define a path with multiple dependencies, say experiments with different expid, different member names and different model versions is not working properly. The example given in the FAQ creates an array with the right dimensions, but it only fills in the first expid. There follow the lines for a work around:

vari='tosmean'

mod = 'Omon'

grid = 'gn'

reg = 'Global_Ocean'

yrh1 = 1960

yrh2 = 2014

years <- paste0(c(yrh1:yrh2), '01-', c(yrh1:yrh2), '12')

reg_ind = 4

expid=c('a1st','a1sx')

repos <- paste0('/esarchive/exp/ecearth/',expid,'/diags/CMIP/EC-Earth-Consortium/EC-Earth3/historical/r*/',mod,'/$var$/',grid,'/v*/$var$',mod,'EC-Earth3_historical*',grid,'_$year$.nc',sep='')

data_cmip6_h <- Start(dat = repos, var = vari, region=indices(c(4)), year = years, time = 'all', return_vars = list(time = NULL, region=NULL), retrieve = T)

Assignee
Assign to
Time tracking