Changeset 3494 for palm/trunk/SOURCE/virtual_measurement_mod.f90
- Timestamp:
- Nov 6, 2018 2:51:27 PM (5 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE
- Property svn:mergeinfo changed
/palm/branches/mosaik_M2 (added) merged: 2360,3363,3434,3437,3471
- Property svn:mergeinfo changed
-
palm/trunk/SOURCE/virtual_measurement_mod.f90
r3473 r3494 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Bugfixing 28 ! 29 ! 3473 2018-10-30 20:50:15Z suehring 27 30 ! Initial revision 28 31 ! … … 31 34 ! Authors: 32 35 ! -------- 33 ! @author Matthias Suehring 36 ! @author Matthias Suehring and Klaus Ketelsen 34 37 ! 35 38 ! … … 554 557 !-- lower-left origin of the model domain, which is the difference 555 558 !-- betwen UTM coordinates. 556 ! write(9,*) l, "before Eutm", e_utm(t,1:vmea(l)%dim_t(t)), "orig", init_model%origin_x 557 ! write(9,*) l, "before Nutm", n_utm(t,1:vmea(l)%dim_t(t)), "orig", init_model%origin_y 558 559 559 560 e_utm(t,1:vmea(l)%dim_t(t)) = e_utm(t,1:vmea(l)%dim_t(t)) & 560 561 - init_model%origin_x 561 562 n_utm(t,1:vmea(l)%dim_t(t)) = n_utm(t,1:vmea(l)%dim_t(t)) & 562 563 - init_model%origin_y 563 ! write(9,*) l, "Eutm", e_utm(t,1:vmea(l)%dim_t(t))564 ! write(9,*) l, "Nutm", n_utm(t,1:vmea(l)%dim_t(t))565 ! write(9,*)566 564 ! 567 565 !-- Compute grid indices relative to origin and check if these are … … 585 583 ks = k_prev 586 584 IF ( on_pe ) THEN 587 ! write(9,*) " I am onpe"588 585 ksurf = get_topography_top_index_ji( js, is, 's' ) 589 586 ks = MINLOC( ABS( zu - zw(ksurf) - z_ag(t,n) ), DIM = 1 ) - 1 … … 655 652 vmea(l)%j(ns) = js 656 653 vmea(l)%k(ns) = ks 657 ! write(9,*) TRIM( vmea(l)%feature_type), l, "ns", ns, "ijk", vmea(l)%i(ns), vmea(l)%j(ns), vmea(l)%k(ns)658 654 ENDIF 659 655 ! … … 713 709 INTEGER(iwp) :: mm, j, i 714 710 715 ! write(9,*) "sampling"716 ! flush(9)717 711 ! 718 712 !-- Loop over all stations. For each possible variable loop over all … … 723 717 !-- the same indices for scalar and velocity components are used. 724 718 !-- ToDo: Revise this later. 725 !DO m = 1, vmea(l)%ns726 !j = vmea(l)%j(m)727 !i = vmea(l)%i(m)719 DO m = 1, vmea(l)%ns 720 j = vmea(l)%j(m) 721 i = vmea(l)%i(m) 728 722 ! 729 723 ! IF ( i >= nxl .AND. i <= nxr .AND. & … … 731 725 ! IF ( surf_def_h(0)%start_index(j,i) <= & 732 726 ! surf_def_h(0)%end_index(j,i) ) THEN 733 !734 ! write(9,*) "sampled"735 ! flush(9)736 727 ! mm = surf_def_h(0)%end_index(j,i) 737 728 ! … … 763 754 ! ENDDO 764 755 ! ENDIF 765 !ENDDO756 ENDDO 766 757 767 758 ENDDO
Note: See TracChangeset
for help on using the changeset viewer.