Changeset 3904
- Timestamp:
- Apr 16, 2019 6:22:51 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/virtual_measurement_mod.f90
r3876 r3904 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Rotate coordinates of stations by given rotation_angle 28 ! 29 ! 3876 2019-04-08 18:41:49Z knoop 27 30 ! Remove print statement 28 31 ! … … 82 85 USE arrays_3d, & 83 86 ONLY: q, pt, u, v, w, zu, zw 87 88 USE basic_constants_and_equations_mod, & 89 ONLY: pi 84 90 85 91 USE chem_gasphase_mod, & … … 696 702 !-- First, compute relative x- and y-coordinates with respect to the 697 703 !-- lower-left origin of the model domain, which is the difference 698 !-- betwe n UTM coordinates. Note, if the origin is not correct, the704 !-- between UTM coordinates. Note, if the origin is not correct, the 699 705 !-- virtual sites will be misplaced. 700 706 e_utm(t,1:dim_ntime) = e_utm(t,1:dim_ntime) - init_model%origin_x 701 707 n_utm(t,1:dim_ntime) = n_utm(t,1:dim_ntime) - init_model%origin_y 708 e_utm(t,1:dim_ntime) = COS( init_model%rotation_angle * pi / 180.0_wp ) & 709 * e_utm(t,1:dim_ntime) & 710 - SIN( init_model%rotation_angle * pi / 180.0_wp ) & 711 * n_utm(t,1:dim_ntime) 712 n_utm(t,1:dim_ntime) = SIN( init_model%rotation_angle * pi / 180.0_wp ) & 713 * e_utm(t,1:dim_ntime) & 714 + COS( init_model%rotation_angle * pi / 180.0_wp ) & 715 * n_utm(t,1:dim_ntime) 702 716 ! 703 717 !-- Determine the individual time coordinate length for each station and … … 1078 1092 ONLY: exner, pt, q, u, v, w 1079 1093 1080 USE basic_constants_and_equations_mod, &1081 ONLY: pi1082 1083 1094 USE radiation_model_mod, & 1084 1095 ONLY: radiation
Note: See TracChangeset
for help on using the changeset viewer.