NorESMhub / CAM

Community Atmosphere Model including CAM6-Nor branches
1 stars 20 forks source link

Bug in optics diagnostics for RH=0% (AeroCom experiments) #9

Open Kirkevag opened 4 years ago

Kirkevag commented 4 years ago

In pmxsub.F90.

Two variables (vnbcarr and vaitbcarr), now initialized with Alok's bugfixes, are calculated, but before they are used for the first time. This is therefore a bug: the effect of this bug concerns extra diagnostics of optics at RH=0% only (for the INSITU AeroCom optics experiment): mixture 4 and 14 does not have the right volume fraction of BC for this particular RH. The loop over higher RH values are done after calculating vnbcarr and vaitbcarr, so that part seems to be OK. This should not affect any other things (meteorology etc) than just this particular set of diagnostics for assumed RH=0%.