Changeset 1327 for palm/trunk/SOURCE/data_output_tseries.f90
- Timestamp:
- Mar 21, 2014 11:00:16 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/data_output_tseries.f90
r1321 r1327 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! -netcdf output queries 23 23 ! 24 24 ! Former revisions: … … 55 55 56 56 USE control_parameters, & 57 ONLY: dots_time_count, netcdf_output,time_since_reference_point57 ONLY: dots_time_count, time_since_reference_point 58 58 59 59 USE cpulog, & … … 90 90 ! 91 91 !-- Open file for time series output in NetCDF format 92 IF ( netcdf_output ) THEN 93 dots_time_count = dots_time_count + 1 94 CALL check_open( 105 ) 92 dots_time_count = dots_time_count + 1 93 CALL check_open( 105 ) 95 94 #if defined( __netcdf ) 96 95 ! 97 !-- 98 99 100 101 102 96 !-- Update the time series time axis 97 nc_stat = NF90_PUT_VAR( id_set_ts, id_var_time_ts, & 98 (/ time_since_reference_point /), & 99 start = (/ dots_time_count /), & 100 count = (/ 1 /) ) 101 CALL handle_netcdf_error( 'data_output_tseries', 350 ) 103 102 #endif 104 ENDIF105 103 106 104 ! … … 110 108 111 109 #if defined( __netcdf ) 112 IF ( netcdf_output ) THEN 113 DO i = 1, dots_num 114 nc_stat = NF90_PUT_VAR( id_set_ts, id_var_dots(i,sr), & 115 (/ ts_value(i,sr) /), & 116 start = (/ dots_time_count /), & 117 count = (/ 1 /) ) 118 CALL handle_netcdf_error( 'data_output_tseries', 351 ) 119 ENDDO 120 ENDIF 110 DO i = 1, dots_num 111 nc_stat = NF90_PUT_VAR( id_set_ts, id_var_dots(i,sr), & 112 (/ ts_value(i,sr) /), & 113 start = (/ dots_time_count /), & 114 count = (/ 1 /) ) 115 CALL handle_netcdf_error( 'data_output_tseries', 351 ) 116 ENDDO 121 117 #endif 122 118
Note: See TracChangeset
for help on using the changeset viewer.