Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
23 changes: 5 additions & 18 deletions ice_ocean_SIS2/Baltic_ALE_z_offline_tracers/MOM_override_offline
Original file line number Diff line number Diff line change
@@ -1,33 +1,20 @@
! Blank file in which we can put "overrides" for parameters
NK = 50
#override USE_REGRIDDING = True
#override BULKMIXEDLAYER = False
#override COORD_FILE = "Layer_coord50.nc"
#override DIABATIC_FIRST = False
#override PEN_SW_NBANDS = 0
#override REGRID_TIME_SCALE = 0.0

USE_STORED_SLOPES = True
USE_NEUTRAL_DIFFUSION = True
SIMPLE_TKE_TO_KD = True
REGRIDDING_COORDINATE_MODE = "Z*"
ALE_COORDINATE_CONFIG = "FILE:vgrid.nc,dz"
HMIX_FIXED = 0.5
CFL_TRUNCATE_RAMP_TIME = 7200.
Z_INIT_ALE_REMAPPING = True
ENERGETICS_SFC_PBL = True

USE_ADVECTION_TEST_TRACER = True
ADVECTION_TEST_X_ORIGIN = 19.5
ADVECTION_TEST_Y_ORIGIN = 60.5
ADVECTION_TEST_X_WIDTH = 1.0
ADVECTION_TEST_Y_WIDTH = 1.0

! Related to offline tracer transport
OFFLINE_TRACER_MODE = True
OFFLINEDIR = "ONLINE/"
OFF_SUM_FILE = "00010101.off_sum_1day.nc"
OFF_SNAP_FILE = "00010101.off_snap_1day.nc"
OFF_SURF_FILE = "00010101.off_sum_1day.nc"
OFF_MEAN_FILE = "00010101.off_avg_1day.nc"
START_INDEX = 1
DT_OFFLINE = 86400
DT_OFFLINE = 86400.0
DT_OFFLINE_VERTICAL = 86400.0
NUM_OFF_ITER = 30
NUMTIME = 5
10 changes: 1 addition & 9 deletions ice_ocean_SIS2/Baltic_ALE_z_offline_tracers/MOM_override_online
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,8 @@ NK = 50
#override COORD_FILE = "Layer_coord50.nc"
#override DIABATIC_FIRST = False
#override REGRID_TIME_SCALE = 0.0
USE_STORED_SLOPES = True
USE_NEUTRAL_DIFFUSION = True
SIMPLE_TKE_TO_KD = True
REGRIDDING_COORDINATE_MODE = "Z*"
ALE_COORDINATE_CONFIG = "FILE:vgrid.nc,dz"
HMIX_FIXED = 0.5
CFL_TRUNCATE_RAMP_TIME = 7200.
Z_INIT_ALE_REMAPPING = True
ENERGETICS_SFC_PBL = True

ALE_COORDINATE_CONFIG = "FILE:vgrid.nc,dz"

USE_ADVECTION_TEST_TRACER = True
ADVECTION_TEST_X_ORIGIN = 19.5
Expand Down
5 changes: 5 additions & 0 deletions ice_ocean_SIS2/Baltic_ALE_z_offline_tracers/diag_table_online
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ GOLD_SIS

"off_snap_1day", 1, "days", 1, "days", "time"
"off_sum_1day", 1, "days", 1, "days", "time"
"off_avg_1day", 1, "days", 1, "days", "time"

# One day resolution
"ocean_model","ea","ea_sum","off_sum_1day","all",sum,"none",1
Expand All @@ -18,3 +19,7 @@ GOLD_SIS
"ocean_model","h","h_end","off_snap_1day","all",.false.,"none",1
"ocean_model","temp","temp","off_snap_1day","all",.false.,"none",1
"ocean_model","salt","salt","off_snap_1day","all",.false.,"none",1

"ocean_model","salt","salt","off_avg_1day","all",.true.,"none",1
"ocean_model","temp","temp","off_avg_1day","all",.true.,"none",1
"ocean_model","Kd_interface","Kd_interface","off_avg_1day","all",.true.,"none",1
3 changes: 1 addition & 2 deletions ice_ocean_SIS2/Baltic_ALE_z_offline_tracers/run_offline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ cp diag_table_offline diag_table
cp input.offline.nml input.nml
cp MOM_override_offline MOM_override


# Run the forward model
./MOM6_ocean_only
mprun ./MOM6_ocean_only
3 changes: 2 additions & 1 deletion ice_ocean_SIS2/Baltic_ALE_z_offline_tracers/run_online.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ cp input.online.nml input.nml
cp MOM_override_online MOM_override

# Run the forward model
./MOM6_coupled
mprun ./MOM6_coupled

# Make the directory where online fields will be stored and copy diagnostics
mkdir ONLINE
mv *off_snap* ONLINE/
mv *off_sum* ONLINE/
mv *off_avg* ONLINE/