Changeset 295 for LMDZ.3.3/branches/rel-LF
- Timestamp:
- Nov 26, 2001, 2:47:57 PM (23 years ago)
- Location:
- LMDZ.3.3/branches/rel-LF
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ.3.3/branches/rel-LF/libf/bibio/initdynav.F
r177 r295 119 119 . 32, 'ave(X)', t_ops, t_wrt) 120 120 C 121 C Temperature potentielle 122 C 123 call histdef(fileid, 'theta', 'temperature potentielle', 'K', 124 . iip1, jjp1, thoriid, llm, 1, llm, zvertiid, 125 . 32, 'ave(X)', 7200., 7200.) 126 127 128 C 121 129 C Geopotentiel 122 130 C -
LMDZ.3.3/branches/rel-LF/libf/bibio/writedynav.F
r29 r295 71 71 ndex2d = 0 72 72 ok_sync = .TRUE. 73 us = 999.999 74 vs = 999.999 75 tm = 999.999 76 vnat = 999.999 77 unat = 999.999 73 78 74 79 C Passage aux composantes naturelles du vent … … 89 94 call histwrite(histid, 'v', time, vs, 90 95 . iip1*jjp1*llm, ndex3d) 96 C 97 C Temperature potentielle moyennee 98 C 99 call histwrite(histid, 'theta', time, teta, 100 . iip1*jjp1*llm, ndex3d) 91 101 C 92 102 C Temperature moyennee -
LMDZ.3.3/branches/rel-LF/libf/dyn3d/abort_gcm.F
r206 r295 20 20 call histclo 21 21 call restclo 22 c call getin_dump 22 23 c call histclo(2) 23 24 c call histclo(3) -
LMDZ.3.3/branches/rel-LF/libf/dyn3d/gcm.F
r232 r295 306 306 t_ops = iecri * daysec 307 307 t_wrt = iecri * daysec 308 CALL inithist(dynhist_file,day_ini,anne_ini,time_step,309 . t_ops, t_wrt, nqmx, histid, histvid)308 C CALL inithist(dynhist_file,day_ini,anne_ini,time_step, 309 c . t_ops, t_wrt, nqmx, histid, histvid) 310 310 311 311 t_ops = iperiod * time_step … … 595 595 nbetat = nbetatdem 596 596 CALL geopot ( ip1jmp1, teta , pk , pks, phis , phi ) 597 CALL writehist( histid, histvid, nqmx, itau,vcov ,598 , ucov,teta,phi,q,masse,ps,phis)597 c CALL writehist( histid, histvid, nqmx, itau,vcov , 598 c , ucov,teta,phi,q,masse,ps,phis) 599 599 600 600 … … 682 682 nbetat = nbetatdem 683 683 CALL geopot ( ip1jmp1, teta , pk , pks, phis , phi ) 684 CALL writehist( histid, histvid, nqmx, itau,vcov ,685 , ucov,teta,phi,q,masse,ps,phis)684 c CALL writehist( histid, histvid, nqmx, itau,vcov , 685 c , ucov,teta,phi,q,masse,ps,phis) 686 686 ENDIF 687 687 -
LMDZ.3.3/branches/rel-LF/libf/phylmd/clmain.F
r293 r295 197 197 LOGICAL first_appel 198 198 SAVE first_appel 199 DATA first_appel/. true./199 DATA first_appel/.false./ 200 200 LOGICAL debugindex 201 201 SAVE debugindex 202 DATA debugindex/. true./202 DATA debugindex/.false./ 203 203 #include "temps.h" 204 204 … … 354 354 ENDDO 355 355 c 356 write(*,*)'CLMAIN, nsrf, knon =',nsrf, knon356 c write(*,*)'CLMAIN, nsrf, knon =',nsrf, knon 357 357 c 358 358 c variables pour avoir une sortie IOIPSL des INDEX … … 434 434 CALL coefkz2(nsrf, knon, ypaprs, ypplay,yt, 435 435 . ycoefm0, ycoefh0) 436 write(*,*)'Cdrag maximal = ',maxval(ycoefh(:,1)),437 . maxval(ycoefh0(:,1))438 436 DO k = 1, klev 439 437 DO i = 1, knon … … 443 441 ENDDO 444 442 445 write(*,*)'Cdrag maximal = ',maxloc(ycoefh(:,1)),446 . maxval(ycoefh(:,1))447 443 c 448 444 c -
LMDZ.3.3/branches/rel-LF/libf/phylmd/interface_surf.F90
r290 r295 188 188 integer, save :: error 189 189 integer :: ii, index 190 logical,save :: check = . true.190 logical,save :: check = .false. 191 191 real, dimension(klon):: cal, beta, dif_grnd, capsol 192 192 !!$PB real, parameter :: calice=1.0/(5.1444e+06*0.15), tau_gl=86400.*5. … … 332 332 call albsno(klon,knon,dtime,agesno(:),alb_neig(:), precip_snow(:)) 333 333 where (snow(1 : knon) .LT. 0.0001) agesno(1 : knon) = 0. 334 zfra(1:knon) = max(0.0,min(1.0,snow /(snow+10.0)))334 zfra(1:knon) = max(0.0,min(1.0,snow(1:knon)/(snow(1:knon)+10.0))) 335 335 alb_new(1 : knon) = alb_neig(1 : knon) *zfra(1:knon) + & 336 336 & alb_new(1 : knon)*(1.0-zfra(1:knon)) … … 519 519 CALL albsno(klon,knon,dtime,agesno(:),alb_neig(:), precip_snow(:)) 520 520 WHERE (snow(1 : knon) .LT. 0.0001) agesno(1 : knon) = 0. 521 zfra(1:knon) = MAX(0.0,MIN(1.0,snow /(snow+10.0)))521 zfra(1:knon) = MAX(0.0,MIN(1.0,snow(1:knon)/(snow(1:knon)+10.0))) 522 522 alb_new(1 : knon) = alb_neig(1 : knon) *zfra(1:knon) + & 523 523 & 0.6 * (1.0-zfra(1:knon)) … … 589 589 CALL albsno(klon,knon,dtime,agesno(:),alb_neig(:), precip_snow(:)) 590 590 WHERE (snow(1 : knon) .LT. 0.0001) agesno(1 : knon) = 0. 591 zfra(1:knon) = MAX(0.0,MIN(1.0,snow /(snow+10.0)))591 zfra(1:knon) = MAX(0.0,MIN(1.0,snow(1:knon)/(snow(1:knon)+10.0))) 592 592 alb_new(1 : knon) = alb_neig(1 : knon)*zfra(1:knon) + & 593 593 & 0.6 * (1.0-zfra(1:knon)) … … 744 744 character (len = 20) :: modname = 'interfsol' 745 745 character (len = 80) :: abort_message 746 logical,save :: check = . TRUE.746 logical,save :: check = .FALSE. 747 747 real, dimension(klon) :: cal, beta, dif_grnd, capsol 748 748 ! type de couplage dans sechiba … … 1045 1045 cdrag(1:knon) = tq_cdrag(1:knon) 1046 1046 1047 !where(cdrag > 0.01)1048 !cdrag = 0.011049 !endwhere1047 where(cdrag > 0.01) 1048 cdrag = 0.01 1049 endwhere 1050 1050 ! write(*,*)'Cdrag = ',minval(cdrag),maxval(cdrag) 1051 1051 … … 1186 1186 character (len = 20) :: modname = 'interfoce_cpl' 1187 1187 character (len = 80) :: abort_message 1188 logical,save :: check = . true.1188 logical,save :: check = .FALSE. 1189 1189 ! variables pour moyenner les variables de couplage 1190 1190 real, allocatable, dimension(:,:),save :: cpl_sols, cpl_nsol, cpl_rain … … 1715 1715 character (len = 20),save :: fich ='limit.nc' 1716 1716 logical, save :: newlmt = .TRUE. 1717 logical, save :: check = . true.1717 logical, save :: check = .FALSE. 1718 1718 ! Champs lus dans le fichier de CL 1719 1719 real, allocatable , save, dimension(:) :: sst_lu, rug_lu, nat_lu … … 1959 1959 character (len = 20),save :: fich ='limit.nc' 1960 1960 logical,save :: newlmt = .false. 1961 logical,save :: check = . true.1961 logical,save :: check = .FALSE. 1962 1962 ! Champs lus dans le fichier de CL 1963 1963 real, allocatable , save, dimension(:) :: alb_lu, rug_lu … … 2138 2138 REAL, parameter :: chasno = 3.334E+05/(2.3867E+06*0.15) 2139 2139 ! 2140 logical, save :: check = . true.2140 logical, save :: check = .FALSE. 2141 2141 character (len = 20) :: modname = 'calcul_fluxs' 2142 2142 logical, save :: fonte_neige = .false. … … 2495 2495 REAL, parameter :: chasno = 3.334E+05/(2.3867E+06*0.15) 2496 2496 ! 2497 logical, save :: check = . true.2497 logical, save :: check = .FALSE. 2498 2498 character (len = 20) :: modname = 'fonte_neige' 2499 2499 logical, save :: neige_fond = .false. -
LMDZ.3.3/branches/rel-LF/libf/phylmd/physiq.F
r290 r295 371 371 REAL albsollw(klon) 372 372 SAVE albsollw ! albedo du sol total 373 REAL albsol1(klon) 374 SAVE albsol1 ! albedo du sol total 375 REAL albsollw1(klon) 376 SAVE albsollw1 ! albedo du sol total 373 377 374 378 REAL wo(klon,klev) … … 576 580 c 577 581 INTEGER nhori, nvert 578 REAL zsto, zout, zjulian 582 REAL zsto, zout 583 real zjulian 584 save zjulian 579 585 580 586 character*20 modname … … 728 734 ccc ecrit_ins = NINT(86400./dtime *0.25) ! 4 fois par jour 729 735 ecrit_ins = NINT(86400./dtime/48.) ! a chaque pas de temps 736 ecrit_ins = NINT(86400./dtime/12.) ! toutes les deux heures 730 737 IF (ok_instan) THEN 731 738 PRINT*, 'La frequence de sortie instant. est de ', ecrit_ins … … 750 757 endif 751 758 c 759 c 760 c Gestion calendrier 761 762 CALL ymds2ju(anne_ini, 1, 1, 0.0, zjulian) 763 zjulian = zjulian + day_ini 764 752 765 c 753 766 IF (ok_journe) THEN … … 1807 1820 fder = dlw 1808 1821 1809 CALL clmain(dtime,itap, date0,pctsrf,1822 CALL clmain(dtime,itap,zjulian,pctsrf, 1810 1823 e t_seri,q_seri,u_seri,v_seri, 1811 1824 e julien, rmu0, … … 1971 1984 c$$$ . ,bbase,dtvpdt1,dtvpdq1,dplcldt,dplcldr, 1972 1985 c$$$ . pori_con,plcl_con,dtma_con,dtlcl_con) 1973 if ( 1.eq.1) then ! vectorise1986 if (0.eq.1) then ! vectorise 1974 1987 CALL conemav (dtime,paprs,pplay,t_seri,q_seri, 1975 1988 . u_seri,v_seri,tr_seri,nbtr, … … 2197 2210 . + falblw(i,is_sic) * pctsrf(i,is_sic) 2198 2211 ENDDO 2212 ! if (debut) then 2213 ! albsol1 = albsol 2214 ! albsollw1 = albsollw 2215 ! endif 2216 ! albsol = albsol1 2217 ! albsollw = albsollw1 2199 2218 CALL radlwsw ! nouveau rayonnement (compatible Arpege-IFS) 2200 2219 e (dist, rmu0, fract, co2_ppm, solaire, … … 2331 2350 IF (iflag_con.EQ.4) THEN 2332 2351 c on ajoute les tendances calculees par KE43 2352 c$$$ OM on onhibe la convection sur les traceurs 2333 2353 DO iq=1, nqmax-2 ! Sandrine a -3 ??? 2334 DO k = 1, nlev 2335 DO i = 1, klon 2336 tr_seri(i,k,iq) = tr_seri(i,k,iq) + d_tr(i,k,iq) 2337 ENDDO 2338 ENDDO 2354 c$$$ OM on inhibe la convection sur les traceur 2355 c$$$ DO k = 1, nlev 2356 c$$$ DO i = 1, klon 2357 c$$$ tr_seri(i,k,iq) = tr_seri(i,k,iq) + d_tr(i,k,iq) 2358 c$$$ ENDDO 2359 c$$$ ENDDO 2339 2360 WRITE(iqn,'(i2.2)') iq 2340 2361 CALL minmaxqfi(tr_seri(1,1,iq),0.,1.e33,'couche lim iq='//iqn) -
LMDZ.3.3/branches/rel-LF/libf/phylmd/phytrac.F
r235 r295 208 208 s inirnpb 209 209 data first,couchelimite,convection,lessivage,sorties 210 s /.true.,.true.,.true.,.true.,.true./ 210 c$$$ OM Test KE s /.true.,.true.,.true.,.true.,.true./ 211 s /.true.,.true.,.false.,.true.,.true./ 211 212 c 212 213 c====================================================================== -
LMDZ.3.3/branches/rel-LF/liste_des_sources_f90
r227 r295 1 USE IOIPSL2 libf/bibio/ initdynav.F1 USE ioipsl 2 libf/bibio/writedynav.F 3 3 USE IOIPSL 4 4 libf/bibio/initfluxsto.F 5 5 USE IOIPSL 6 6 libf/bibio/inithist.F 7 USE ioipsl8 libf/bibio/ writedynav.F7 USE IOIPSL 8 libf/bibio/initdynav.F 9 9 USE ioipsl 10 10 libf/bibio/writehist.F 11 11 USE IOIPSL 12 12 libf/dyn3d/abort_gcm.F 13 USE ioipsl14 libf/dyn3d/create_limit.F15 USE IOIPSL16 libf/dyn3d/dynredem.F17 USE ioipsl18 libf/dyn3d/etat0_netcdf.F19 13 USE IOIPSL 20 14 libf/dyn3d/fluxstokenc.F 21 15 USE IOIPSL 22 libf/dyn3d/ gcm.F16 libf/dyn3d/dynredem.F 23 17 USE IOIPSL 24 18 libf/dyn3d/gcmtest.F 25 19 USE ioipsl 26 libf/dyn3d/offline.F 20 libf/dyn3d/offlinenc.F 21 USE ioipsl 22 libf/dyn3d/etat0_netcdf.F 23 USE IOIPSL 24 libf/dyn3d/gcm.F 25 use IOIPSL 26 libf/dyn3d/conf_gcm.F 27 27 USE ioipsl 28 28 libf/dyn3d/startvar.F 29 29 USE ioipsl 30 libf/dyn3d/create_limit.F 31 USE ioipsl 30 32 libf/dyn3d/modif_etat0.F 31 use IOIPSL32 libf/dyn3d/conf_gcm.F33 33 USE ioipsl 34 34 libf/phylmd/clmain.F 35 USE IOIPSL36 libf/phylmd/initphysto.F37 35 USE ioipsl 38 36 libf/phylmd/physiq.F 39 37 USE ioipsl 40 libf/phylmd/phystokenc.F41 USE ioipsl42 38 libf/phylmd/phytrac.F 43 39 USE ioipsl 44 libf/phylmd/donneesgrads.F 45 USE IOIPSL 46 libf/phylmd/1DUTILS.h 40 libf/phylmd/phystokenc.F 41 USE IOIPSL 42 libf/phylmd/initphysto.F 43 libf/bibio/writephys.F90 47 44 libf/phylmd/interface_surf.F90 48 45 libf/phylmd/conf_phys.F90 -
LMDZ.3.3/branches/rel-LF/tmp
r227 r295 1 g 2 C 1 clear 2 float0 3 ew 4 R5 -
LMDZ.3.3/branches/rel-LF/tmp90
r227 r295 1 USE IOIPSL2 libf/bibio/ initdynav.F1 USE ioipsl 2 libf/bibio/writedynav.F 3 3 USE IOIPSL 4 4 libf/bibio/initfluxsto.F 5 5 USE IOIPSL 6 6 libf/bibio/inithist.F 7 USE ioipsl8 libf/bibio/ writedynav.F7 USE IOIPSL 8 libf/bibio/initdynav.F 9 9 USE ioipsl 10 10 libf/bibio/writehist.F 11 11 USE IOIPSL 12 12 libf/dyn3d/abort_gcm.F 13 USE ioipsl14 libf/dyn3d/create_limit.F15 USE IOIPSL16 libf/dyn3d/dynredem.F17 USE ioipsl18 libf/dyn3d/etat0_netcdf.F19 13 USE IOIPSL 20 14 libf/dyn3d/fluxstokenc.F 21 15 USE IOIPSL 22 libf/dyn3d/ gcm.F16 libf/dyn3d/dynredem.F 23 17 USE IOIPSL 24 18 libf/dyn3d/gcmtest.F 25 19 USE ioipsl 26 libf/dyn3d/offline.F 20 libf/dyn3d/offlinenc.F 21 USE ioipsl 22 libf/dyn3d/etat0_netcdf.F 23 USE IOIPSL 24 libf/dyn3d/gcm.F 25 use IOIPSL 26 libf/dyn3d/conf_gcm.F 27 27 USE ioipsl 28 28 libf/dyn3d/startvar.F 29 29 USE ioipsl 30 libf/dyn3d/create_limit.F 31 USE ioipsl 30 32 libf/dyn3d/modif_etat0.F 31 use IOIPSL32 libf/dyn3d/conf_gcm.F33 33 USE ioipsl 34 34 libf/phylmd/clmain.F 35 USE IOIPSL36 libf/phylmd/initphysto.F37 35 USE ioipsl 38 36 libf/phylmd/physiq.F 39 37 USE ioipsl 40 libf/phylmd/phystokenc.F41 USE ioipsl42 38 libf/phylmd/phytrac.F 43 39 USE ioipsl 44 libf/phylmd/donneesgrads.F 45 USE IOIPSL 46 libf/phylmd/1DUTILS.h 40 libf/phylmd/phystokenc.F 41 USE IOIPSL 42 libf/phylmd/initphysto.F 43 libf/bibio/writephys.F90 47 44 libf/phylmd/interface_surf.F90 48 45 libf/phylmd/conf_phys.F90
Note: See TracChangeset
for help on using the changeset viewer.