Changeset 3881 for palm/trunk/SOURCE/surface_data_output_mod.f90
- Timestamp:
- Apr 10, 2019 9:31:22 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/surface_data_output_mod.f90
r3817 r3881 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Check for zero output timestep (not allowed in parallel NetCDF output mode) 28 ! 29 ! 3817 2019-03-26 13:53:57Z suehring 27 30 ! Correct output coordinates of vertical surface elements 28 31 ! … … 125 128 USE netcdf_interface, & 126 129 ONLY: netcdf_create_att, netcdf_create_dim, netcdf_create_file, & 127 netcdf_create_global_atts, netcdf_create_var, netcdf_handle_error 130 netcdf_create_global_atts, netcdf_create_var, netcdf_data_format,& 131 netcdf_handle_error 128 132 129 133 USE pegrid … … 4316 4320 #endif 4317 4321 ! 4322 !-- In case of parallel NetCDF output the output timestep must not be zero. 4323 !-- This is because the number of requiered output timesteps is 4324 !-- pre-calculated, which is not possible with zero output timestep. 4325 IF ( netcdf_data_format > 4 ) THEN 4326 IF ( dt_dosurf == 0.0_wp ) THEN 4327 message_string = 'dt_dosurf = 0.0 while using a ' // & 4328 'variable timestep and parallel netCDF4 ' // & 4329 'is not allowed.' 4330 CALL message( 'surface_data_output_check_parameters', 'PA0081', & 4331 1, 2, 0, 6, 0 ) 4332 ENDIF 4333 4334 IF ( dt_dosurf_av == 0.0_wp ) THEN 4335 message_string = 'dt_dosurf_av = 0.0 while using a ' // & 4336 'variable timestep and parallel netCDF4 ' // & 4337 'is not allowed.' 4338 CALL message( 'surface_data_output_check_parameters', 'PA0081', & 4339 1, 2, 0, 6, 0 ) 4340 ENDIF 4341 ENDIF 4342 4343 ! 4318 4344 !-- In case of restart runs, check it the number of cores has been changed. 4319 4345 !-- With surface output this is not allowed.
Note: See TracChangeset
for help on using the changeset viewer.