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

Array shape mismatches between SW diagnostics and ice coverage array. #17

Closed
nichannah opened this issue Apr 30, 2015 · 0 comments
Closed

Comments

@nichannah
Copy link
Contributor

@Hallberg-NOAA can confirm that at ice_model.F90:1381

if (IST%id_sw_abs_sfc>0) call post_avg(IST%id_sw_abs_sfc, IST%sw_abs_sfc, &
IST%part_size, IST%diag, G=G, mask=G%Lmask2dT)

Should be:

if (IST%id_sw_abs_sfc>0) call post_avg(IST%id_sw_abs_sfc, IST%sw_abs_sfc, &
IST%part_size(:,:,1:), IST%diag, G=G, mask=G%Lmask2dT)

Since index k=0 of part_size is for open ocean.
The past_avg() call triggered a error due to the array shape difference.

I'm planning to fix this as part of mom-ocean/MOM6#147

@adcroft adcroft closed this as completed in 4d80387 May 4, 2015
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

1 participant