Changeset 2425 for trunk/LMDZ.MARS/libf
- Timestamp:
- Nov 2, 2020, 4:56:49 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.