Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Questions about parameter tuning and spin-up

Jeline

New Member
Dear all,
I’ve run into difficulties regarding parameter calibration and spin-up procedures.

(1) Parameter calibration:
Our goal is to calibrate PFT-related parameters in CLM using an I compset to improve the accuracy of simulations, and then run the model with a B compset.
  • Does CESM provide any official tools for parameter calibration?
  • If not, is it feasible to perform calibration using other approaches?
  • Are there any recommended or widely used methods?
I’m concerned because running CESM is computationally expensive, making it impractical to perform repeated runs with algorithms like genetic optimization. Also, I found very few discussions about parameter calibration on the forum, which makes me a bit uncertain about the best approach.

(2) Spin-up question:
I plan to run a BHIST_BPRP simulation (1980–2020) to study the climatic effects of global afforestation. As I understand it, there seem to be three possible spin-up options:
  1. Run B1850 with the default forcing data for 1850–1980.
  2. Repeatedly cycle the 1980–1990 forcing data to spin up B1850 for 1900–1980 (80-year spin-up).
  3. Run B1850 with the default forcing data for 1900–1980 (80-year spin-up).
Which of these three approaches would be considered correct or most appropriate?
Sorry if some of my questions seem basic. I would be truly grateful for your advice and any guidance you could share.
Many thanks in advance!
 

slevis

Moderator
Staff member
I am not aware of official Parameter Calibration tools. I will let others recommend methods. You may wish to look in the literature for insights into this type of work. One paper I can think of is Kennedy et al. (2025).

Model spin-up is part of your scientific method, so you and your collaborators should agree on a method. Again, reading how others spun up their simulations in the literature can offer insight. Also, since you're talking about B-cases, I will move this thread to a more appropriate forum.
 

slevis

Moderator
Staff member
I will add that, if one runs with active biogeochemistry (bgc), then it's beneficial to do the long bgc spin-up in land-only mode before going on to the coupled mode. The CLM User's Guide discusses land-only spin-ups. Other threads in these forums have discussed the topic, as well. And I'm repeating myself when I say that you will also find information in the scientific literature.
 

Jeline

New Member
I am not aware of official Parameter Calibration tools. I will let others recommend methods. You may wish to look in the literature for insights into this type of work. One paper I can think of is Kennedy et al. (2025).

Model spin-up is part of your scientific method, so you and your collaborators should agree on a method. Again, reading how others spun up their simulations in the literature can offer insight. Also, since you're talking about B-cases, I will move this thread to a more appropriate forum.
Thank you very much for your reply! I will carefully review these references and reconsider the spin-up scheme. Now I have some new questions:

1. I understand that BPRP and BDRD differ in how atmospheric CO₂ concentration is treated when calculating CO₂ surface fluxes—whether it is prescribed (constant) or interactively coupled between the atmosphere, land, and ocean. However, I’m not sure how to decide which one to use. I’m working on feedback from afforestation on the global carbon and water cycles during 1980–2100, using customized surface data and landuse timeseries data. My understanding is that BPRP would be more realistic when focusing on carbon uptake, yet some studies related to carbon sequestration still used BDRD, which really confuses me.

2. I know that CMIP6 historical forcing data end in 2014, and CESM historical forcing is consistent with that. If I want to run BHIST up to 2022, is that feasible, or would it cause inconsistencies in the forcing setup?
 

slevis

Moderator
Staff member
1. As you said, you can publish a study in the scientific literature as long you are able to explain and justify your choices and assumptions. As a scientist, you will decide what makes the most sense for your research. And you may try one thing and find that it doesn't do what you had hoped. Then you may decide to repeat the work with a different choice or assumption. These things are worth discussing with more experienced scientists, so I will leave it open to others in the community to offer feedback.

2. Running BHIST to 2022 seems equivalent to running BHIST to 2014 and then continuing with one of the BSSP cases, so it is feasible and I think you just need to pick the SSP you want and the rest will fall into place.
 

Jeline

New Member
I will add that, if one runs with active biogeochemistry (bgc), then it's beneficial to do the long bgc spin-up in land-only mode before going on to the coupled mode. The CLM User's Guide discusses land-only spin-ups. Other threads in these forums have discussed the topic, as well. And I'm repeating myself when I say that you will also find information in the scientific literature.
Dear slevis, thank you for your reply. To my knowledge, the coupled mode provides default initial files, such as “finidat=b.e21.B1850.f09_g17.CMIP6-esm-piControl.001.clm2.r.0151-01-01-00000.nc” in BHIST. In this case, why is it still beneficial to perform the long BGC spin-up in land-only mode before going on to the coupled mode? If this is done, would running the coupled mode only require adding `finidat=‘${my own file}’` to user_nl_clm?
I'm terribly sorry for my stupid question, but I'm completely overwhelmed by the spin-up issues. Thanks again!
 

oleson

Keith Oleson
CSEG and Liaisons
Staff member
Generally, you will want to spinup if you've made significant changes to the model code or input data to allow the model to equilibrate to the possibly new climate before starting a transient simulation.
 

Jeline

New Member
Generally, you will want to spinup if you've made significant changes to the model code or input data to allow the model to equilibrate to the possibly new climate before starting a transient simulation.
Hi Oleson, many thanks for your reply!!! I apologize for my earlier misunderstanding about the spin-up process. Our goal is to study the impacts of land-use change (1985–2020) on climate and the carbon cycle using customized land-use data. After rereading the documentation and related discussions, I have redesigned my spin-up plan. I am using CESM2.1.5. I wonder whether my spinup design, as shown below, is correct.

Plan 1: Start spin-up from land-only mode
# AD mode
# I1850Clm50BgcCrop
CLM_ACCELERATED_SPINUP = 'on'
fsurdat = 'customized surface data for 1985'
use_init_interp = .true. # because fsurdat is changed
STOP_OPTION = nyears
STOP_N = 400

# pAD mode
# I1850Clm50BgcCrop
CLM_ACCELERATED_SPINUP = 'off'
finidat = 'restart file from AD mode'
fsurdat = 'customized surface data for 1985'
use_init_interp = .false.
STOP_OPTION = nyears
STOP_N = 1200

#
Final spin-up (transition to B compset)
# To smoothly transition from GSWP3 atmospheric forcing to the B compset forcing, I plan to run an additional 35 years. Since our customized land-use data before 1985 are unavailable, land-use time series for 1950–1985 are fixed to 1985. The simulation starts in 1950, and the first 35 years are discarded.

# BHIST
finidat = 'lnd restart file from pAD mode'
fsurdat = 'customized surface data for 1985'
flanduse_timeseries = 'customized; 1950–1985 repeated from 1985'
RUN_STARTDATE = 1950-01-01
STOP_OPTION = nyears
STOP_N = 65 # 1950–2014; analysis starts from 1985

However, our computational resources are minimal, and Plan 1 may not be feasible. After reading the literature and this thread, I designed Plan 2 as an alternative. In Plan 2, I use the 1900 restart file from the BHISTcmip6 CESM2-LE simulation as finidat. Since our customized land-use data are unavailable before 1985, the land-use from 1900 to 1985 was fixed to the 1985 state. The simulation results from 1900 to 1984 were discarded, and the analysis starts from 1985 onward.

Plan 2
# BHIST
RUN_TYPE = hybrid
RUN_REFCASE = 'b.e21.BHISTcmip6.f09_g17.LE2-1231.009'
RUN_STARTDATE = 1900-01-01
STOP_OPTION = nyears
STOP_N = 115 # 1900–2014; discard 1900–1984 and analyze from 1985
finidat = 'b.e21.BHIST.f09_g17.LE2-1231.009/*.r.1900-01-01-00000.nc'
fsurdat = 'customized surface data for 1985'
flanduse_timeseries = 'customized; 1900–1985 repeated from 1985 due to lack of data'
use_init_interp = .true.

My questions are as follows:
  1. Could you please let me know whether these two spin-up plans are reasonable?
  2. In Plan 2, is it appropriate to use BHISTcmip6 as the REFCASE for BHIST in CESM2.1.5? I read this thread and noticed that version inconsistencies may cause drift. However, I only found BHISTcmip6 and BHISTsmbb restart files in Globus. Where else could I download BHIST restart files? Unfortunately, I don’t have access to NCAR’s internal systems.
  3. In Plan 1, at which stage should I replace fsurdat with my customized surface data? My current understanding is that fsurdat should be customized at every step, since the equilibrium needs to be achieved under customized land-use conditions.
Thank you very much for your time and any advice!!!
 
Top