Changeset 4242 for palm/trunk/SOURCE/chem_emissions_mod.f90
- Timestamp:
- Sep 27, 2019 12:59:10 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/chem_emissions_mod.f90
r4230 r4242 27 27 ! ----------------- 28 28 ! $Id$ 29 ! Adjust index_hh access to new definition accompanied with new 30 ! palm_date_time_mod. Note, this is just a preleminary fix. (E Chan) 31 ! 32 ! 4230 2019-09-11 13:58:14Z suehring 29 33 ! Bugfix, consider that time_since_reference_point can be also negative when 30 34 ! time indices are determined. … … 1142 1146 !-- Read-in the correspondant time factor 1143 1147 1144 time_factor(:) = emt_att%hourly_emis_time_factor(:,index_hh )1148 time_factor(:) = emt_att%hourly_emis_time_factor(:,index_hh+1) 1145 1149 1146 1150 ! … … 1191 1195 time_factor(:) = emt_att%mdh_emis_time_factor(:,index_mm) * & 1192 1196 emt_att%mdh_emis_time_factor(:,index_dd) * & 1193 emt_att%mdh_emis_time_factor(:,index_hh )1197 emt_att%mdh_emis_time_factor(:,index_hh+1) 1194 1198 1195 1199 ! … … 1240 1244 1241 1245 index_hh = hour_of_day 1242 time_factor(1) = par_emis_time_factor(index_hh )1246 time_factor(1) = par_emis_time_factor(index_hh+1) 1243 1247 1244 1248 ENDIF ! emiss_lod … … 1470 1474 emis_distribution(1,nys:nyn,nxl:nxr,ispec) = & 1471 1475 emt(match_spec_input(ispec))% & 1472 preproc_emission_data(index_hh ,1,nys+1:nyn+1,nxl+1:nxr+1) *&1476 preproc_emission_data(index_hh+1,1,nys+1:nyn+1,nxl+1:nxr+1) * & 1473 1477 conversion_factor 1474 1478
Note: See TracChangeset
for help on using the changeset viewer.