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

Deprecated code features #439

Closed
eclare108213 opened this issue May 12, 2020 · 11 comments
Closed

Deprecated code features #439

eclare108213 opened this issue May 12, 2020 · 11 comments

Comments

@eclare108213
Copy link
Contributor

There are some code features that we probably should not continue to maintain, since other, better options are available: wiki under construction

Note that 3 of the 4 features currently listed are in Icepack, but would also need to be removed from CICE.

This issue is to invite discussion and decide on a time line. The plan would be to send an email to the cice-users mailing list as a heads-up well before the features are removed from the code, to give users a chance to argue for keeping the options, if they need them. We could remove the namelist options and documentation first, then remove the rest of the code some months later, in case someone doesn't see the warning email and a change breaks their code - it would be easier for them (and us) to add it back in.

@eclare108213
Copy link
Contributor Author

eclare108213 commented May 12, 2020

In general, I would not use "less sophisticated" as a reason for deprecating code, although this is in essence the critical point.

For CESM melt ponds, I might argue that the parameterization is largely based on empirical relationships (from SHEBA) which might not continue to hold in the future, while the other options have more physically based parameterizations and less empirical modeling.

The delta function ITD is less accurate.

The old ridging choices can lead to instabilities, a problem that the new options fixed.

@eclare108213
Copy link
Contributor Author

Another good reason to deprecate upwind advection is that tracers aren't implemented to use it. See #267.

@eclare108213
Copy link
Contributor Author

Let's add the old COREII and gx3 bulk forcing to the list of things being deprecated, along with a timeline for each deprecated item.

@eclare108213
Copy link
Contributor Author

I updated the information on the wiki and added potential dates for removing code. Comments welcome.

@eclare108213
Copy link
Contributor Author

unfortunately the table is too wide and doesn't all show up...

@eclare108213
Copy link
Contributor Author

I have made the wiki table a little narrower and cleaned up the text. If no one points out problems with this approach, we will begin implementing it after the next release (likely early next week). I'm not sure when the documentation should be changed, when the namelist entry is removed from the code or when the full functionality is removed. For consistency, it's probably best to update the docs at each step.

  • Create a link to the deprecated code wiki page from the resources page
  • Start a thread on the forum for deprecated code discussion
  • Send email to cice-users noting the recent release and future deprecation plans, and invite them to the discussion on the forum
  • Create an issue for each piece of code to be deprecated with the following:
  • wait until dates in table have passed to make any changes
  • remove namelist entry from the code but leave the functionality in place (also in doc?)
  • later, remove entire functionality from code and documentation

@eclare108213
Copy link
Contributor Author

We discussed this during the June team meeting, and I extended the deadlines in the table. I will announce this to cice-users to solicit feedback. We don't have to do this at all, or we could do it on a longer time scale.

@eclare108213
Copy link
Contributor Author

@apcraig @duvivier
Where do you suggest we link the deprecated code wiki page from existing documentation?
https://github.com/CICE-Consortium/CICE/wiki/Deprecated-Code-Features

@duvivier
Copy link
Contributor

duvivier commented Jul 3, 2020

@eclare108213 I don't think we want it to be in the main sidebar because it might be confusing. I guess I would suggest in the "CICE Model" section of the Resource Index. Either right above or right below the "CICE Version 5 and Prior" bullet. @apcraig Do you agree?

@eclare108213
Copy link
Contributor Author

The first attempt is here: #508

@apcraig
Copy link
Contributor

apcraig commented Dec 8, 2022

I think we can close this? We seem to have a process in place that we've used several times and will continue to deprecate code using that process as we move forward.

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

No branches or pull requests

3 participants