-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Source allocation for NO2 and O3 is carried out in 'uEMEP_source_fraction_chemistry'. Annual mean chemistry, which uses a pdf correction 'correct_annual_mean_chemistry', is not included in this source allocation, so annual mean chemistry is not getting the correct source contributions. This has little consequence for NO2 but for O3 this can lead to changes in sign, which is incorrect.
The solution is just to put this correction routine in after calling the chemistry scheme being used within the source allocation loop. This will apply for the photostationary and the phototimescale schemes but not for the other empirical schemes that are already based on annual mean concentrations.
Complication is that the source contribution calls chemistry and allocates sources within the i,j grid loop, whereas the annual correction routine has the grid loop internally in the call. The solution may be to implement the actual correction function 'uEMEP_annual_mean_pdf_correction_NO2_O3', which is inside the correction subroutine, in the source allocation routine right after the chemistry call, but this needs to be correctly initialised with data, see how this is done in 'correct_annual_mean_chemistry' . This is also slightly complicated by the variable 'y_Jd_acc' that is saved prior to running, to make it quick. This is the distribution function for Jd.