diff --git a/src/cats/environment/load_environment.c b/src/cats/environment/load_environment.c index 49da1ba793c529f604e6dca2d5359d18f1de20b7..3fa2f6ef0e4a89c350a551e9c4ac56595ce8160a 100644 --- a/src/cats/environment/load_environment.c +++ b/src/cats/environment/load_environment.c @@ -141,12 +141,12 @@ load_environment_if_needed(struct cats_configuration *conf, struct cats_environm int end = start + environment->interpolation_interval; - if (time != conf->time.year_start + conf->time.simulation_length) { - log_message(LOG_INFO, - "%s: loading interpolated %s %s for year %d (interpolated between %d and %d)", - short_name, name, environment->pattern, time, start, end); - load_environment_interpolated(conf, environment, start, end, time); - } + + log_message(LOG_INFO, + "%s: loading interpolated %s %s for year %d (interpolated between %d and %d)", + short_name, name, environment->pattern, time, start, end); + load_environment_interpolated(conf, environment, start, end, time); + } }