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

add a constant offset to SST forcing in the cam code

I want to add a constant (in space and time) offset to the SST forcing field in the cam code (not in the netcdf forcing file). I tried to include the following line in the atm_comp_mct.F90 routine (to add 1 degree everywhere): cam_in(c)%aldif(i) = x2a_a%rAttr(index_x2a_Sx_anidf, ig)cam_in(c)%ts(i) = x2a_a%rAttr(index_x2a_Sx_t, ig)cam_in(c)%sst(i)       =  x2a_a%rAttr(index_x2a_So_t,     ig) +1 However this seems to be the wrong place to do this modification, as the skin temperature model output does not incldue this offset.Where would be the best place to include an offset?Thanks
 

eaton

CSEG and Liaisons
The best place for the offset is in the dataset for exactly the reason you've realized that atm_comp_mct.F90 is not the best place.  Otherwise I suppose the next place to look would be in the docn model which is where the dataset is read. 
 
Top