Skip to content
Snippets Groups Projects
Commit ccc652c7 authored by Andreas Gattringer's avatar Andreas Gattringer
Browse files

fix interpolation in last year

parent f650a890
Branches main
No related tags found
No related merge requests found
...@@ -141,12 +141,12 @@ load_environment_if_needed(struct cats_configuration *conf, struct cats_environm ...@@ -141,12 +141,12 @@ load_environment_if_needed(struct cats_configuration *conf, struct cats_environm
int end = start + environment->interpolation_interval; int end = start + environment->interpolation_interval;
if (time != conf->time.year_start + conf->time.simulation_length) {
log_message(LOG_INFO, log_message(LOG_INFO,
"%s: loading interpolated %s %s for year %d (interpolated between %d and %d)", "%s: loading interpolated %s %s for year %d (interpolated between %d and %d)",
short_name, name, environment->pattern, time, start, end); short_name, name, environment->pattern, time, start, end);
load_environment_interpolated(conf, environment, start, end, time); load_environment_interpolated(conf, environment, start, end, time);
}
} }
} }
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment