- Timestamp:
- Oct 21, 2020 1:54:51 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/virtual_measurement_mod.f90
r4707 r4752 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Remove unnecessary output and merge output for quantities that are represented by the same 28 ! variable in PALM, e.g. surface temperature and brightness temperature 29 ! 30 ! 4707 2020-09-28 14:25:28Z suehring 27 31 ! Bugfix for previous commit + minor formatting adjustments 28 32 ! … … 151 155 !> 'real-world' observation coordinates. More precisely, coordinates and measured quanties will be 152 156 !> read from a NetCDF file which contains all required information. In the model, the same 153 !> quantities (as long as all the required components are switched-on) will be sampled at the157 !> quantities (as long as all the required PALM-modules are switched-on) will be sampled at the 154 158 !> respective positions and output into an extra file, which allows for straight-forward comparison 155 159 !> of model results with observations. … … 368 372 'smp ' /) 369 373 370 CHARACTER(LEN=10), DIMENSION(0:1,1: 8) :: chem_vars = RESHAPE( (/ 'mcpm1 ', 'PM1 ', &374 CHARACTER(LEN=10), DIMENSION(0:1,1:9) :: chem_vars = RESHAPE( (/ 'mcpm1 ', 'PM1 ', & 371 375 'mcpm2p5 ', 'PM2.5 ', & 372 376 'mcpm10 ', 'PM10 ', & … … 375 379 'mcno2 ', 'NO2 ', & 376 380 'mcno ', 'NO ', & 377 'tro3 ', 'O3 ' & 378 /), (/ 2, 8 /) ) 381 'tro3 ', 'O3 ', & 382 'ncaa ', 'PM10 ' & !simply assume ncaa to be PM10 383 /), (/ 2, 9 /) ) 379 384 380 385 INTEGER(iwp) :: maximum_name_length = 32 !< maximum name length of station names … … 2379 2384 ENDIF 2380 2385 2381 CASE ( 't_va' )2382 2383 2386 CASE ( 'hus' ) ! mixing ratio 2384 2387 IF ( humidity ) THEN … … 2559 2562 !-- PALM are in ppm and no distinction is made between mole-fraction and concentration 2560 2563 !-- quantities (all are output in ppm so far). 2561 CASE ( 'mcpm1', 'mcpm2p5', 'mcpm10', 'mfno', 'mfno2', 'mcno', 'mcno2', 'tro3' )2564 CASE ( 'mcpm1', 'mcpm2p5', 'mcpm10', 'mfno', 'mfno2', 'mcno', 'mcno2', 'tro3', 'ncaa' ) 2562 2565 IF ( air_chemistry ) THEN 2563 2566 ! … … 2681 2684 ENDDO 2682 2685 ENDDO 2683 2684 CASE ( 'lwcs' ) ! liquid water of soil layer2685 ! DO m = 1, vmea(l)%ns2686 ! !2687 ! !-- Surface data is only available on inner subdomains, not on ghost points. Hence,2688 ! !-- limit the indices.2689 ! j = MERGE( vmea(l)%j(m), nys, vmea(l)%j(m) > nys )2690 ! j = MERGE( j , nyn, j < nyn )2691 ! i = MERGE( vmea(l)%i(m), nxl, vmea(l)%i(m) > nxl )2692 ! i = MERGE( i , nxr, i < nxr )2693 !2694 ! DO mm = surf_lsm_h(0)%start_index(j,i), surf_lsm_h(0)%end_index(j,i)2695 ! vmea(l)%measured_vars(m,n) = ?2696 ! ENDDO2697 ! ENDDO2698 2686 2699 2687 CASE ( 'rnds' ) ! surface net radiation … … 2911 2899 ENDDO 2912 2900 2913 CASE ( 'm_soil' ) ! soil moisture2901 CASE ( 'm_soil', 'lwcs' ) ! soil moisture 2914 2902 DO m = 1, vmea(l)%ns_soil 2915 2903 j = MERGE( vmea(l)%j_soil(m), nys, vmea(l)%j_soil(m) > nys ) … … 2928 2916 ENDDO 2929 2917 2930 CASE ( 'ts' ) ! surfacetemperature2918 CASE ( 'ts', 'tb' ) ! surface temperature and brighness temperature 2931 2919 DO m = 1, vmea(l)%ns 2932 2920 ! … … 2963 2951 vmea(l)%measured_vars(:,n) = surface_pressure 2964 2952 2965 CASE ( 'pswrtg' ) ! platform speed above ground2966 vmea(l)%measured_vars(:,n) = 0.0_wp2967 2968 CASE ( 'pswrta' ) ! platform speed in air2969 vmea(l)%measured_vars(:,n) = 0.0_wp2970 2971 2953 CASE ( 't_lw' ) ! water temperature 2972 2954 DO m = 1, vmea(l)%ns … … 2986 2968 ENDDO 2987 2969 ! 2988 !-- More will follow ...2989 CASE ( 'ncaa' )2990 !2991 2970 !-- No match found - just set a fill value 2992 2971 CASE DEFAULT
Note: See TracChangeset
for help on using the changeset viewer.