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

How to replace the variable in finidat with the output from the restart file?

Status
Not open for further replies.

Paul

New Member
Hello, I'm using IHistClm50BgcCrop in CESM2.1.3 and the resolution is f09_g17. I want to replace the variable in the initial file (finidat) with the output from the restart file. But I found the dimension size in the finidat file and the "r." file is different. For example, the variable "leafc" is [pft | 64847] in the finidat and [pft | 800154] in the restart file. How should I make the replacement?
Thanks in advance.
 

oleson

Keith Oleson
CSEG and Liaisons
Staff member
If this is out of the box, then the initial file should be:

clmi.I2000Clm50BgcCrop.2011-01-01.1.9x2.5_gx1v7_gl4_simyr2000_c190312.nc

which has pft = 64847.

At run time, that initial file is interpolated to the resolution you are running at (f09_g17). A new initial file will be created in your run directory:

finidat_interp_dest.nc

which has pft = 800154

So it seems like you could take leafc from the restart file and put it into finidat_interp_dest.nc and set finidat to that file and run the model.
You may also want to set use_init_interp = .false. since there shouldn't be a need to interpolate.
Caveat, I haven't tested any of this.
 
Status
Not open for further replies.
Top