-
Notifications
You must be signed in to change notification settings - Fork 52
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
Transient tracers bugfixed #659
base: main
Are you sure you want to change the base?
Conversation
…changes wrt transient tracers.
…icit tracer names, e.g., 'cfc11'.
… Include CFC-11. Change from hard-wired I/O unit numbers with variable I/O unit values.
…'bc_surface', remove the now obsolete function 'transit_bc_surface' and its interface module.
There seems to be a problem with this branch right now. The tests fail with:
|
I removed L 560 which is obsolete now. Let me know if there is still a problem. |
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.
Checks are all passing now. But there seem to be a few changes that look like they undo recent fixes unrelated to tracers. Some changes / undoing some of these will be needed.
src/gen_modules_clock.F90
Outdated
@@ -2,8 +2,6 @@ module g_clock | |||
!combining RT and Lars version | |||
! | |||
use g_config | |||
use iso_fortran_env, only: error_unit | |||
use mpi |
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.
Is this and other changes to gen_modules_clock intended?
end if | ||
CASE ('h_ice ') |
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.
Is the removal of h_ice and h_snow intended?
src/io_meandata.F90
Outdated
@@ -385,7 +377,7 @@ subroutine ini_mean_io(ice, dynamics, tracers, partit, mesh) | |||
!_______________________________________________________________________________ | |||
! output surface forcing | |||
CASE ('fh ') | |||
call def_stream(nod2D, myDim_nod2D, 'fh', 'heat flux', 'W/m2', heat_flux_in(:), io_list(i)%freq, io_list(i)%unit, io_list(i)%precision, partit, mesh) |
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.
I seem to recall this was a recent fix, that seems to be made undone here. Probably a mistake.
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.
Strange ... I did not touch gen_modules_clock.F90 and io_meandata.F90 at these lines.
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.
It it probably because you based you changes upon an older version of fesom. I'd suggest you rebase your changes onto the latest main
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.
When I run
esm_master install-awiesm-2.6
esm_master install-fesom-2.6
esm_master install-fesom-2.6-paleodyn
I always obtain io_meandata.F90 without these lines.
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.
That's because we download FESOM 2.6.1 right now via esm_tools. But here we are merging in the main branch. These lines have been additions to the main branch in the last few weeks. The strange thing for me, is that git removes them again in this PR, because you don't touch the same lines in your branch.
We can have a look together after the holidays to sort this out.
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.
What is the status of this PR? Can I help with anything?
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.
Something went wrong with branching off from the tag and merging back into main. For some reason doing so would remove the changes on main.
I suggest reimplementing in a branch off from main, and merging back into main.
I tried to add the changes made to fix the transient tracers, based on the latest main version. @mbutzin could you have a look and try whether everything works for you https://github.com/FESOM/fesom2/tree/fix/tracers_in_main I also created a PR #662 UPDATE: |
This branch includes bugfixes, missing and improved code and updated namelists to run FESOM-2.6 with transient tracers (14C, 39Ar, CFC-11, CFC-12, SF6).
Note that without / prior to these changes the model could be compiled without errors but the simulation would fail at runtime.