Changeset 2287
- Timestamp:
- Apr 15, 2020, 3:07:19 PM (5 years ago)
- Location:
- trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/phys/dynphy_wrf_venus_lmd_new/update_inputs_physiq_mod.F
r2277 r2287 48 48 ! 49 49 IF (JULYR .ne. 9999) THEN 50 JH_cur_split = (GMT + elaps/42 0000.) !! universal time (0<JH_cur_split<1): JH_cur_split=0.5 at 12:00 UT50 JH_cur_split = (GMT + elaps/421200.) !! universal time (0<JH_cur_split<1): JH_cur_split=0.5 at 12:00 UT 51 51 JH_cur_split = MODULO(JH_cur_split,24.) !! the two arguments of MODULO must be of the same type 52 52 JH_cur_split = JH_cur_split / 24. 53 JD_cur = (JULDAY - 1 + INT((42 0000.0*GMT+elaps)/1.008e7))53 JD_cur = (JULDAY - 1 + INT((421200.*GMT+elaps)/10108800.)) 54 54 JD_cur = MODULO(int(JD_cur),2) 55 MY = (JULYR-2000) + (1 .008e7*(JULDAY - 1)+420000.0*GMT+elaps)/2.016e755 MY = (JULYR-2000) + (10108800.*(JULDAY - 1)+421200.*GMT+elaps)/20217600. 56 56 MY = INT(MY) 57 57 ELSE 58 JH_cur_split = lct_input - lon_input / 15. + elaps/(42 00.)59 JH_cur_split = MODULO(JH_cur_split,2 808.)60 JH_cur_split = JH_cur_split / 2 808.58 JH_cur_split = lct_input - lon_input / 15. + elaps/(421200.) 59 JH_cur_split = MODULO(JH_cur_split,24.) 60 JH_cur_split = JH_cur_split / 24. 61 61 print*,'JH_cur_split',JH_cur_split 62 62 JD_cur = INT((3700*(lct_input - lon_input / 15.) +elaps)/88800) -
trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/share/module_date_time.F
r2038 r2287 57 57 !****VNEUS 58 58 !JULDAYV=MODULO(JULDAYV,2400.) 59 !GMT=((JULDAYV/100.))+(nh+FLOAT(ni)/13.+FLOAT(ns)/117.)/42 0000.59 !GMT=((JULDAYV/100.))+(nh+FLOAT(ni)/13.+FLOAT(ns)/117.)/421200. 60 60 !GMT=MODULO(GMT,24.) 61 61 … … 104 104 !****VENUS 105 105 !JULDAYV=MODULO(JULDAYV,2400.) 106 !GMT=((JULDAYv/100.))+(nh+FLOAT(ni)/13.+FLOAT(ns)/117.)/42 0000.106 !GMT=((JULDAYv/100.))+(nh+FLOAT(ni)/13.+FLOAT(ns)/117.)/421200.. 107 107 !GMT=MODULO(GMT,24.) 108 108 … … 220 220 mday(11) = 51 221 221 mday(12) = 56 222 ! m aday=24 !VENUS222 ! mday=24 !VENUS 223 223 224 224 ! Break down old hdate into parts
Note: See TracChangeset
for help on using the changeset viewer.