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

add med_enthaply_mod #404

Draft
wants to merge 38 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
1943c2e
add med_enthaply_mod
jedwards4b Aug 29, 2023
f7f7a1e
clean up
jedwards4b Aug 30, 2023
9a3ddbd
fix nmax value
jedwards4b Aug 30, 2023
c55d808
set default to false
jedwards4b Aug 30, 2023
39e6b18
now functional for F case
jedwards4b Aug 30, 2023
08ddedc
print global enthalpy correction to med log
jedwards4b Aug 30, 2023
23f23bf
add deallocate for local variables, add tbot in hrain and hsnow calcu…
jedwards4b Aug 30, 2023
bffee2d
fix github tests
jedwards4b Aug 31, 2023
27433f1
remove unintended changes in nems
jedwards4b Aug 31, 2023
4581897
include ofrac in calculations
jedwards4b Aug 31, 2023
77d745e
get tbot from atm export to ocn
jedwards4b Aug 31, 2023
66e454a
fix github test
jedwards4b Aug 31, 2023
d6dc143
update github tests, remove irrelavent comment
jedwards4b Aug 31, 2023
fac966a
add Thomas Toniazzo changes
jedwards4b Sep 14, 2023
d6fefa0
correct hcorr calculation
jedwards4b Sep 15, 2023
ca31ef1
Merge pull request #2 from jedwards4b/enthalpy_corrections+tht
jedwards4b Sep 15, 2023
de2b74b
remove irrelavent changes
jedwards4b Sep 15, 2023
f3db775
add new fields to exchange.
jedwards4b Sep 15, 2023
ac39a23
allocate vars
jedwards4b Sep 20, 2023
41b3cb5
fix source of fields
jedwards4b Sep 20, 2023
f4696f1
fix formatting
jedwards4b Sep 20, 2023
58c6bb6
properly retreve atm fields
jedwards4b Sep 22, 2023
ac2ed86
corrections to ofrac and atm enthalpy terms
jedwards4b Sep 22, 2023
adc6bbd
correct transfer of enthalpy fields
jedwards4b Sep 25, 2023
f7e4572
add atm enthalpy to diagnostics table
jedwards4b Oct 5, 2023
bce11df
map from atm to ocn
jedwards4b Oct 5, 2023
00a5b77
correction to enthalpy calculation, bug fix in abort code
jedwards4b Oct 9, 2023
ce8375a
revert change to hcorr
jedwards4b Oct 10, 2023
7e9b00b
merge to 14.43
jedwards4b Dec 22, 2023
c604c33
merge to main 022824
jedwards4b Feb 28, 2024
b63b37d
merge up to cmeps0.14.60
jedwards4b Jun 4, 2024
ea87294
merge to latest main
jedwards4b Jul 31, 2024
65e933c
Merge branch 'main' into enthalpy_corrections
jedwards4b Jul 31, 2024
2dc4f21
fix error in extbuild github workflow
jedwards4b Jul 31, 2024
a65d1d0
set xgrid to default
jedwards4b Aug 7, 2024
b978ffd
Merge branch 'cmeps1.0.6_xgrid_update'
jedwards4b Aug 8, 2024
3e1683b
merge to cmeps main
jedwards4b Aug 20, 2024
1f09a5d
fix issues
jedwards4b Sep 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
print global enthalpy correction to med log
jedwards4b committed Aug 30, 2023
commit 08ddedc008a1a578d8be38c672108a06a97464e5
3 changes: 2 additions & 1 deletion mediator/med_enthalpy_mod.F90
Original file line number Diff line number Diff line change
@@ -7,6 +7,7 @@ module med_enthalpy_mod
use med_methods_mod , only : FB_fldchk => med_methods_FB_FldChk
use med_methods_mod , only : FB_GetFldPtr => med_methods_FB_GetFldPtr
use med_internalstate_mod, only : compocn, compatm, comprof, InternalState
use med_internalstate_mod , only : logunit, maintask
use perf_mod, only : t_startf, t_stopf


@@ -164,7 +165,7 @@ subroutine med_compute_enthalpy(is_local, rc)
call ESMF_VMAllreduce(is_local%wrap%vm, senddata=local_htot_corr, recvdata=global_htot_corr, count=1, &
reduceflag=ESMF_REDUCE_SUM, rc=rc)
if (ChkErr(rc,__LINE__,u_FILE_u)) return

if (maintask) write(logunit, '(a,a,f21.13)') trim(subname),' global enthalpy correction: ',global_htot_corr(1)
deallocate(hcorr)
endif
call t_stopf(subname)