Changes between Version 20 and Version 21 of Branches/Driver_Improvements
- Timestamp:
- 2016-05-27T12:16:26+02:00 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Branches/Driver_Improvements
v20 v21 35 35 === Jan's understanding of the working of dim2driver (Jan 26/05/2016) === 36 36 37 It is important to understand that readim2.f90 is written in time steps and not physical time. There are 2 time step pingin the driver :37 It is important to understand that readim2.f90 is written in time steps and not physical time. There are 2 time step counters in the driver : 38 38 - ''n'' : is the list of indices of the time axis in the forcing file and readdim2.f90 will step from n-1 to n. 39 39 - ''itau'' : is the time stepping of ORCHIDEE and takes 'split' values between n-1 and n. 40 40 41 The readdim2.f90 will then interpolate using values at ''n-1'' and ''n'' to obtain the forcing at ''itauin'', which is the current time step of ORCHIDEE. Once ''itau'' has stepped through ''split'' values the forcing values of ''n'' will be copied to ''n-1'' and the new values for ''n'' will be read from the netCDF file. 41 The readdim2.f90 will then interpolate using values at ''n-1'' and ''n'' to obtain the forcing at ''itauin'', which is the current time step of ORCHIDEE. Once ''itau'' has stepped through ''split'' values, the forcing values of ''n'' will be copied to ''n-1'' and the new values for ''n'' will be read from the netCDF file. 42 Because of this time-step approach the physical time chosen at ''n=1'' is very important. 42 43 43 44 All this is done independently from the physical time for which the values of the forcing at ''n-1'' and ''n'' are valid over. This poses no problem for instantaneous variables in the forcing file as then the indexing space (''n'') and the physical time are identical.