Skip to content

Commit a5d1d7c

Browse files
authored
Merge pull request #695 from FESOM/fix_ldiag_destine_for_esm_tools
capitalization messes up f90nml reader in esm_tools.
2 parents 75946fd + 25ecfb7 commit a5d1d7c

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

config/namelist.io

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ldiag_dMOC =.false.
99
ldiag_DVD =.false.
1010
ldiag_forc =.false.
1111
ldiag_extflds =.false.
12-
ldiag_destinE =.false. ! enables computation of heatcontent. (hc300m, hc700m, hc) in io_list
12+
ldiag_destine =.false. ! enables computation of heatcontent. (hc300m, hc700m, hc) in io_list
1313
ldiag_trflx =.false.
1414
ldiag_uvw_sqr =.false.
1515
ldiag_trgrd_xyz =.false.
@@ -58,4 +58,4 @@ io_list = 'sst ',1, 'm', 4,
5858
'fw ',1, 'm', 4,
5959
'fh ',1, 'm', 4,
6060
'otracers ',1, 'y', 4,
61-
/
61+
/

src/gen_modules_diag.F90

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module diagnostics
2222
public :: ldiag_solver, lcurt_stress_surf, ldiag_Ri, ldiag_TurbFlux, ldiag_dMOC, &
2323
ldiag_forc, ldiag_salt3D, ldiag_curl_vel3, diag_list, ldiag_extflds, ldiag_ice, &
2424
compute_diagnostics, rhs_diag, curl_stress_surf, curl_vel3, shear, Ri, KvdTdZ, KvdSdZ, &
25-
std_dens_min, std_dens_max, std_dens_N, std_dens, ldiag_trflx, ldiag_destinE, &
25+
std_dens_min, std_dens_max, std_dens_N, std_dens, ldiag_trflx, ldiag_destine, &
2626
std_dens_UVDZ, std_dens_DIV, std_dens_DIV_fer, std_dens_Z, std_dens_H, std_dens_dVdT, std_dens_flux, &
2727
dens_flux_e, zisotherm, tempzavg, saltzavg, heatcontent, vol_ice, vol_snow, compute_ice_diag, thetao, &
2828
tuv, suv, &
@@ -98,15 +98,15 @@ module diagnostics
9898
logical :: ldiag_forc =.false.
9999

100100
logical :: ldiag_extflds =.false.
101-
logical :: ldiag_destinE =.false.
101+
logical :: ldiag_destine =.false.
102102
logical :: ldiag_ice =.false.
103103
logical :: ldiag_trflx =.false.
104104
logical :: ldiag_uvw_sqr =.false.
105105
logical :: ldiag_trgrd_xyz =.false.
106106

107107
namelist /diag_list/ ldiag_solver, lcurt_stress_surf, ldiag_curl_vel3, ldiag_Ri, &
108108
ldiag_TurbFlux, ldiag_dMOC, ldiag_DVD, ldiag_salt3D, ldiag_forc, &
109-
ldiag_extflds, ldiag_destinE, ldiag_trflx, ldiag_ice, ldiag_uvw_sqr, ldiag_trgrd_xyz
109+
ldiag_extflds, ldiag_destine, ldiag_trflx, ldiag_ice, ldiag_uvw_sqr, ldiag_trgrd_xyz
110110

111111
contains
112112

@@ -1127,7 +1127,7 @@ subroutine compute_diagnostics(mode, dynamics, tracers, ice, partit, mesh)
11271127
! 13. compute fields required for for destinE
11281128
if (ldiag_ice) call compute_ice_diag(mode, ice, partit, mesh)
11291129

1130-
if (ldiag_destinE) call compute_destinE(mode, dynamics, tracers, partit, mesh)
1130+
if (ldiag_destine) call compute_destinE(mode, dynamics, tracers, partit, mesh)
11311131

11321132
call compute_thetao(mode, tracers, partit, mesh)
11331133

src/io_meandata.F90

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -366,15 +366,15 @@ subroutine ini_mean_io(ice, dynamics, tracers, partit, mesh)
366366
!_______________________________________________________________________________
367367
! output heat content (for destine)
368368
CASE ('hc300m')
369-
if (ldiag_destinE) then
369+
if (ldiag_destine) then
370370
call def_stream(nod2D, myDim_nod2D, 'hc300m', 'Vertically integrated heat content upper 300m', 'J m**-2', heatcontent(1:myDim_nod2D,1), io_list(i)%freq, io_list(i)%unit, io_list(i)%precision, partit, mesh)
371371
end if
372372
CASE ('hc700m')
373-
if (ldiag_destinE) then
373+
if (ldiag_destine) then
374374
call def_stream(nod2D, myDim_nod2D, 'hc700m', 'Vertically integrated heat content upper 700m', 'J m**-2', heatcontent(1:myDim_nod2D,2), io_list(i)%freq, io_list(i)%unit, io_list(i)%precision, partit, mesh)
375375
end if
376376
CASE ('hc')
377-
if (ldiag_destinE) then
377+
if (ldiag_destine) then
378378
call def_stream(nod2D, myDim_nod2D, 'hc', 'Vertically integrated heat content total column', 'J m**-2', heatcontent(1:myDim_nod2D,3), io_list(i)%freq, io_list(i)%unit, io_list(i)%precision, partit, mesh)
379379
end if
380380
!_______________________________________________________________________________

0 commit comments

Comments
 (0)