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

Found one remaining #ifdef ncdf not covered by USE_NETCDF #796

Closed
phil-blain opened this issue Nov 28, 2022 · 2 comments · Fixed by #797
Closed

Found one remaining #ifdef ncdf not covered by USE_NETCDF #796

phil-blain opened this issue Nov 28, 2022 · 2 comments · Fixed by #797

Comments

@phil-blain
Copy link
Member

phil-blain commented Nov 28, 2022

I just stumbled upon these lines:

#ifndef ncdf
f_bounds = .false.
#endif

All other uses of ncdf were cleaned up and the macro renamed to USE_NETCDF in #490, but this one was forgotten, I think.

I'm not sure of the implications as I did not look further, apart to find out that it dates back to CICE-Consortium/CICE-svn-trunk@f41374d.

@apcraig

@phil-blain
Copy link
Member Author

Looking at that a bit, I think we should just remove those 3 lines, and let f_bounds acquire its value from the namelist as the rest of the f_* variables.

I'm not sure I understand why it was special-cased...

@apcraig
Copy link
Contributor

apcraig commented Nov 30, 2022

Fixing this week. Thanks @phil-blain

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

Successfully merging a pull request may close this issue.

2 participants