-
Notifications
You must be signed in to change notification settings - Fork 237
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
Clean input tap #746
Clean input tap #746
Conversation
not tested, will not be maintained, better to remove them
instead of having a local copy in "input_tap", adjust "prepare_run" to use version from "input_ad". This facilitates maintenance of many parameter files, also make it obvious which file (if any) is different.
- content of code_ad_singlelayer/ & input_ad_singlelayer/ have not been maintained (not tested) and are lagging behind. This makes more tricky to maintain the remaining experiments and set-ups.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Always good to remove duplcates. Note that I did not run this, because somehow my recipe to use Tapenade on my MacBook does not work anymore (incomplete notes?), and it takes me really long to figure out how to do this.
I noted a few points to consider:
OpenAD/code_tap/grdchk_readparms.F
is a copy ofpkg/grdchk/grdchk_readparms.F
and could be removed.- These files are removed, but is it not clear to me why in this PR. Accidental? Something to check:
global_with_exf/input_ad/eedata.mth
,isomip/input_oad/eedata.mth
,tutorial_global_oce_biogeo/input_oad/eedata.mth
- Probably not related to this PR, but to be considered:
halfpipe_streamice/code_tap/ctrl_map_gentim2d.F
andhalfpipe_streamice/code_tap/ctrl_map_gentim2d.F
are copies ofcode_oad
, but they have been put there because OpenAD could not handle the default code. I think Tapenade can and the experiments could be modeled after taf-versions, requiring fewer customised files.
The following are just notes, where some files could be simplified, but this really does not have anything to do with this PR:
- remove to commented lines to make it more similar to pkg/cost/cost_test.F (from 3 to 1 difference):
isomip/code_[ad,oad,tap]/cost_test.F
- make more similar to
pkg/cost/cost_tracer.F
(addifdef ALLOW_PTRACERS
, remove unused variablesthetaRef
,ig
,jg
, blank lines, to get down to 2 differences from 8):
tutorial_global_oce_biogeo/code_[ad,oad,tap]/cost_tracer.F
@mjlosch Thanks for all these good comments. In order: |
was identical to reference version from pkg/grdchk
LGTM |
I think this PR is ready to be merged and, if no one wants to add things here, will merge it relatively soon, like tomorrow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @jm-c, sorry for the delayed reply. I think these changes look good!
Best,
Shreyas
@Shreyas911 No problem here, and thanks for the feedback. |
Going to merge this PR (very) soon |
What changes does this PR introduce?
input_tap
and adjustprepare_run
to use instead version frominput_ad
.OpenAD
(ad_singlelayer) and inlab_sea
(code_tap.[adx.]noecco/).What is the current behaviour?
What is the new behaviour
*/input_tap
have been removed ; untested additional files also.Does this PR introduce a breaking change?
no
Other information:
Suggested addition to
tag-index
o verification:
input_tap/
dir.