Ignore:
Timestamp:
May 4, 2015 2:19:01 PM (10 years ago)
Author:
maronga
Message:

small adjustments for RRTMG

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/check_parameters.f90

    r1586 r1587  
    2020! Current revisions:
    2121! -----------------
    22 !
     22! Added check for set of albedos when using RRTMG
    2323!
    2424! Former revisions:
     
    11671167          CALL message( 'check_parameters', 'PA0410', 1, 2, 0, 6, 0 )
    11681168       ENDIF
     1169       IF ( albedo_type == 0 .AND. radiation_scheme == 'rrtmg' .AND.           &
     1170          (    albedo_lw_dif == 9999999.9_wp .OR. albedo_lw_dir == 9999999.9_wp&
     1171          .OR. albedo_sw_dif == 9999999.9_wp .OR. albedo_sw_dir == 9999999.9_wp&
     1172          ) ) THEN
     1173          message_string = 'radiation_scheme = "rrtmg" in combination' //      &
     1174                           'with albedo_type = 0 requires setting of ' //      &
     1175                           'albedo_lw_dif /= 9999999.9' //                     &
     1176                           'albedo_lw_dir /= 9999999.9' //                     &
     1177                           'albedo_sw_dif /= 9999999.9 and' //                 &
     1178                           'albedo_sw_dir /= 9999999.9'
     1179          CALL message( 'check_parameters', 'PA0411', 1, 2, 0, 6, 0 )
     1180       ENDIF
     1181
    11691182    ENDIF
    11701183
Note: See TracChangeset for help on using the changeset viewer.