Skip to content

Commit

Permalink
adding option for potential density (sigma0) output. Not turned on by…
Browse files Browse the repository at this point in the history
… default -> use namelist.io
  • Loading branch information
JanStreffing committed Aug 7, 2023
1 parent cdd9a2b commit 1b4b709
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/io_meandata.F90
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,8 @@ subroutine ini_mean_io(ice, dynamics, tracers, partit, mesh)
call def_stream((/nl-1, nod2D/), (/nl-1, myDim_nod2D/), 'temp', 'temperature', 'C', tracers%data(1)%values(:,:), io_list(i)%freq, io_list(i)%unit, io_list(i)%precision, partit, mesh)
CASE ('salt ')
call def_stream((/nl-1, nod2D/), (/nl-1, myDim_nod2D/), 'salt', 'salinity', 'psu', tracers%data(2)%values(:,:), io_list(i)%freq, io_list(i)%unit, io_list(i)%precision, partit, mesh)
CASE ('sigma0 ')
call def_stream((/nl-1, nod2D/), (/nl-1, myDim_nod2D/), 'sigma0', 'potential density', 'kg/m3', density_m_rho0(:,:), io_list(i)%freq, io_list(i)%unit, io_list(i)%precision, partit, mesh)
CASE ('otracers ')
do j=3, tracers%num_tracers
write (id_string, "(I3.3)") tracers%data(j)%ID
Expand Down

0 comments on commit 1b4b709

Please sign in to comment.