Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • SUNSET SUNSET
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 42
    • Issues 42
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • 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
  • SUNSETSUNSET
  • Issues
  • #79
Closed
Open
Issue created Jul 12, 2023 by Nuria Pérez-Zanón@nperezMaintainer

Wrong breaks for precipitation with PlotRobinson

Hi @vagudets

I got the error:

Error in cut.default(dat, breaks = brks_ggplot, include.lowest = T) : 
  'breaks' are not unique

When using lambert projection to visualise metrics.

I found that the stored breaks in the object brks_ggplot differ from the brks to plot the legend:

brks_ggplot
 [1] -1.96355 -1.00000 -0.80000 -0.60000 -0.40000 -0.20000  0.00000  0.20000
 [9]  0.40000  0.60000  0.80000  1.00000  1.00000
brks
 [1] -1.0 -0.8 -0.6 -0.4 -0.2  0.0  0.2  0.4  0.6  0.8  1.0

So, I understand the problem comes from brks_ggplot because 1 is repeated.

I am unsure if it is a problem in SUNSET or PlotRobinson.

Could you please help me?

The recipe is /esarchive/scratch/nperez/git/auto-s2s/recipe_prlr_seasonal_oper.yml and the code /esarchive/scratch/nperez/git/auto-s2s/exec_ecvs_seasonal_oper.R

Notice that using the start date 0601 instead of 0701 the problem doesn't occur.

Thanks in advance,

Núria

FYI @aho

Assignee
Assign to
Time tracking