Changeset 2729
- Timestamp:
- Jan 9, 2018 11:22:28 AM (7 years ago)
- Location:
- palm/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/INSTALL/ex_lsm_clearsky_p3d
r2556 r2729 121 121 0.15, 0.21, 0.72, 1.89, 122 122 soil_temperature = 293.0, 293.0, 293.0, 293.0, 123 293.0, 293.0, 293.0, 293.0, 293.0, 123 293.0, 293.0, 293.0, 293.0, 124 deep_soil_temperature = 293.0, 124 125 soil_moisture = 0.35, 0.35, 0.35, 0.35, 125 126 0.35, 0.35, 0.35, 0.35, -
palm/trunk/SOURCE/land_surface_model_mod.f90
r2724 r2729 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Separated deep soil temperature from soil_temperature array 28 ! 29 ! 2724 2018-01-05 12:12:38Z maronga 27 30 ! Added security check for insufficient soil_temperature values 28 31 ! … … 434 437 canopy_resistance_coefficient = 9999999.9_wp, & !< NAMELIST g_d 435 438 c_surface = 9999999.9_wp, & !< Surface (skin) heat capacity (J/m2/K) 439 deep_soil_temperature = 9999999.9_wp, & !< Deep soil temperature (bottom boundary condition) 436 440 drho_l_lv, & !< (rho_l * l_v)**-1 437 441 exn, & !< value of the Exner function … … 1495 1499 ENDIF 1496 1500 1501 1502 !!! these checks are not needed for water surfaces?? 1503 1497 1504 ! 1498 1505 !-- Determine number of soil layers to be used and check whether an appropriate … … 1514 1521 ! 1515 1522 !-- Check whether valid soil temperatures are prescribed 1516 IF ( ANY( soil_temperature(nzb_soil:nzt_soil+1) == 9999999.9_wp )) THEN1523 IF ( COUNT( soil_temperature /= 9999999.9_wp ) /= nzs ) THEN 1517 1524 WRITE( message_string, * ) 'number of soil layers (', nzs, ') does not',& 1518 1525 ' match to the number of layers specified', & 1519 1526 ' in soil_temperature (', COUNT( & 1520 soil_temperature /= 9999999.9_wp ) -1, ')'1527 soil_temperature /= 9999999.9_wp ), ')' 1521 1528 CALL message( 'check_parameters', 'PA0471', 1, 2, 0, 6, 0 ) 1529 ENDIF 1530 1531 IF ( deep_soil_temperature == 9999999.9_wp ) THEN 1532 message_string = 'deep_soil_temperature is not set but must be'// & 1533 '/= 9999999.9' 1534 CALL message( 'check_parameters', 'PA0472', 1, 2, 0, 6, 0 ) 1522 1535 ENDIF 1523 1536 … … 3847 3860 m_soil_h%var_2d(k,m) = soil_moisture(k) 3848 3861 ENDDO 3849 t_soil_h%var_2d(nzt_soil+1,m) = soil_temperature(nzt_soil+1)3862 t_soil_h%var_2d(nzt_soil+1,m) = deep_soil_temperature 3850 3863 ENDIF 3851 3864 ENDDO … … 3858 3871 m_soil_v(l)%var_2d(k,m) = soil_moisture(k) 3859 3872 ENDDO 3860 t_soil_v(l)%var_2d(nzt_soil+1,m) = soil_temperature(nzt_soil+1)3873 t_soil_v(l)%var_2d(nzt_soil+1,m) = deep_soil_temperature 3861 3874 ENDIF 3862 3875 ENDDO … … 4489 4502 constant_roughness, & 4490 4503 conserve_water_content, & 4504 deep_soil_temperature, & 4491 4505 dz_soil, & 4492 4506 f_shortwave_incoming, field_capacity, &
Note: See TracChangeset
for help on using the changeset viewer.