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 43
    • Issues 43
    • 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
  • #131
Closed
Open
Issue created Jul 31, 2024 by Nuria Pérez-Zanón@nperezMaintainer

Subseasonal recipe spliting by variable not working

Hi @vagudets,

I am working with @ptrascas to use the recent sub-seasonal developments and I detected an unexpected behaviour when using the launcher.

The sub-seasonal recipe is split if sdate is set as a year 'YYYY'. This is fine. However, it currently accepts the variables in the format of an atomic recipe. If I change it to the general recipe format (i.e. in a single the launch fails). The split by variable will be very beneficial for a future operational workflow.

On the other hand, when sdate is a date 'YYYYMMDD' that only one job will be run, the launch also fails.

To do these tests, we used the examples from the repo (recipes/examples/recipe_subseasonal.yml and example_scripts/subseasonal_load.R).

The errors were related to divide_recipe:

INFO  [2024-07-31 16:03:35] ##### RECIPE CHECK SUCCESSFULL #####
INFO  [2024-07-31 16:03:35] Splitting recipe in single verifications.
Error in prettyNum(.Internal(format(x, trim, digits, nsmall, width, 3L,  : 
  invalid 'trim' argument
Calls: divide_recipe -> format -> format.default -> prettyNum

We can keep working for now with the current version.

Cheers,

Núria

Assignee
Assign to
Time tracking