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.