Changeset 2024 for palm/trunk/SOURCE/check_parameters.f90
- Timestamp:
- Oct 12, 2016 4:42:37 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/check_parameters.f90
r2012 r2024 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! Added missing CASE, error message and unit for ssws*, 23 ! increased number of possible output quantities to 500. 23 24 ! 24 25 ! Former revisions: … … 2834 2835 IF ( data_output_user(1) /= ' ' ) THEN 2835 2836 i = 1 2836 DO WHILE ( data_output(i) /= ' ' .AND. i <= 100 )2837 DO WHILE ( data_output(i) /= ' ' .AND. i <= 500 ) 2837 2838 i = i + 1 2838 2839 ENDDO 2839 2840 j = 1 2840 DO WHILE ( data_output_user(j) /= ' ' .AND. j <= 100 )2841 IF ( i > 100 ) THEN2841 DO WHILE ( data_output_user(j) /= ' ' .AND. j <= 500 ) 2842 IF ( i > 500 ) THEN 2842 2843 message_string = 'number of output quantitities given by data' // & 2843 '_output and data_output_user exceeds the limit of 100'2844 '_output and data_output_user exceeds the limit of 500' 2844 2845 CALL message( 'check_parameters', 'PA0102', 1, 2, 0, 6, 0 ) 2845 2846 ENDIF … … 3018 3019 CONTINUE 3019 3020 3020 CASE ( 'lwp*', 'ol*', 'pra*', 'prr*', 'qsws*', 'shf*', ' t*', &3021 CASE ( 'lwp*', 'ol*', 'pra*', 'prr*', 'qsws*', 'shf*', 'ssws*', 't*', & 3021 3022 'u*', 'z0*', 'z0h*', 'z0q*' ) 3022 3023 IF ( k == 0 .OR. data_output(i)(ilen-2:ilen) /= '_xy' ) THEN … … 3054 3055 CALL message( 'check_parameters', 'PA0322', 1, 2, 0, 6, 0 ) 3055 3056 ENDIF 3057 IF ( TRIM( var ) == 'ssws*' .AND. .NOT. passive_scalar ) THEN 3058 message_string = 'output of "' // TRIM( var ) // '" requi' // & 3059 'res passive_scalar = .TRUE.' 3060 CALL message( 'check_parameters', 'PA0361', 1, 2, 0, 6, 0 ) 3061 ENDIF 3056 3062 3057 3063 IF ( TRIM( var ) == 'lwp*' ) unit = 'kg/m2' … … 3061 3067 IF ( TRIM( var ) == 'qsws*' ) unit = 'kgm/kgs' 3062 3068 IF ( TRIM( var ) == 'shf*' ) unit = 'K*m/s' 3069 IF ( TRIM( var ) == 'ssws*' ) unit = 'kg/m2*s' 3063 3070 IF ( TRIM( var ) == 't*' ) unit = 'K' 3064 3071 IF ( TRIM( var ) == 'u*' ) unit = 'm/s'
Note: See TracChangeset
for help on using the changeset viewer.