- Timestamp:
- Dec 10, 2018 9:44:36 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/radiation_model_mod.f90
r3608 r3616 28 28 ! ----------------- 29 29 ! $Id$ 30 ! fix manipulation of time variables in radiation_presimulate_solar_pos 31 ! 32 ! 3608 2018-12-07 12:59:57Z suehring $ 30 33 ! Bugfix radiation output 31 34 ! … … 560 563 561 564 USE date_and_time_mod, & 562 ONLY: calc_date_and_time, d_hours_day, d_seconds_hour, day_of_year, & 563 d_seconds_year, day_of_year_init, time_utc_init, time_utc 565 ONLY: calc_date_and_time, d_hours_day, d_seconds_hour, d_seconds_year,& 566 day_of_year, d_seconds_year, day_of_month, day_of_year_init, & 567 init_date_and_time, month_of_year, time_utc_init, time_utc 564 568 565 569 USE indices, & … … 7969 7973 !------------------------------------------------------------------------------! 7970 7974 SUBROUTINE radiation_presimulate_solar_pos 7975 7971 7976 IMPLICIT NONE 7972 7977 7973 7978 INTEGER(iwp) :: it, i, j 7979 INTEGER(iwp) :: day_of_month_prev,month_of_year_prev 7974 7980 REAL(wp) :: tsrp_prev 7975 7981 REAL(wp) :: simulated_time_prev … … 7989 7995 tsrp_prev = time_since_reference_point 7990 7996 simulated_time_prev = simulated_time 7997 day_of_month_prev = day_of_month 7998 month_of_year_prev = month_of_year 7991 7999 sun_direction = .TRUE. 7992 8000 … … 8007 8015 CALL simulate_pos 8008 8016 ENDDO 8009 8017 ! 8018 !-- Return date and time to its original values 8010 8019 time_since_reference_point = tsrp_prev 8011 8020 simulated_time = simulated_time_prev 8021 day_of_month = day_of_month_prev 8022 month_of_year = month_of_year_prev 8023 CALL init_date_and_time 8012 8024 8013 8025 !-- Allocate global vars which depend on ndsidir
Note: See TracChangeset
for help on using the changeset viewer.