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

SW components reset to zero #132

Closed
dabail10 opened this issue May 4, 2018 · 2 comments
Closed

SW components reset to zero #132

dabail10 opened this issue May 4, 2018 · 2 comments
Assignees

Comments

@dabail10
Copy link
Contributor

dabail10 commented May 4, 2018

I'm working on this, but I wanted to log it. The shortwave components (swvdr, swvdf, swidr, swidf) are set via ice_forcing.F90 in prepare_forcing. This just distributes fsw that is read in. However, init_coupler_flux zeroes out these components again. So, I have a case where the diagnostics are reporting zero incoming shortwave all the time, except just after a restart. I think this might be causing my restart to fail.

Dave

@dabail10 dabail10 self-assigned this May 4, 2018
@eclare108213
Copy link
Contributor

eclare108213 commented May 4, 2018 via email

@dabail10
Copy link
Contributor Author

dabail10 commented May 8, 2018

This is my fault. I added an initialization statement in the subroutine read_data for the intent(out) field_data. I'm thinking this needs to be intent(inout) and only initialized one at the beginning.

Dave

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants