Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • s2dv s2dv
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 17
    • Issues 17
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • 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
  • s2dvs2dv
  • Merge requests
  • !168

New parameter for 'abs_thresholds'

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Nuria Pérez-Zanón requested to merge dev-rpss-probs into master Oct 04, 2023
  • Overview 13
  • Commits 5
  • Pipelines 3
  • Changes 5

Hi @aho

I have just pushed the changes I have for the GetProbs function. It now includes two new parameters: 'abs_thresholds' and 'prob_dim'.

Could you help me to test it whenever you have time?

It seems to work with the example:

source("/esarchive/scratch/nperez/git2/s2dv/R/GetProbs.R")
res <- GetProbs(data = data, time_dim = 'sdate', memb_dim = 'ensemble',
                 indices_for_quantiles = 4:17)

And you can also see my sample data in "/esarchive/scratch/nperez/sample_full_cross.RDS" to run the test:

source("/esarchive/scratch/nperez/git2/s2dv/R/GetProbs.R")
test <- GetProbs(ano_hcst_ev, time_dim = 'loop', prob_thresholds = NULL,
                 prob_dim = 'probs', indices_for_quantiles = NULL,
                 memb_dim = 'member', abs_thresholds = lims_ano_hcst_tr)

Could I keep adding other functions developments to this branch?

Thanks for your help!!

Núria

FYI @cdelgado

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: dev-rpss-probs