Changeset 2964 for palm/trunk/SOURCE/netcdf_interface_mod.f90
- Timestamp:
- Apr 12, 2018 4:04:03 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/netcdf_interface_mod.f90
r2932 r2964 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Calculation of fixed number of output time levels for parallel netcdf output 28 ! has been moved completely to check_parameters 29 ! 30 ! 2932 2018-03-26 09:39:22Z maronga 27 31 ! Renamed inipar to initialization_parameters. 28 32 ! … … 1830 1834 IF ( netcdf_data_format > 4 ) THEN 1831 1835 ! 1832 !-- Set needed time levels (ntdim) to1833 !-- saved time levels + to be saved time levels.1834 IF ( av == 0 ) THEN1835 ntdim_3d(0) = do3d_time_count(0) + CEILING( &1836 ( end_time - MAX( skip_time_do3d, &1837 simulated_time_at_begin ) &1838 ) / dt_do3d )1839 IF ( do3d_at_begin ) ntdim_3d(0) = ntdim_3d(0) + 11840 ELSE1841 ntdim_3d(1) = do3d_time_count(1) + CEILING( &1842 ( end_time - MAX( skip_time_data_output_av, &1843 simulated_time_at_begin ) &1844 ) / dt_data_output_av )1845 ENDIF1846 1847 !1848 1836 !-- Check if the needed number of output time levels is increased 1849 1837 !-- compared to the number of time levels in the existing file. … … 2606 2594 IF ( netcdf_data_format > 4 ) THEN 2607 2595 ! 2608 !-- Set needed time levels (ntdim) to2609 !-- saved time levels + to be saved time levels.2610 IF ( av == 0 ) THEN2611 ntdim_2d_xy(0) = do2d_xy_time_count(0) + CEILING( &2612 ( end_time - MAX( skip_time_do2d_xy, &2613 simulated_time_at_begin ) &2614 ) / dt_do2d_xy )2615 IF ( do2d_at_begin ) ntdim_2d_xy(0) = ntdim_2d_xy(0) + 12616 ELSE2617 ntdim_2d_xy(1) = do2d_xy_time_count(1) + CEILING( &2618 ( end_time - MAX( skip_time_data_output_av, &2619 simulated_time_at_begin ) &2620 ) / dt_data_output_av )2621 ENDIF2622 2623 !2624 2596 !-- Check if the needed number of output time levels is increased 2625 2597 !-- compared to the number of time levels in the existing file. … … 3265 3237 IF ( netcdf_data_format > 4 ) THEN 3266 3238 ! 3267 !-- Set needed time levels (ntdim) to3268 !-- saved time levels + to be saved time levels.3269 IF ( av == 0 ) THEN3270 ntdim_2d_xz(0) = do2d_xz_time_count(0) + CEILING( &3271 ( end_time - MAX( skip_time_do2d_xz, &3272 simulated_time_at_begin ) &3273 ) / dt_do2d_xz )3274 IF ( do2d_at_begin ) ntdim_2d_xz(0) = ntdim_2d_xz(0) + 13275 ELSE3276 ntdim_2d_xz(1) = do2d_xz_time_count(1) + CEILING( &3277 ( end_time - MAX( skip_time_data_output_av, &3278 simulated_time_at_begin ) &3279 ) / dt_data_output_av )3280 ENDIF3281 3282 !3283 3239 !-- Check if the needed number of output time levels is increased 3284 3240 !-- compared to the number of time levels in the existing file. … … 3927 3883 IF ( netcdf_data_format > 4 ) THEN 3928 3884 ! 3929 !-- Set needed time levels (ntdim) to3930 !-- saved time levels + to be saved time levels.3931 IF ( av == 0 ) THEN3932 ntdim_2d_yz(0) = do2d_yz_time_count(0) + CEILING( &3933 ( end_time - MAX( skip_time_do2d_yz, &3934 simulated_time_at_begin ) &3935 ) / dt_do2d_yz )3936 IF ( do2d_at_begin ) ntdim_2d_yz(0) = ntdim_2d_yz(0) + 13937 ELSE3938 ntdim_2d_yz(1) = do2d_yz_time_count(1) + CEILING( &3939 ( end_time - MAX( skip_time_data_output_av, &3940 simulated_time_at_begin ) &3941 ) / dt_data_output_av )3942 ENDIF3943 3944 !3945 3885 !-- Check if the needed number of output time levels is increased 3946 3886 !-- compared to the number of time levels in the existing file.
Note: See TracChangeset
for help on using the changeset viewer.