- Timestamp:
- Nov 2, 2020, 4:56:49 PM (4 years ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/README
r2417 r2425 3186 3186 - 2D fields "dust_rad_adjust_prev" and "dust_rad_adjust_next" required to 3187 3187 compute coefficient "dust_rad_adjust" need to be stored in (re)startfi files 3188 3189 ==02/11/2020 == EM 3190 Adaptation for when using dust injection and/or dustscaling_mode==2. The 3191 dust scenarios are then meant to just hold one value per sol deemed to 3192 be valid for a given local time (t_scenario_sol in dust_param_mod). Thus 3193 to avoid unwanted temporal interpolation in read_dust_scenario, the time 3194 axis there should simply contain integers. -
trunk/LMDZ.MARS/libf/phymars/read_dust_scenario.F90
r2415 r2425 6 6 use geometry_mod, only: latitude, longitude ! in radians 7 7 use datafile_mod, only: datadir 8 use dust_param_mod, only: odpref 8 use dust_param_mod, only: odpref, dustscaling_mode 9 use planete_h, only: year_day 9 10 implicit none 10 11 … … 158 159 ENDIF 159 160 161 ! Adapt time axis values if using dustinjection scheme and/or 162 ! dustscaling_mode == 2 163 IF ((dustinjection>0).or.(dustscaling_mode==2)) THEN 164 ! Sanity check: we expect to have one map per sol 165 if (timelen/=year_day) then 166 write(*,*)"read_dust_scenario error: timelen=",timelen 167 write(*,*)" whereas it was exepceted to be year_day=",year_day 168 call abort_physic("read_dust_scenario","timelen/=year_day",1) 169 endif 170 ! fill time() with intergers from 0 to timelen-1 171 write(*,*)"read_dust_scenario: adapting time axis to integer values" 172 do iloop=1,timelen 173 time(iloop)=iloop-1 174 enddo 175 ENDIF ! of IF ((dustinjection>0).or.(dustscaling_mode==2)) 176 160 177 ierr=nf90_inq_varid(nid,"latitude",nvarid) 161 178 ierr=nf90_get_var(nid,nvarid,lat)
Note: See TracChangeset
for help on using the changeset viewer.