Changeset 1229 for LMDZ4/branches
- Timestamp:
- Aug 17, 2009, 5:11:37 PM (15 years ago)
- Location:
- LMDZ4/branches/LMDZ4-dev
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/branches/LMDZ4-dev/libf/phylmd/clesphys.h
r1227 r1229 44 44 !IM lev_histmth : niveau sorties mensuelles 45 45 INTEGER lev_histhf, lev_histday, lev_histmth 46 Integer lev_histins, lev_histLES 46 47 CHARACTER(len=4) type_run 47 48 ! aer_type: pour utiliser un fichier constant dans readaerosol … … 65 66 & , f_cdrag_ter,f_cdrag_oce,f_rugoro & 66 67 & , lev_histhf, lev_histday, lev_histmth & 68 & , lev_histins, lev_histLES & 67 69 & , type_run, ok_isccp, ok_regdyn & 68 70 & , lonmin_ins, lonmax_ins, latmin_ins, latmax_ins & -
LMDZ4/branches/LMDZ4-dev/libf/phylmd/conf_phys.F90
r1227 r1229 130 130 REAL, SAVE :: fmagic_omp, pmagic_omp 131 131 INTEGER,SAVE :: iflag_pbl_omp,lev_histhf_omp,lev_histday_omp,lev_histmth_omp 132 Integer,save :: lev_histins_omp, lev_histLES_omp 132 133 CHARACTER*4, SAVE :: type_run_omp 133 134 LOGICAL,SAVE :: ok_isccp_omp … … 1012 1013 lev_histmth_omp = 2 1013 1014 call getin('lev_histmth',lev_histmth_omp) 1014 1015 ! 1016 !Config Key = lev_histins 1017 !Config Desc = 1018 !Config Def = 1 1019 !Config Help = 1020 ! 1021 lev_histins_omp = 1 1022 call getin('lev_histins',lev_histins_omp) 1023 ! 1024 !Config Key = lev_histLES 1025 !Config Desc = 1026 !Config Def = 1 1027 !Config Help = 1028 ! 1029 lev_histLES_omp = 1 1030 call getin('lev_histLES',lev_histLES_omp) 1015 1031 ! 1016 1032 !Config Key = type_run … … 1335 1351 lev_histday = lev_histday_omp 1336 1352 lev_histmth = lev_histmth_omp 1353 lev_histins = lev_histins_omp 1354 lev_histLES = lev_histLES_omp 1337 1355 1338 1356 type_ocean = type_ocean_omp … … 1504 1522 write(numout,*)' lev_histday = ',lev_histday 1505 1523 write(numout,*)' lev_histmth = ',lev_histmth 1524 write(numout,*)' lev_histins = ',lev_histins 1525 write(numout,*)' lev_histLES = ',lev_histLES 1506 1526 write(numout,*)' iflag_pbl = ', iflag_pbl 1507 1527 write(numout,*)' iflag_thermals = ', iflag_thermals -
LMDZ4/branches/LMDZ4-dev/libf/phylmd/phys_output_mod.F90
r1218 r1229 488 488 CHARACTER(len=3) :: ctetaSTD(nbteta) 489 489 real, dimension(nfiles) :: ecrit_files 490 CHARACTER(len=20), dimension(nfiles) :: name_files490 CHARACTER(len=20), dimension(nfiles) :: phys_out_filenames 491 491 INTEGER, dimension(iim*jjmp1) :: ndex2d 492 492 INTEGER, dimension(iim*jjmp1*klev) :: ndex3d 493 493 integer :: imin_ins, imax_ins 494 494 integer :: jmin_ins, jmax_ins 495 CHARACTER(len=20), dimension(nfiles) :: type_ecri_files 495 integer, dimension(nfiles) :: phys_out_levmin, phys_out_levmax 496 integer, dimension(nfiles) :: phys_out_filelevels 497 CHARACTER(len=20), dimension(nfiles) :: type_ecri_files, phys_out_filetypes 496 498 character(len=20), dimension(nfiles) :: chtimestep = (/ 'DefFreq', 'DefFreq','DefFreq', 'DefFreq', 'DefFreq' /) 499 logical, dimension(nfiles) :: phys_out_filekeys 497 500 498 501 !!!!!!!!!! stockage dans une region limitee pour chaque fichier !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 499 ! entre [lonmin_reg,lonmax_reg] et [latmin_reg,latmax_reg] 500 501 logical, dimension(nfiles), save :: ok_reglim = (/ .false., .false., .false., .false., .true. /) 502 real, dimension(nfiles), save :: lonmin_reg = (/ 0., -45., 0., 0., -162. /) 503 real, dimension(nfiles), save :: lonmax_reg = (/ 90., 45., 90., 90., -144. /) 504 real, dimension(nfiles), save :: latmin_reg = (/ 0., -45., 0., 0., 7. /) 505 real, dimension(nfiles), save :: latmax_reg = (/ 90., 90., 90., 90., 21. /) 502 ! entre [phys_out_lonmin,phys_out_lonmax] et [phys_out_latmin,phys_out_latmax] 503 504 logical, dimension(nfiles), save :: phys_out_regfkey = (/ .false., .false., .false., .false., .false. /) 505 real, dimension(nfiles), save :: phys_out_lonmin = (/ -180., -180., -180., -180., -180. /) 506 real, dimension(nfiles), save :: phys_out_lonmax = (/ 180., 180., 180., 180., 180. /) 507 real, dimension(nfiles), save :: phys_out_latmin = (/ -90., -90., -90., -90., -90. /) 508 real, dimension(nfiles), save :: phys_out_latmax = (/ 90., 90., 90., 90., 90. /) 509 510 506 511 507 512 ! … … 510 515 levmax = (/ klev, klev, klev, klev, klev /) 511 516 512 name_files(1) = 'histmth'513 name_files(2) = 'histday'514 name_files(3) = 'histhf'515 name_files(4) = 'histins'516 name_files(5) = 'histLES'517 phys_out_filenames(1) = 'histmth' 518 phys_out_filenames(2) = 'histday' 519 phys_out_filenames(3) = 'histhf' 520 phys_out_filenames(4) = 'histins' 521 phys_out_filenames(5) = 'histLES' 517 522 518 523 type_ecri(1) = 'ave(X)' … … 531 536 lev_files(2) = lev_histday 532 537 lev_files(3) = lev_histhf 533 lev_files(4) = 1534 lev_files(5) = 1538 lev_files(4) = lev_histins 539 lev_files(5) = lev_histLES 535 540 536 541 … … 543 548 !! Lectures des parametres de sorties dans physiq.def 544 549 545 call getin('phys_out_regfkey',ok_reglim) 546 call getin('phys_out_lonmin',lonmin_reg) 547 call getin('phys_out_lonmax',lonmax_reg) 548 call getin('phys_out_latmin',latmin_reg) 549 call getin('phys_out_latmax',latmax_reg) 550 call getin('phys_out_regfkey',phys_out_regfkey) 551 call getin('phys_out_lonmin',phys_out_lonmin) 552 call getin('phys_out_lonmax',phys_out_lonmax) 553 call getin('phys_out_latmin',phys_out_latmin) 554 call getin('phys_out_latmax',phys_out_latmax) 555 phys_out_levmin(:)=levmin(:) 550 556 call getin('phys_out_levmin',levmin) 557 phys_out_levmax(:)=levmax(:) 551 558 call getin('phys_out_levmax',levmax) 552 call getin('phys_out_filenames',name_files) 559 call getin('phys_out_filenames',phys_out_filenames) 560 phys_out_filekeys(:)=clef_files(:) 553 561 call getin('phys_out_filekeys',clef_files) 562 phys_out_filelevels(:)=lev_files(:) 554 563 call getin('phys_out_filelevels',lev_files) 555 564 call getin('phys_out_filetimesteps',chtimestep) 556 call getin('phys_out_filetypes',type_ecri_files) 565 phys_out_filetypes(:)=type_ecri(:) 566 call getin('phys_out_filetypes',type_ecri) 557 567 558 568 type_ecri_files(:)=type_ecri(:) 559 569 560 print*,'phys_out_lonmin=', lonmin_reg561 print*,'phys_out_lonmax=', lonmax_reg562 print*,'phys_out_latmin=', latmin_reg563 print*,'phys_out_latmax=', latmax_reg564 print*,'phys_out_filenames=', name_files570 print*,'phys_out_lonmin=',phys_out_lonmin 571 print*,'phys_out_lonmax=',phys_out_lonmax 572 print*,'phys_out_latmin=',phys_out_latmin 573 print*,'phys_out_latmax=',phys_out_latmax 574 print*,'phys_out_filenames=',phys_out_filenames 565 575 print*,'phys_out_filetypes=',type_ecri 566 576 print*,'phys_out_filekeys=',clef_files … … 604 614 !!!!!!!!!!!!!!!!! Traitement dans le cas ou l'on veut stocker sur un domaine limite !! 605 615 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 606 if ( ok_reglim(iff)) then616 if (phys_out_regfkey(iff)) then 607 617 608 618 imin_ins=1 … … 614 624 do i=1,iim 615 625 print*,'io_lon(i)=',io_lon(i) 616 if (io_lon(i).le. lonmin_reg(iff)) imin_ins=i617 if (io_lon(i).le. lonmax_reg(iff)) imax_ins=i+1626 if (io_lon(i).le.phys_out_lonmin(iff)) imin_ins=i 627 if (io_lon(i).le.phys_out_lonmax(iff)) imax_ins=i+1 618 628 enddo 619 629 620 630 do j=1,jjmp1 621 631 print*,'io_lat(j)=',io_lat(j) 622 if (io_lat(j).ge. latmin_reg(iff)) jmax_ins=j+1623 if (io_lat(j).ge. latmax_reg(iff)) jmin_ins=j632 if (io_lat(j).ge.phys_out_latmin(iff)) jmax_ins=j+1 633 if (io_lat(j).ge.phys_out_latmax(iff)) jmin_ins=j 624 634 enddo 625 635 … … 631 641 io_lat(jmax_ins),io_lat(jmin_ins) 632 642 633 CALL histbeg( name_files(iff),iim,io_lon,jjmp1,io_lat, &643 CALL histbeg(phys_out_filenames(iff),iim,io_lon,jjmp1,io_lat, & 634 644 imin_ins,imax_ins-imin_ins+1, & 635 645 jmin_ins,jmax_ins-jmin_ins+1, & … … 637 647 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 638 648 else 639 CALL histbeg_phy( name_files(iff),itau_phy,zjulian,dtime,nhorim(iff),nid_files(iff))649 CALL histbeg_phy(phys_out_filenames(iff),itau_phy,zjulian,dtime,nhorim(iff),nid_files(iff)) 640 650 endif 641 651 -
LMDZ4/branches/LMDZ4-dev/libf/phylmd/physiq.F
r1227 r1229 3239 3239 C est egale a la variation de la physique au pas de temps precedent. 3240 3240 C Donc la somme de ces 2 variations devrait etre nulle. 3241 3241 3242 call diagphy(airephy,ztit,ip_ebil_phy 3242 3243 e , topsw, toplw, solsw, sollw, sens -
LMDZ4/branches/LMDZ4-dev/makegcm
r1206 r1229 552 552 if ( "$veget" == 'true' ) then 553 553 set cppflags="$cppflags -DCPP_VEGET" 554 set link_veget=" -lsechiba -lparameters -lstomate -lorglob -lparallel" 554 # set link_veget=" -lsechiba -lparameters -lstomate -lorglob -lparallel" 555 set link_veget=" -lsechiba -lparameters -lstomate" 555 556 if ( $XNEC || $X8BRODIE || $X6NEC) then 556 set link_veget=" -lsxsechiba -lsxparameters -lsxstomate -lsxorglob -lsxparallel" 557 # set link_veget=" -lsxsechiba -lsxparameters -lsxstomate -lsxorglob -lsxparallel" 558 set link_veget=" -lsxsechiba -lsxparameters -lsxstomate " 557 559 endif 558 560 endif
Note: See TracChangeset
for help on using the changeset viewer.