Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • S s2dverification
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 65
    • Issues 65
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Earth SciencesEarth Sciences
  • s2dverification
  • Issues
  • #2
Closed
Open
Issue created Nov 06, 2014 by Chloé Prodhomme@cprodhommeDeveloper

Bug in Load in the develop branch

I have found these bug in Load in the develop branch: If I try:

source("/home/cprodhomme/tools/s2dverification-develop/s2dverification/R/Load.R")
  Data=Load("tas", c("b0cm","b0gq"), obs = c("ERAint"),sdates=c(19850501,19860501),
    nleadtime = 4, nmember = 10, leadtimemin = 1,
    leadtimemax = 4, storefreq = "monthly", sampleperiod = 1,
    method = "conservative", output="lonlat")

I get the following message:

[1] "/cfunas/exp/ecearth/b0cm/monthly_mean/tas_6hourly/tas_19850501.nc"
[1] "/cfunas/exp/ecearth/b0gq/monthly_mean/tas_6hourly/tas_19850501.nc"
[1] "Files loaded from /cfu/data/ecmwf/eraint/monthly_mean/tas_f6h/tas_*"
[1] "/cfu/data/ecmwf/eraint/monthly_mean/tas_f6h/tas_198505.nc"
Error in which(maskobs[[indobs]] < 0.5 | is.na(tmp1[, , 1])) : 
  dims [product 51200] do not match the length of object [0]

While if I try the same with the version in master:

source("/home/cprodhomme/tools/s2dverification-master/s2dverification/R/Load.R")
Data=Load("tas", c("b0cm","b0gq"), obs = c("ERAint"),sdates=c(19850501,19860501),
    nleadtime = 4, nmember = 10, leadtimemin = 1,
    leadtimemax = 4, storefreq = "monthly", sampleperiod = 1,
    method = "conservative", output="lonlat")

It works perfectly fine. Normally, I have the correct and up-to-date version of both branches.

Assignee
Assign to
Time tracking