- Timestamp:
- Sep 5, 2012 3:08:26 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/netcdf.f90
r984 r992 7 7 ! Current revisions: 8 8 ! ------------------ 9 ! 9 ! Removal of the informative messages PA0352 and PA0353. 10 10 ! 11 11 ! Former revisions: … … 131 131 var_list, var_list_old 132 132 133 CHARACTER (LEN=100), DIMENSION(1:crmax) :: cross_profiles_adj, &134 cross_profiles_char133 CHARACTER (LEN=100), DIMENSION(1:crmax) :: cross_profiles_adj, & 134 cross_profiles_char 135 135 136 136 INTEGER :: av, cross_profiles_count, cross_profiles_maxi, delim, & … … 143 143 id_dim_zu_mask_old 144 144 145 INTEGER, DIMENSION(1:crmax) :: cross_profiles_numb146 147 LOGICAL :: cross_profiles_log,found145 INTEGER, DIMENSION(1:crmax) :: cross_profiles_numb 146 147 LOGICAL :: found 148 148 149 149 LOGICAL, INTENT (INOUT) :: extend … … 3200 3200 !-- Check if all profiles defined in cross_profiles are defined in 3201 3201 !-- data_output_pr. If not, they will be skipped. 3202 cross_profiles_log = .FALSE.3203 message_string = ''3204 3202 3205 3203 DO i = 1, cross_profiles_count … … 3213 3211 IF ( j == dopr_n ) THEN 3214 3212 cross_profiles_numb(i) = 999999 3215 cross_profiles_log = .TRUE.3216 message_string = TRIM( message_string ) // ', ' // &3217 TRIM( cross_profiles_char(i) )3218 3213 ENDIF 3219 3214 3220 3215 ENDDO 3221 3216 ENDDO 3222 3223 IF ( cross_profiles_log ) THEN3224 message_string = TRIM( message_string ) // ' is/are not' // &3225 ' defined in data_output_pr.'3226 CALL message( 'define_netcdf_header', 'PA0352', 0, 0, 0, 6, 0 )3227 ENDIF3228 3217 3229 3218 DO i = 1, crmax … … 3249 3238 !-- Check if all profiles defined in data_output_pr are defined in 3250 3239 !-- cross_profiles. If not, they will be added to cross_profiles. 3251 cross_profiles_log = .FALSE.3252 message_string = ' '3253 3240 3254 3241 DO i = 1, dopr_n … … 3268 3255 cross_profiles_numb(MIN( crmax, cross_profiles_count )) = & 3269 3256 cross_profiles_maxi 3270 cross_profiles_log = .TRUE.3271 message_string = TRIM( message_string ) // ', ' // &3272 TRIM( data_output_pr(i) )3273 3257 ENDIF 3274 3258 … … 3276 3260 ENDDO 3277 3261 3278 IF ( cross_profiles_log ) THEN3279 message_string = TRIM(message_string(2:)) // ' has/have been' // &3280 ' added to cross_profiles.'3281 CALL message( 'define_netcdf_header', 'PA0353', 0, 0, 0, 6, 0 )3282 ENDIF3283 3284 3262 IF ( cross_profiles_count >= crmax ) THEN 3285 message_string = 'It is not allowed to arrange more than ' &3286 // '100 profiles with cross_profiles. Apart'&3287 // ' from that, all profiles are saved to the '&3288 // ' netCDF file.'3263 message_string = 'It is not allowed to arrange more than ' & 3264 // '100 profiles with & cross_profiles. Apart'& 3265 // ' from that, all profiles are saved & to ' & 3266 // 'the netCDF file.' 3289 3267 CALL message( 'define_netcdf_header', 'PA0354', 0, 0, 0, 6, 0 ) 3290 3268 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.