Changeset 1606 for palm/trunk
- Timestamp:
- Jun 29, 2015 10:43:37 AM (9 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/check_parameters.f90
r1588 r1606 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! Added check for use of RRTMG without netCDF. 23 23 ! 24 24 ! Former revisions: … … 1162 1162 CALL message( 'check_parameters', 'PA0407', 1, 2, 0, 6, 0 ) 1163 1163 #endif 1164 #if defined ( __rrtmg ) && ! defined( __netcdf ) 1165 message_string = 'radiation_scheme = "rrtmg" requires ' // & 1166 'the use of NetCDF (preprocessor directive ' // & 1167 '-D__netcdf' 1168 CALL message( 'check_parameters', 'PA0412', 1, 2, 0, 6, 0 ) 1169 #endif 1170 1164 1171 ENDIF 1165 1172 IF ( albedo_type == 0 .AND. albedo == 9999999.9_wp .AND. & -
palm/trunk/SOURCE/radiation_model.f90
r1591 r1606 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! Added preprocessor directive __netcdf to allow for compiling without netCDF. 23 ! Note, however, that RRTMG cannot be used without netCDF. 23 24 ! 24 25 ! Former revisions: … … 81 82 USE kinds 82 83 84 #if defined ( __netcdf ) 83 85 USE netcdf 86 #endif 84 87 85 88 USE netcdf_control, & … … 896 899 END SUBROUTINE calc_zenith 897 900 898 #if defined ( __rrtmg ) 901 #if defined ( __rrtmg ) && defined ( __netcdf ) 899 902 !------------------------------------------------------------------------------! 900 903 ! Description:
Note: See TracChangeset
for help on using the changeset viewer.