Skip to content

Commit

Permalink
MOM6: (*)+Modified MOM_restart to fix rotated restarts
Browse files Browse the repository at this point in the history
- NOAA-GFDL/MOM6@463424c87 (*)+Modified MOM_restart to fix rotated restarts
- NOAA-GFDL/MOM6@b41f0a4e6 +Add turns argument to MOM_read_data
- NOAA-GFDL/MOM6@9aaf5e1be +Add zero_zeros optional arg to MOM_write_field
  • Loading branch information
mom6bot committed Feb 13, 2025
1 parent 80e33f3 commit 8bdb54f
Show file tree
Hide file tree
Showing 62 changed files with 428 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,13 @@ RESTART_CHECKSUMS_REQUIRED = True ! [Boolean] default = True
! may want to avoid this comparison if for example the restarts are made from a
! run with a different mask_table than the current run, in which case the
! checksums will not match and cause crash.
RESTART_SYMMETRIC_CHECKSUMS = False ! [Boolean] default = False
! If true, do the restart checksums on all the edge points for a non-reentrant
! grid. This requires that SYMMETRIC_MEMORY_ is defined at compile time.
RESTART_UNSIGNED_ZEROS = False ! [Boolean] default = False
! If true, convert any negative zeros that would be written to the restart file
! into ordinary unsigned zeros. This does not change answers, but it can be
! helpful in comparing restart files after grid rotation, for example.
USE_FILTER = False ! [Boolean] default = False
! If true, use streaming band-pass filters to detect the instantaneous tidal
! signals in the simulation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,13 @@ RESTART_CHECKSUMS_REQUIRED = True ! [Boolean] default = True
! may want to avoid this comparison if for example the restarts are made from a
! run with a different mask_table than the current run, in which case the
! checksums will not match and cause crash.
RESTART_SYMMETRIC_CHECKSUMS = False ! [Boolean] default = False
! If true, do the restart checksums on all the edge points for a non-reentrant
! grid. This requires that SYMMETRIC_MEMORY_ is defined at compile time.
RESTART_UNSIGNED_ZEROS = False ! [Boolean] default = False
! If true, convert any negative zeros that would be written to the restart file
! into ordinary unsigned zeros. This does not change answers, but it can be
! helpful in comparing restart files after grid rotation, for example.
USE_FILTER = False ! [Boolean] default = False
! If true, use streaming band-pass filters to detect the instantaneous tidal
! signals in the simulation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,13 @@ RESTART_CHECKSUMS_REQUIRED = True ! [Boolean] default = True
! may want to avoid this comparison if for example the restarts are made from a
! run with a different mask_table than the current run, in which case the
! checksums will not match and cause crash.
RESTART_SYMMETRIC_CHECKSUMS = False ! [Boolean] default = False
! If true, do the restart checksums on all the edge points for a non-reentrant
! grid. This requires that SYMMETRIC_MEMORY_ is defined at compile time.
RESTART_UNSIGNED_ZEROS = False ! [Boolean] default = False
! If true, convert any negative zeros that would be written to the restart file
! into ordinary unsigned zeros. This does not change answers, but it can be
! helpful in comparing restart files after grid rotation, for example.
USE_FILTER = False ! [Boolean] default = False
! If true, use streaming band-pass filters to detect the instantaneous tidal
! signals in the simulation.
Expand Down
7 changes: 7 additions & 0 deletions ice_ocean_SIS2/Baltic/MOM_parameter_doc.all
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,13 @@ RESTART_CHECKSUMS_REQUIRED = True ! [Boolean] default = True
! may want to avoid this comparison if for example the restarts are made from a
! run with a different mask_table than the current run, in which case the
! checksums will not match and cause crash.
RESTART_SYMMETRIC_CHECKSUMS = False ! [Boolean] default = False
! If true, do the restart checksums on all the edge points for a non-reentrant
! grid. This requires that SYMMETRIC_MEMORY_ is defined at compile time.
RESTART_UNSIGNED_ZEROS = False ! [Boolean] default = False
! If true, convert any negative zeros that would be written to the restart file
! into ordinary unsigned zeros. This does not change answers, but it can be
! helpful in comparing restart files after grid rotation, for example.
USE_FILTER = False ! [Boolean] default = False
! If true, use streaming band-pass filters to detect the instantaneous tidal
! signals in the simulation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,13 @@ RESTART_CHECKSUMS_REQUIRED = True ! [Boolean] default = True
! may want to avoid this comparison if for example the restarts are made from a
! run with a different mask_table than the current run, in which case the
! checksums will not match and cause crash.
RESTART_SYMMETRIC_CHECKSUMS = False ! [Boolean] default = False
! If true, do the restart checksums on all the edge points for a non-reentrant
! grid. This requires that SYMMETRIC_MEMORY_ is defined at compile time.
RESTART_UNSIGNED_ZEROS = False ! [Boolean] default = False
! If true, convert any negative zeros that would be written to the restart file
! into ordinary unsigned zeros. This does not change answers, but it can be
! helpful in comparing restart files after grid rotation, for example.
USE_FILTER = False ! [Boolean] default = False
! If true, use streaming band-pass filters to detect the instantaneous tidal
! signals in the simulation.
Expand Down
7 changes: 7 additions & 0 deletions ice_ocean_SIS2/Baltic_OM4_025/MOM_parameter_doc.all
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,13 @@ RESTART_CHECKSUMS_REQUIRED = True ! [Boolean] default = True
! may want to avoid this comparison if for example the restarts are made from a
! run with a different mask_table than the current run, in which case the
! checksums will not match and cause crash.
RESTART_SYMMETRIC_CHECKSUMS = False ! [Boolean] default = False
! If true, do the restart checksums on all the edge points for a non-reentrant
! grid. This requires that SYMMETRIC_MEMORY_ is defined at compile time.
RESTART_UNSIGNED_ZEROS = False ! [Boolean] default = False
! If true, convert any negative zeros that would be written to the restart file
! into ordinary unsigned zeros. This does not change answers, but it can be
! helpful in comparing restart files after grid rotation, for example.
USE_FILTER = False ! [Boolean] default = False
! If true, use streaming band-pass filters to detect the instantaneous tidal
! signals in the simulation.
Expand Down
7 changes: 7 additions & 0 deletions ice_ocean_SIS2/Baltic_OM4_05/MOM_parameter_doc.all
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,13 @@ RESTART_CHECKSUMS_REQUIRED = True ! [Boolean] default = True
! may want to avoid this comparison if for example the restarts are made from a
! run with a different mask_table than the current run, in which case the
! checksums will not match and cause crash.
RESTART_SYMMETRIC_CHECKSUMS = False ! [Boolean] default = False
! If true, do the restart checksums on all the edge points for a non-reentrant
! grid. This requires that SYMMETRIC_MEMORY_ is defined at compile time.
RESTART_UNSIGNED_ZEROS = False ! [Boolean] default = False
! If true, convert any negative zeros that would be written to the restart file
! into ordinary unsigned zeros. This does not change answers, but it can be
! helpful in comparing restart files after grid rotation, for example.
USE_FILTER = False ! [Boolean] default = False
! If true, use streaming band-pass filters to detect the instantaneous tidal
! signals in the simulation.
Expand Down
7 changes: 7 additions & 0 deletions ice_ocean_SIS2/OM4_025/MOM_parameter_doc.all
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,13 @@ RESTART_CHECKSUMS_REQUIRED = True ! [Boolean] default = True
! may want to avoid this comparison if for example the restarts are made from a
! run with a different mask_table than the current run, in which case the
! checksums will not match and cause crash.
RESTART_SYMMETRIC_CHECKSUMS = False ! [Boolean] default = False
! If true, do the restart checksums on all the edge points for a non-reentrant
! grid. This requires that SYMMETRIC_MEMORY_ is defined at compile time.
RESTART_UNSIGNED_ZEROS = False ! [Boolean] default = False
! If true, convert any negative zeros that would be written to the restart file
! into ordinary unsigned zeros. This does not change answers, but it can be
! helpful in comparing restart files after grid rotation, for example.
USE_FILTER = False ! [Boolean] default = False
! If true, use streaming band-pass filters to detect the instantaneous tidal
! signals in the simulation.
Expand Down
7 changes: 7 additions & 0 deletions ice_ocean_SIS2/OM4_05/MOM_parameter_doc.all
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,13 @@ RESTART_CHECKSUMS_REQUIRED = True ! [Boolean] default = True
! may want to avoid this comparison if for example the restarts are made from a
! run with a different mask_table than the current run, in which case the
! checksums will not match and cause crash.
RESTART_SYMMETRIC_CHECKSUMS = False ! [Boolean] default = False
! If true, do the restart checksums on all the edge points for a non-reentrant
! grid. This requires that SYMMETRIC_MEMORY_ is defined at compile time.
RESTART_UNSIGNED_ZEROS = False ! [Boolean] default = False
! If true, convert any negative zeros that would be written to the restart file
! into ordinary unsigned zeros. This does not change answers, but it can be
! helpful in comparing restart files after grid rotation, for example.
USE_FILTER = False ! [Boolean] default = False
! If true, use streaming band-pass filters to detect the instantaneous tidal
! signals in the simulation.
Expand Down
7 changes: 7 additions & 0 deletions ice_ocean_SIS2/OM_1deg/MOM_parameter_doc.all
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,13 @@ RESTART_CHECKSUMS_REQUIRED = True ! [Boolean] default = True
! may want to avoid this comparison if for example the restarts are made from a
! run with a different mask_table than the current run, in which case the
! checksums will not match and cause crash.
RESTART_SYMMETRIC_CHECKSUMS = False ! [Boolean] default = False
! If true, do the restart checksums on all the edge points for a non-reentrant
! grid. This requires that SYMMETRIC_MEMORY_ is defined at compile time.
RESTART_UNSIGNED_ZEROS = False ! [Boolean] default = False
! If true, convert any negative zeros that would be written to the restart file
! into ordinary unsigned zeros. This does not change answers, but it can be
! helpful in comparing restart files after grid rotation, for example.
USE_FILTER = False ! [Boolean] default = False
! If true, use streaming band-pass filters to detect the instantaneous tidal
! signals in the simulation.
Expand Down
7 changes: 7 additions & 0 deletions ice_ocean_SIS2/SIS2/MOM_parameter_doc.all
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,13 @@ RESTART_CHECKSUMS_REQUIRED = True ! [Boolean] default = True
! may want to avoid this comparison if for example the restarts are made from a
! run with a different mask_table than the current run, in which case the
! checksums will not match and cause crash.
RESTART_SYMMETRIC_CHECKSUMS = False ! [Boolean] default = False
! If true, do the restart checksums on all the edge points for a non-reentrant
! grid. This requires that SYMMETRIC_MEMORY_ is defined at compile time.
RESTART_UNSIGNED_ZEROS = False ! [Boolean] default = False
! If true, convert any negative zeros that would be written to the restart file
! into ordinary unsigned zeros. This does not change answers, but it can be
! helpful in comparing restart files after grid rotation, for example.
USE_FILTER = False ! [Boolean] default = False
! If true, use streaming band-pass filters to detect the instantaneous tidal
! signals in the simulation.
Expand Down
7 changes: 7 additions & 0 deletions ice_ocean_SIS2/SIS2_bergs_cgrid/MOM_parameter_doc.all
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,13 @@ RESTART_CHECKSUMS_REQUIRED = True ! [Boolean] default = True
! may want to avoid this comparison if for example the restarts are made from a
! run with a different mask_table than the current run, in which case the
! checksums will not match and cause crash.
RESTART_SYMMETRIC_CHECKSUMS = False ! [Boolean] default = False
! If true, do the restart checksums on all the edge points for a non-reentrant
! grid. This requires that SYMMETRIC_MEMORY_ is defined at compile time.
RESTART_UNSIGNED_ZEROS = False ! [Boolean] default = False
! If true, convert any negative zeros that would be written to the restart file
! into ordinary unsigned zeros. This does not change answers, but it can be
! helpful in comparing restart files after grid rotation, for example.
USE_FILTER = False ! [Boolean] default = False
! If true, use streaming band-pass filters to detect the instantaneous tidal
! signals in the simulation.
Expand Down
7 changes: 7 additions & 0 deletions ice_ocean_SIS2/SIS2_cgrid/MOM_parameter_doc.all
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,13 @@ RESTART_CHECKSUMS_REQUIRED = True ! [Boolean] default = True
! may want to avoid this comparison if for example the restarts are made from a
! run with a different mask_table than the current run, in which case the
! checksums will not match and cause crash.
RESTART_SYMMETRIC_CHECKSUMS = False ! [Boolean] default = False
! If true, do the restart checksums on all the edge points for a non-reentrant
! grid. This requires that SYMMETRIC_MEMORY_ is defined at compile time.
RESTART_UNSIGNED_ZEROS = False ! [Boolean] default = False
! If true, convert any negative zeros that would be written to the restart file
! into ordinary unsigned zeros. This does not change answers, but it can be
! helpful in comparing restart files after grid rotation, for example.
USE_FILTER = False ! [Boolean] default = False
! If true, use streaming band-pass filters to detect the instantaneous tidal
! signals in the simulation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,13 @@ RESTART_CHECKSUMS_REQUIRED = True ! [Boolean] default = True
! may want to avoid this comparison if for example the restarts are made from a
! run with a different mask_table than the current run, in which case the
! checksums will not match and cause crash.
RESTART_SYMMETRIC_CHECKSUMS = False ! [Boolean] default = False
! If true, do the restart checksums on all the edge points for a non-reentrant
! grid. This requires that SYMMETRIC_MEMORY_ is defined at compile time.
RESTART_UNSIGNED_ZEROS = False ! [Boolean] default = False
! If true, convert any negative zeros that would be written to the restart file
! into ordinary unsigned zeros. This does not change answers, but it can be
! helpful in comparing restart files after grid rotation, for example.

! === module MOM_tracer_flow_control ===
USE_USER_TRACER_EXAMPLE = False ! [Boolean] default = False
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,13 @@ RESTART_CHECKSUMS_REQUIRED = True ! [Boolean] default = True
! may want to avoid this comparison if for example the restarts are made from a
! run with a different mask_table than the current run, in which case the
! checksums will not match and cause crash.
RESTART_SYMMETRIC_CHECKSUMS = False ! [Boolean] default = False
! If true, do the restart checksums on all the edge points for a non-reentrant
! grid. This requires that SYMMETRIC_MEMORY_ is defined at compile time.
RESTART_UNSIGNED_ZEROS = False ! [Boolean] default = False
! If true, convert any negative zeros that would be written to the restart file
! into ordinary unsigned zeros. This does not change answers, but it can be
! helpful in comparing restart files after grid rotation, for example.

! === module MOM_tracer_flow_control ===
USE_USER_TRACER_EXAMPLE = False ! [Boolean] default = False
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,13 @@ RESTART_CHECKSUMS_REQUIRED = True ! [Boolean] default = True
! may want to avoid this comparison if for example the restarts are made from a
! run with a different mask_table than the current run, in which case the
! checksums will not match and cause crash.
RESTART_SYMMETRIC_CHECKSUMS = False ! [Boolean] default = False
! If true, do the restart checksums on all the edge points for a non-reentrant
! grid. This requires that SYMMETRIC_MEMORY_ is defined at compile time.
RESTART_UNSIGNED_ZEROS = False ! [Boolean] default = False
! If true, convert any negative zeros that would be written to the restart file
! into ordinary unsigned zeros. This does not change answers, but it can be
! helpful in comparing restart files after grid rotation, for example.

! === module MOM_tracer_flow_control ===
USE_USER_TRACER_EXAMPLE = False ! [Boolean] default = False
Expand Down
Loading

0 comments on commit 8bdb54f

Please sign in to comment.