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

clm lake and rrfs sd fields are not initialized before write grid component initialization #690

Closed
SamuelTrahanNOAA opened this issue Aug 24, 2023 · 0 comments · Fixed by #692
Labels
bug Something isn't working

Comments

@SamuelTrahanNOAA
Copy link
Contributor

Description

Subroutines in fv3atm_restart_io.F90 that allocate arrays for clm lake and rrfs sd quilting restart do not initialize them before ESMF calls.

To Reproduce:

N/A - just look at the code in fv3atm_restart_register and sfc_prop_restart_read

Additional context

This is the case with the non-quilt restart as well. However, FMS does not read the write buffers until you tell it to write data. ESMF reads the write buffers before there is any reason to read them. Thus, to avoid a failure in debug mode, those arrays must be initialized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant