Changeset 4307 for palm/trunk
- Timestamp:
- Nov 26, 2019 2:12:36 PM (5 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/multi_agent_system_mod.f90
r4182 r4307 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Activated output of iPT 28 ! 29 ! 4182 2019-08-22 15:20:23Z scharf 27 30 ! Corrected "Former revisions" section 28 31 ! … … 1190 1193 1191 1194 USE control_parameters, & 1192 ONLY: agt_time_count, end_time, message_string,&1195 ONLY: agt_time_count, biometeorology, end_time, message_string, & 1193 1196 multi_agent_system_end, multi_agent_system_start 1194 1197 … … 1402 1405 count = (/ out_noa /) ) 1403 1406 CALL netcdf_handle_error( 'mas_data_output_agents', 7 ) 1404 CALL cpu_log( log_point_s(17), 'mas_data_output', 'stop' ) 1405 1406 1407 ! nc_stat = NF90_PUT_VAR( id_set_agt, id_var_agt(6), agents%pm10, & 1408 ! start = (/ 1, agt_time_count /), & 1409 ! count = (/ out_noa /) ) 1410 ! CALL netcdf_handle_error( 'mas_data_output_agents', 8 ) 1411 ! 1412 ! nc_stat = NF90_PUT_VAR( id_set_agt, id_var_agt(7), agents%pm25, & 1407 1408 1409 IF ( biometeorology ) THEN 1410 nc_stat = NF90_PUT_VAR( id_set_agt, id_var_agt(7), agents%ipt, & 1411 start = (/ 1, agt_time_count /), & 1412 count = (/ out_noa /) ) 1413 CALL netcdf_handle_error( 'mas_data_output_agents', 8 ) 1414 ENDIF 1415 1416 1417 1418 ! nc_stat = NF90_PUT_VAR( id_set_agt, id_var_agt(8), agents%pm10, & 1413 1419 ! start = (/ 1, agt_time_count /), & 1414 1420 ! count = (/ out_noa /) ) 1415 1421 ! CALL netcdf_handle_error( 'mas_data_output_agents', 9 ) 1416 1422 ! 1417 ! nc_stat = NF90_PUT_VAR( id_set_agt, id_var_agt( 8), agents%therm_comf,&1423 ! nc_stat = NF90_PUT_VAR( id_set_agt, id_var_agt(9), agents%pm25, & 1418 1424 ! start = (/ 1, agt_time_count /), & 1419 1425 ! count = (/ out_noa /) ) 1426 ! CALL netcdf_handle_error( 'mas_data_output_agents', 10 ) 1427 ! 1420 1428 ! 1421 1429 ! nc_stat = NF90_PUT_VAR( id_set_agt, id_var_agt(9), agents%uv, & … … 1423 1431 ! count = (/ out_noa /) ) 1424 1432 ! CALL netcdf_handle_error( 'mas_data_output_agents', 10 ) 1433 1434 CALL cpu_log( log_point_s(17), 'mas_data_output', 'stop' ) 1435 1425 1436 1426 1437 #endif -
palm/trunk/SOURCE/netcdf_interface_mod.f90
r4227 r4307 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Adjusted output of multi-agent system for biometeorology 28 ! 29 ! 4227 2019-09-10 18:04:34Z gronemeier 27 30 ! Replace function date_time_string by call to get_date_time 28 31 ! … … 139 142 (/ 'ag_id ', 'ag_x ', 'ag_y ', & 140 143 'ag_wind ', 'ag_temp ', 'ag_group ', & 141 ' PM10 ', 'PM25 ', 'ag_iPT', &142 ' ag_uv', 'not_used ', 'not_used ', &144 'ag_iPT ', 'ag_PM10 ', 'ag_PM25 ', & 145 'not_used ', 'not_used ', 'not_used ', & 143 146 'not_used ' /) 144 147 … … 146 149 (/ 'dim_less ', 'meters ', 'meters ', & 147 150 'm/s ', 'K ', 'dim_less ', & 148 ' tbd', 'tbd ', 'tbd ', &151 'C ', 'tbd ', 'tbd ', & 149 152 'tbd ', 'not_used ', 'not_used ', & 150 153 'not_used ' /) … … 2355 2358 ! 2356 2359 !-- Define vars for biometeorology 2357 CALL netcdf_create_var( id_set_agt, (/ id_dim_agtnum, & 2358 id_dim_time_agt /), agt_var_names(9), & 2359 nc_precision(8), id_var_agt(9), & 2360 TRIM( agt_var_units(9) ), & 2361 TRIM( agt_var_names(9) ), 339, 340, 341 ) 2362 2360 IF ( biometeorology ) THEN 2361 CALL netcdf_create_var( id_set_agt, (/ id_dim_agtnum, & 2362 id_dim_time_agt /), agt_var_names(7), & 2363 nc_precision(8), id_var_agt(7), & 2364 TRIM( agt_var_units(7) ), & 2365 TRIM( agt_var_names(7) ), 339, 340, 341 ) 2366 ENDIF 2363 2367 ! 2364 2368 !-- Leave netCDF define mode
Note: See TracChangeset
for help on using the changeset viewer.