Skip to content
Open
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
29 changes: 29 additions & 0 deletions cime_config/usermods_dirs/n1850_SST_pacemaker_Kuroshio/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
**Important usage Notes**

External data format:

The external SST file and pcmask must match the model domain and resolution.

External SST file dimensions: (y, x, time)

Time Handling:

SST is applied at the current model timestep via the send buffer. Thus the time index (nstep_strm) should be aligned. (line 451 in ocn_comp_mct.F90)

Branch runs:

If starting from a specific model year (e.g., year 1320), the time index nstep_strm must account for prior simulation years. That is,

nstep_strm = int(time) - int(time0) - 481434 ! (corresponding to year 1319 * 365 - 1)

Hybrid runs:

No special alignment is required; the time index can be set relative to the model start

nstep_strm = int(time) - int(time0) - 1

The current implementation hard-codes the time index for reading SST. We are trying to fix this with a dynamic approach that calculates the correct time index automatically, avoiding the need for hard-coded values.

Mask Replacement:

To run SST pacemaker experiments in a different region, provide a new mask file and update the pcmask variable.
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
Small modifications were made to the BLOM source code to enable reading and initialization of the pacemaker mask variable (pcmask) from an external NetCDF file.
These updates allow BLOM to include region-specific SST forcing (overiding the BLOM SST) directly during grid initialization.

Files Modified:

1. mod_grid.F90

Added declaration of the new variable pcmask to the grid module.

Ensures the mask is initialized together with other grid variables in inivar_grid().

2. geoenv_file.F

Updated to read the pacemaker_mask variable from the pacemaker_mask.nc file.

Integrated pcmask loading alongside other grid fields.

Ensures the mask is available globally after grid initialization.

Description of pcmask:

Variable name: pcmask

Source file: pacemaker_mask.nc

The mask has 1.0 in the core of the pacemaker region to 0.0 at the edges of the region (smooth tapering).

Current configuration:

The mask is set for the Kuroshio region in the North Pacific.

Location of the file:

/cluster/work/users/hra063/So_t/pacemaker_mask.nc

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be updated to point to its inputdata location.

Loading