I have some notes that may be helpful in making sure your fully-coupled BSSP585 case will produce the required outputs to then force a G case (POP2 + CICE only).
Assuming that you can get a fully coupled BSSP585 case up and running, you need to add the following lines to user_nl_cpl to produce the coupler output necessary to force an offline simulation:
Code:
histaux_a2x24hr = .true.
histaux_a2x3hr = .true.
histaux_a2x1hri= .true.
histaux_a2x1hr = .true.
histaux_r2x = .true.
In CESM2.1.3, this will produce files in /cpl/hist/ with the format
CASENAME.cpl.ha2x1d.YYYY-MM-DD.nc
CASENAME.cpl.ha2x3h.YYYY-MM-DD.nc
CASENAME.cpl.ha2x1h.YYYY-MM-DD.nc
CASENAME.cpl.ha2x1hi.YYYY-MM-DD.nc
CASENAME.cpl.hr2x.YYYY-MM-DD.nc
where the ha2x{1d,3h,1h,1hi} correspond to data which is read in by the coupler at different intervals (day, 3 hourly, 1 hourly avg, 1 hourly instantaneous). This data will force your G case and enables a recreation of the fully coupled simulation as long as the coupling intervals (OCN_NCPL) and ocean timestep (dt_count) are identical and the data isn't modified. I would recommend running a test case where no modifications are made to ensure the fully coupled and G case look the same. Check ATM_CO2, IRON_FLUX, photoC_TOT_zint, and SSTs to verify.
These files can be used to force the G case. Note there isn't really a G case compset for SSP585. I typically use an 1850 compset such as 1850_DATM%CPLHIST_SLND_CICE_POP2%ECO_DROF%CPLHIST_SGLC_SWAV and then replace the contents of user_nl_pop in the G case with some fields listed in CaseDocs/pop_in from your fully coupled BSSP585 case. If they are not already the same, everything in the block
&ecosys_forcing_data_nml in CaseDocs/pop_in from BSSP585 should be added to your G case user_nl_pop file as it includes important nutrient forcing files that will correspond to the time period you want (fesedflux_input%filename, feventflux_input, riv_flux_shr_stream_file are notable nutrient inputs).
This will give the ocean model the necessary boundary conditions to repeat the fully coupled simulation. To point your G case to your CPLHIST files, you will need to modify a couple of env_run.xml variables to set up DATM and DROF to use your files. The below assumes the files run from 2020 to 2025:
./xmlchange DATM_MODE=CPLHIST
./xmlchange DATM_CPLHIST_DIR={directory to CPLHIST files}
./xmlchange DATM_CPLHIST_CASE={fully coupled case name}
./xmlchange DATM_CPLHIST_YR_START=2020
./xmlchange DATM_CPLHIST_YR_END=2025
./xmlchange DATM_CPLHIST_YR_ALIGN=2020
./xmlchange DROF_CPLHIST_DIR={same as DATM_CPLHIST_DIR}
./xmlchange DROF_CPLHIST_CASE= {same as DATM_CPLHIST_CASE}
./xmlchange DROF_CPLHIST_YR_START=2020
./xmlchange DROF_CPLHIST_YR_END=2025
./xmlchange DROF_CPLHIST_YR_ALIGN=2020
For the G case to use the CO2 fluxes that are written to the files in CASENAME.cpl.ha2x3h.YYYY-MM-DD.nc, these env_run.xml variables also need to be set:
./xmlchange CCSM_BGC=CO2A
./xmlchange OCN_CO2_TYPE=diagnostic
One last note is that I've often run into unpredictable issues when the G case tries to ingest the CPLHIST files which are automatically created as YYYY-MM-DD. The G case will also read in files that are YYYY-MM. A post-processing step that will help avoid issues is to concatenate all of the YYYY-MM-DD files into YYYY-MM using something like
ncrcat. I have code that does this post-processing step and can clean it up and post it here if you run into this issue.