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
  • #154
Closed
Open
Issue created Jun 13, 2022 by acarreri@acarreriDeveloper

Very long script - How to optimise it?

Hi @aho,

I have a script using startR and Compute and it is very long. I tried to investigate which part was taking more time and I'm not totally sure but it seems that it comes from the loading and interpolating step.

The script is here: /esarchive/scratch/Earth/acarreri/scripts/scripts_HR_forecast/scripts_R/2-2.Interpolate_and_compute_forecast_metrics.R, using this configuration file ('config_lonlat_metrics.R'). I created a series of equivalent script to test it with a small amount of data (2-2.Interpolate_and_compute_forecast_metrics_test.R and config_lonlat_metrics_test.R and compute_metrics_deterministic_test.R)

Could you help me optimizing this script? Or can you tell me who can help me?

Thanks in advance.

Edited Jun 13, 2022 by acarreri
Assignee
Assign to
Time tracking