Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix COSMO coupled mode dummy values usage for restart #178

Merged
merged 1 commit into from
Apr 5, 2023

Conversation

s-poll
Copy link
Member

@s-poll s-poll commented Apr 3, 2023

Currently, dummy values are used for COSMO in coupled mode until the first coupling time step. The dummy values are originally a bandaid for the halo-regions and contain typical values for a night in summer at mid-latitudes. The usage of the dummy values leads to diverging results between a restarted simulation of a coupled simulation with COSMO-CLM(-ParFlow) and an initial simulation. This is unintended, and due to the fix the dummy values will only be written at the initial step (istep==0).

The effect of the fix is biggest for restarted simulation with a large coupling time step between COSMO-CLM as well as simulation at noon and/or surface temperature (tsf >>/<< 287.589 K)

Caution: This code change will change the results of a restarted simulation. The restarted simulation will not be binary identical compared to an initial simulation, as one would need to read in the oasis fields of the initial run at restart time.

@s-poll s-poll added bug Something isn't working CLM Issues regarding CLM component or its coupling COSMO Issues relating to COSMO component or its coupling labels Apr 3, 2023
@chartick
Copy link
Contributor

chartick commented Apr 5, 2023

The change is a clear improvement of the current behavior. I will merge the pull request

@chartick chartick merged commit 6218a22 into release_candidate Apr 5, 2023
@s-poll s-poll deleted the restart_fix1 branch April 6, 2023 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CLM Issues regarding CLM component or its coupling COSMO Issues relating to COSMO component or its coupling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants