Changeset 4019
- Timestamp:
- Jun 6, 2019 2:00:35 PM (5 years ago)
- Location:
- palm/trunk/UTIL/inifor/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/UTIL/inifor/src/inifor_defs.f90
r3997 r4019 26 26 ! ----------------- 27 27 ! $Id$ 28 ! Bumped version number 29 ! 30 ! 31 ! 3997 2019-05-23 12:35:57Z eckhard 28 32 ! Defined netCDF attribute names for PALM origin coordinates 29 33 ! Make netCDF variable names constants … … 176 180 ACHAR( 10 ) // ' Copyright 2017-2019 Deutscher Wetterdienst Offenbach' !< Copyright notice 177 181 CHARACTER(LEN=*), PARAMETER :: LOG_FILE_NAME = 'inifor.log' !< Name of INIFOR's log file 178 CHARACTER(LEN=*), PARAMETER :: VERSION = '1.4. 9'!< INIFOR version number182 CHARACTER(LEN=*), PARAMETER :: VERSION = '1.4.10' !< INIFOR version number 179 183 180 184 END MODULE inifor_defs -
palm/trunk/UTIL/inifor/src/inifor_grid.f90
r3997 r4019 26 26 ! ----------------- 27 27 ! $Id$ 28 ! bugfix: Replaced z_top array literal with array, fixes wrong z_top height with gfortran -O2/-O3 29 ! 30 ! 31 ! 3997 2019-05-23 12:35:57Z eckhard 28 32 ! Read origin_z from static driver if given on the command line 29 33 ! Warn if origin_z is specified twice (by static driver and --elevation) … … 206 210 REAL(wp) :: y0 = 0.0_wp !< y coordinate of PALM-4U Earth tangent [m] 207 211 REAL(wp) :: z0 = 0.0_wp !< Elevation of the PALM-4U domain above sea level [m] 208 REAL(wp) :: z_top 209 REAL(wp) :: zw_top 212 REAL(wp) :: z_top(1) = 0.0_wp !< height of the scalar top boundary [m] 213 REAL(wp) :: zw_top(1) = 0.0_wp !< height of the vertical velocity top boundary [m] 210 214 REAL(wp) :: lonmin_cosmo = 0.0_wp !< Minimunm longitude of COSMO-DE's rotated-pole grid [COSMO rotated-pole rad] 211 215 REAL(wp) :: lonmax_cosmo = 0.0_wp !< Maximum longitude of COSMO-DE's rotated-pole grid [COSMO rotated-pole rad] … … 750 754 dz_stretch_level_end=dz_stretch_level_end, & 751 755 dz_stretch_factor_array=dz_stretch_factor_array) 752 z(1:nz) = z_column(1:nz)753 z_top = z_column(nz+1)756 z(1:nz) = z_column(1:nz) 757 z_top(:) = z_column(nz+1) 754 758 755 759 ! … … 761 765 CALL midpoints(z_column, zw_column) 762 766 zw(1:nz-1) = zw_column(1:nz-1) 763 zw_top 767 zw_top(:) = zw_column(nz) 764 768 765 769 … … 864 868 ymin = 0.5_wp * dy, ymax = ly - 0.5_wp * dy, & 865 869 x0=x0, y0=y0, z0 = z0, & 866 nx = nx, ny = ny, nz = 1, z= (/z_top/))870 nx = nx, ny = ny, nz = 1, z=z_top) 867 871 868 872 CALL init_grid_definition('boundary', grid=u_east_grid, & … … 894 898 ymin = 0.5_wp * dy, ymax = ly - 0.5_wp * dy, & 895 899 x0=x0, y0=y0, z0 = z0, & 896 nx = nx-1, ny = ny, nz = 1, z= (/z_top/))900 nx = nx-1, ny = ny, nz = 1, z=z_top) 897 901 898 902 CALL init_grid_definition('boundary', grid=v_east_grid, & … … 954 958 ymin = 0.5_wp * dy, ymax = ly - 0.5_wp * dy, & 955 959 x0=x0, y0=y0, z0 = z0, & 956 nx = nx, ny = ny, nz = 1, z= (/zw_top/))960 nx = nx, ny = ny, nz = 1, z=zw_top) 957 961 958 962 CALL init_grid_definition('boundary intermediate', grid=scalars_east_intermediate, &
Note: See TracChangeset
for help on using the changeset viewer.