Changeset 2287 for trunk/MESOSCALE


Ignore:
Timestamp:
Apr 15, 2020, 3:07:19 PM (5 years ago)
Author:
mlefevre
Message:

MESOSCALE. Corrections of local time calculations for Venus mesoscale and LES model.

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  
    4848    !
    4949  IF (JULYR .ne. 9999) THEN
    50     JH_cur_split = (GMT + elaps/420000.) !! universal time (0<JH_cur_split<1): JH_cur_split=0.5 at 12:00 UT
     50    JH_cur_split = (GMT + elaps/421200.) !! universal time (0<JH_cur_split<1): JH_cur_split=0.5 at 12:00 UT
    5151    JH_cur_split = MODULO(JH_cur_split,24.)   !! the two arguments of MODULO must be of the same type
    5252    JH_cur_split = JH_cur_split / 24.
    53     JD_cur = (JULDAY - 1 + INT((420000.0*GMT+elaps)/1.008e7))
     53    JD_cur = (JULDAY - 1 + INT((421200.*GMT+elaps)/10108800.))
    5454    JD_cur = MODULO(int(JD_cur),2)
    55     MY = (JULYR-2000) + (1.008e7*(JULDAY - 1)+420000.0*GMT+elaps)/2.016e7
     55    MY = (JULYR-2000) + (10108800.*(JULDAY - 1)+421200.*GMT+elaps)/20217600.
    5656    MY = INT(MY)
    5757  ELSE
    58     JH_cur_split = lct_input - lon_input / 15. + elaps/(4200.)
    59     JH_cur_split = MODULO(JH_cur_split,2808.)
    60     JH_cur_split = JH_cur_split / 2808.
     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.
    6161    print*,'JH_cur_split',JH_cur_split
    6262    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  
    5757!****VNEUS
    5858      !JULDAYV=MODULO(JULDAYV,2400.)
    59       !GMT=((JULDAYV/100.))+(nh+FLOAT(ni)/13.+FLOAT(ns)/117.)/420000.
     59      !GMT=((JULDAYV/100.))+(nh+FLOAT(ni)/13.+FLOAT(ns)/117.)/421200.
    6060      !GMT=MODULO(GMT,24.)
    6161
     
    104104!****VENUS
    105105     !JULDAYV=MODULO(JULDAYV,2400.)
    106      !GMT=((JULDAYv/100.))+(nh+FLOAT(ni)/13.+FLOAT(ns)/117.)/420000.
     106     !GMT=((JULDAYv/100.))+(nh+FLOAT(ni)/13.+FLOAT(ns)/117.)/421200..
    107107     !GMT=MODULO(GMT,24.)
    108108
     
    220220      mday(11) = 51
    221221      mday(12) = 56
    222 !     maday=24 !VENUS
     222!     mday=24 !VENUS
    223223     
    224224      !  Break down old hdate into parts
Note: See TracChangeset for help on using the changeset viewer.