Changeset 1106 for palm/trunk/SOURCE/data_output_profiles.f90
- Timestamp:
- Mar 4, 2013 5:31:38 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/data_output_profiles.f90
r1093 r1106 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! bugfix: initial time for preruns of coupled runs is output as -coupling_start_time 23 23 ! 24 24 ! Former revisions: … … 126 126 #if defined( __netcdf ) 127 127 ! 128 !-- Store initial time (t=0) to time axis, but only if an output 129 !-- is required for at least one of the profiles 128 !-- Store initial time to time axis, but only if an output 129 !-- is required for at least one of the profiles. The initial time 130 !-- is either 0, or, in case of a prerun for coupled atmosphere-ocean 131 !-- runs, has a negative value 130 132 DO i = 1, dopr_n 131 133 IF ( dopr_initial_index(i) /= 0 ) THEN 132 134 nc_stat = NF90_PUT_VAR( id_set_pr, id_var_time_pr, & 133 (/ 0.0 /), start = (/ 1/), &134 135 (/ -coupling_start_time /), & 136 start = (/ 1 /), count = (/ 1 /) ) 135 137 CALL handle_netcdf_error( 'data_output_profiles', 329 ) 136 138 output_for_t0 = .TRUE.
Note: See TracChangeset
for help on using the changeset viewer.