hector icon indicating copy to clipboard operation
hector copied to clipboard

RF scalar effect not reported in respective output

Open kdorheim opened this issue 1 year ago • 1 comments

Adjusting RF using the volscl and alpha does not affect the RF_vol or RF aerosol results returned as output, it does have the intended effect the global temp.

Changing volscl

image

Changing alpha

image

This seems incorrect; I would think that we would want the RF values to reflect what the temperature component is seeing... It is because we adjust the total forcing in the temperature component here instead of in the forcing component.

kdorheim avatar Jun 14 '24 17:06 kdorheim

Agreed.

bpbond avatar Jun 26 '24 16:06 bpbond

Note that it will be important to point this out to users that these parameters have moved.

Question: Will hector throw an error if an undefined parameter is read in the .ini file? (e.g. if a user uses an old .ini file with these parameters in the wrong place?)

ssmithClimate avatar Jul 10 '24 16:07 ssmithClimate

I just checked, and Hector does throw an error. When using an old .ini file, I got the following error message:

Error: While parsing hector input file C:\Users\scul468\Documents\repos\hector-run-archive\hector-V3.2.0\input\hector_ssp245.ini: msg:  	Could not parse var: volscl - Unknown variable name while parsing temperature: volscl
func: 	setData
file: 	temperature_component.cpp
ffile:	temperature_component.cpp

line: 	189

ptrscll avatar Jul 11 '24 15:07 ptrscll

@ssmithClimate, and for that reason, this would be merged into dev and would be part of a larger release since it would be a code-breaking change!

kdorheim avatar Jul 11 '24 16:07 kdorheim