Changeset 4331 for palm/trunk/SOURCE/data_output_2d.f90
- Timestamp:
- Dec 10, 2019 6:25:02 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/data_output_2d.f90
r4329 r4331 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Move 2-m potential temperature output to diagnostic_output_quantities 28 ! 29 ! 4329 2019-12-10 15:46:36Z motisi 27 30 ! Renamed wall_flags_0 to wall_flags_static_0 28 31 ! … … 1001 1004 ENDIF 1002 1005 IF ( mode == 'xy' ) level_z = zu 1003 1004 CASE ( 'theta_2m*_xy' ) ! 2d-array1005 IF ( av == 0 ) THEN1006 DO m = 1, surf_def_h(0)%ns1007 i = surf_def_h(0)%i(m)1008 j = surf_def_h(0)%j(m)1009 local_pf(i,j,nzb+1) = surf_def_h(0)%pt_2m(m)1010 ENDDO1011 DO m = 1, surf_lsm_h%ns1012 i = surf_lsm_h%i(m)1013 j = surf_lsm_h%j(m)1014 local_pf(i,j,nzb+1) = surf_lsm_h%pt_2m(m)1015 ENDDO1016 DO m = 1, surf_usm_h%ns1017 i = surf_usm_h%i(m)1018 j = surf_usm_h%j(m)1019 local_pf(i,j,nzb+1) = surf_usm_h%pt_2m(m)1020 ENDDO1021 ELSE1022 IF ( .NOT. ALLOCATED( pt_2m_av ) ) THEN1023 ALLOCATE( pt_2m_av(nysg:nyng,nxlg:nxrg) )1024 pt_2m_av = REAL( fill_value, KIND = wp )1025 ENDIF1026 DO i = nxl, nxr1027 DO j = nys, nyn1028 local_pf(i,j,nzb+1) = pt_2m_av(j,i)1029 ENDDO1030 ENDDO1031 ENDIF1032 resorted = .TRUE.1033 two_d = .TRUE.1034 level_z(nzb+1) = zu(nzb+1)1035 1006 1036 1007 CASE ( 'w_xy', 'w_xz', 'w_yz' )
Note: See TracChangeset
for help on using the changeset viewer.