- Timestamp:
- Aug 9, 2019 8:24:30 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/init_3d_model.f90
r4150 r4151 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Add netcdf directive around input calls (fix for last commit) 28 ! 29 ! 4150 2019-08-08 20:00:47Z suehring 27 30 ! Input of additional surface variables independent on land- or urban-surface 28 31 ! model … … 2041 2044 IF ( input_pids_static ) THEN 2042 2045 ! 2046 !-- Allocate memory for possible static input 2047 ALLOCATE( tmp_2d%var(nys:nyn,nxl:nxr) ) 2048 tmp_2d%var = 0.0_wp 2049 ! 2043 2050 !-- Open the static input file 2051 #if defined( __netcdf ) 2044 2052 CALL open_read_file( TRIM( input_file_static ) // & 2045 2053 TRIM( coupling_char ), & … … 2051 2059 ALLOCATE( vars_pids_static(1:num_vars_pids_static) ) 2052 2060 CALL inquire_variable_names( pids_static_id, vars_pids_static ) 2053 2054 ALLOCATE( tmp_2d%var(nys:nyn,nxl:nxr) )2055 tmp_2d%var = 0.0_wp2056 2061 ! 2057 2062 !-- Input roughness length. … … 2096 2101 !-- same way. 2097 2102 2098 DEALLOCATE( tmp_2d%var )2099 2103 ! 2100 2104 !-- Finally, close the input file. 2101 2105 CALL close_input_file( pids_static_id ) 2106 #endif 2107 DEALLOCATE( tmp_2d%var ) 2102 2108 ENDIF 2103 2109 !
Note: See TracChangeset
for help on using the changeset viewer.