Ignore:
Timestamp:
Nov 18, 2022, 2:41:55 PM (2 years ago)
Author:
fhourdin
Message:

Details pour la fonctionalie Replay

Location:
LMDZ6/trunk/libf/phylmd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/dyn1d/replay1d.F90

    r4113 r4350  
    11PROGRAM rejouer
    22
    3   USE mod_const_mpi, ONLY: comm_lmdz
    4   USE inigeomphy_mod, ONLY: inigeomphy
    5  USE comvert_mod, ONLY: presnivs
     3USE mod_const_mpi, ONLY: comm_lmdz
     4USE inigeomphy_mod, ONLY: inigeomphy
     5USE comvert_mod, ONLY: presnivs
    66USE comvert_mod, only :  preff, pa
     7USE ioipsl, only: getin
     8
    79
    810
     
    1719
    1820integer ntime
    19 integer jour0,mois0,an0
    20 integer it
     21integer jour0,mois0,an0,day_step,anneeref,dayref
    2122integer klev,klon
     23CHARACTER (len=10) :: calend
     24CHARACTER(len=20) :: calendrier
     25
    2226
    2327!---------------------------------------------------------------------
     
    3135
    3236preff=101325.
     37!preff=100000.
    3338pa=50000.
    34 open(82,file='dump_param.bin',form='unformatted',status='old')
    3539  CALL disvert()
    3640  CALL inigeomphy(1,1,llm, &
     
    4347
    4448CALL suphel
    45 ntime=100
    46 jour0=1
    47 mois0=1
    48 an0=2000
     49!ntime=4320
     50ntime=10000000
     51dayref=1
     52anneeref=2000
     53call getin('dayref',dayref)
     54call getin('anneeref',anneeref)
     55call getin('calend',calend)
     56call getin('day_step',day_step)
     57calendrier=calend
     58if ( calendrier == "earth_360d" ) calendrier="360d"
     59
     60
     61jour0=dayref
     62mois0=(jour0-1)/30+1
     63jour0=jour0-30*((jour0-1)/30)
     64an0=anneeref
     65
     66!print*,"REPLAY1D jour0,mois0,an0",jour0,mois0,an0
     67
     68
    4969klon=1
    5070klev=llm
    51 call iotd_ini('phys.nc',1,1,klev,0.,0.,presnivs,jour0,mois0,an0,0.,900.,'360d')
     71call iotd_ini('phys.nc',1,1,klev,0.,0.,presnivs,jour0,mois0,an0,0.,86400./day_step,calendrier)
     72! Consistent with ... CALL iophys_ini(600.)
    5273
    5374!---------------------------------------------------------------------
    5475! Initialisation de la parametrisation
    5576!---------------------------------------------------------------------
    56       call get_ini_module
     77call get_ini_module
    5778
    5879!---------------------------------------------------------------------
    5980! Boucle en temps sur l'appel à la parametrisation
    6081!---------------------------------------------------------------------
    61       DO it=1,ntime
    62          print*,'Pas de temps ',it,klon,klev
    63          call call_param_replay(klon,klev)
    64       ENDDO
    65       END
     82call call_param_replay(klon,klev)
    6683
     84end
    6785
    6886!---------------------------------------------------------------------
  • LMDZ6/trunk/libf/phylmd/iophys.F90

    r4117 r4350  
    170170mois0=day_ref/30+1
    171171an0=annee_ref
    172 t0=(day_ini-1)*RDAY
     172!FH BIZARE QUAND 1D ...  t0=(day_ini-1)*RDAY
     173t0=0.
    173174calendrier=calend
    174 
    175175if ( calendrier == "earth_360d" ) calendrier="360d"
     176
     177print*,'iophys_ini annee_ref day_ref',annee_ref,day_ref,day_ini,calend,t0
     178
    176179
    177180call iotd_ini('phys.nc', &
Note: See TracChangeset for help on using the changeset viewer.