Changeset 4350 for LMDZ6/trunk/libf/phylmd
- Timestamp:
- Nov 18, 2022, 2:41:55 PM (2 years ago)
- Location:
- LMDZ6/trunk/libf/phylmd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/dyn1d/replay1d.F90
r4113 r4350 1 1 PROGRAM rejouer 2 2 3 4 5 3 USE mod_const_mpi, ONLY: comm_lmdz 4 USE inigeomphy_mod, ONLY: inigeomphy 5 USE comvert_mod, ONLY: presnivs 6 6 USE comvert_mod, only : preff, pa 7 USE ioipsl, only: getin 8 7 9 8 10 … … 17 19 18 20 integer ntime 19 integer jour0,mois0,an0 20 integer it 21 integer jour0,mois0,an0,day_step,anneeref,dayref 21 22 integer klev,klon 23 CHARACTER (len=10) :: calend 24 CHARACTER(len=20) :: calendrier 25 22 26 23 27 !--------------------------------------------------------------------- … … 31 35 32 36 preff=101325. 37 !preff=100000. 33 38 pa=50000. 34 open(82,file='dump_param.bin',form='unformatted',status='old')35 39 CALL disvert() 36 40 CALL inigeomphy(1,1,llm, & … … 43 47 44 48 CALL suphel 45 ntime=100 46 jour0=1 47 mois0=1 48 an0=2000 49 !ntime=4320 50 ntime=10000000 51 dayref=1 52 anneeref=2000 53 call getin('dayref',dayref) 54 call getin('anneeref',anneeref) 55 call getin('calend',calend) 56 call getin('day_step',day_step) 57 calendrier=calend 58 if ( calendrier == "earth_360d" ) calendrier="360d" 59 60 61 jour0=dayref 62 mois0=(jour0-1)/30+1 63 jour0=jour0-30*((jour0-1)/30) 64 an0=anneeref 65 66 !print*,"REPLAY1D jour0,mois0,an0",jour0,mois0,an0 67 68 49 69 klon=1 50 70 klev=llm 51 call iotd_ini('phys.nc',1,1,klev,0.,0.,presnivs,jour0,mois0,an0,0.,900.,'360d') 71 call 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.) 52 73 53 74 !--------------------------------------------------------------------- 54 75 ! Initialisation de la parametrisation 55 76 !--------------------------------------------------------------------- 56 77 call get_ini_module 57 78 58 79 !--------------------------------------------------------------------- 59 80 ! Boucle en temps sur l'appel à la parametrisation 60 81 !--------------------------------------------------------------------- 61 DO it=1,ntime 62 print*,'Pas de temps ',it,klon,klev 63 call call_param_replay(klon,klev) 64 ENDDO 65 END 82 call call_param_replay(klon,klev) 66 83 84 end 67 85 68 86 !--------------------------------------------------------------------- -
LMDZ6/trunk/libf/phylmd/iophys.F90
r4117 r4350 170 170 mois0=day_ref/30+1 171 171 an0=annee_ref 172 t0=(day_ini-1)*RDAY 172 !FH BIZARE QUAND 1D ... t0=(day_ini-1)*RDAY 173 t0=0. 173 174 calendrier=calend 174 175 175 if ( calendrier == "earth_360d" ) calendrier="360d" 176 177 print*,'iophys_ini annee_ref day_ref',annee_ref,day_ref,day_ini,calend,t0 178 176 179 177 180 call iotd_ini('phys.nc', &
Note: See TracChangeset
for help on using the changeset viewer.