Changeset 1575 for LMDZ5/trunk/libf/phylmd/phys_output_mod.F90
- Timestamp:
- Sep 21, 2011, 3:57:48 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/phys_output_mod.F90
r1574 r1575 631 631 include "thermcell.h" 632 632 include "comvert.h" 633 include "iniprint.h" 633 634 634 635 real,dimension(klon),intent(in) :: rlon … … 687 688 real, dimension(nfiles), save :: phys_out_latmax = (/ 90., 90., 90., 90., 90., 90. /) 688 689 689 print*,'Debut phys_output_mod.F90'690 write(lunout,*) 'Debut phys_output_mod.F90' 690 691 ! Initialisations (Valeurs par defaut 691 692 … … 761 762 type_ecri_files(:)=type_ecri(:) 762 763 763 print*,'phys_out_lonmin=',phys_out_lonmin764 print*,'phys_out_lonmax=',phys_out_lonmax765 print*,'phys_out_latmin=',phys_out_latmin766 print*,'phys_out_latmax=',phys_out_latmax767 print*,'phys_out_filenames=',phys_out_filenames768 print*,'phys_out_filetypes=',type_ecri769 print*,'phys_out_filekeys=',clef_files770 print*,'phys_out_filestations=',clef_stations771 print*,'phys_out_filelevels=',lev_files764 write(lunout,*)'phys_out_lonmin=',phys_out_lonmin 765 write(lunout,*)'phys_out_lonmax=',phys_out_lonmax 766 write(lunout,*)'phys_out_latmin=',phys_out_latmin 767 write(lunout,*)'phys_out_latmax=',phys_out_latmax 768 write(lunout,*)'phys_out_filenames=',phys_out_filenames 769 write(lunout,*)'phys_out_filetypes=',type_ecri 770 write(lunout,*)'phys_out_filekeys=',clef_files 771 write(lunout,*)'phys_out_filestations=',clef_stations 772 write(lunout,*)'phys_out_filelevels=',lev_files 772 773 773 774 !!!!!!!!!!!!!!!!!!!!!!! Boucle sur les fichiers !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! … … 785 786 enddo 786 787 ! if(prt_level.ge.1) then 787 print*,'Ap Hybrid = ',Ahyb(1:klev)788 print*,'Bp Hybrid = ',Bhyb(1:klev)789 print*,'Alt approx des couches pour une haut d echelle de 8km = ',Alt(1:klev)788 write(lunout,*)'Ap Hybrid = ',Ahyb(1:klev) 789 write(lunout,*)'Bp Hybrid = ',Bhyb(1:klev) 790 write(lunout,*)'Alt approx des couches pour une haut d echelle de 8km = ',Alt(1:klev) 790 791 ! endif 791 792 DO iff=1,nfiles … … 799 800 call convers_timesteps(chtimestep(iff),dtime,ecrit_files(iff)) 800 801 endif 801 print*,'ecrit_files(',iff,')= ',ecrit_files(iff)802 write(lunout,*)'ecrit_files(',iff,')= ',ecrit_files(iff) 802 803 803 804 zoutm(iff) = ecrit_files(iff) ! Frequence ou l on ecrit en seconde … … 817 818 ! correction abderr 818 819 do i=1,iim 819 print*,'io_lon(i)=',io_lon(i)820 write(lunout,*)'io_lon(i)=',io_lon(i) 820 821 if (io_lon(i).le.phys_out_lonmin(iff)) imin_ins=i 821 822 if (io_lon(i).le.phys_out_lonmax(iff)) imax_ins=i+1 … … 823 824 824 825 do j=1,jjmp1 825 print*,'io_lat(j)=',io_lat(j)826 write(lunout,*)'io_lat(j)=',io_lat(j) 826 827 if (io_lat(j).ge.phys_out_latmin(iff)) jmax_ins=j+1 827 828 if (io_lat(j).ge.phys_out_latmax(iff)) jmin_ins=j 828 829 enddo 829 830 830 print*,'On stoke le fichier histoire numero ',iff,' sur ', &831 write(lunout,*)'On stoke le fichier histoire numero ',iff,' sur ', & 831 832 imin_ins,imax_ins,jmin_ins,jmax_ins 832 print*,'longitudes : ', &833 write(lunout,*)'longitudes : ', & 833 834 io_lon(imin_ins),io_lon(imax_ins), & 834 835 'latitudes : ', & … … 843 844 else if (clef_stations(iff)) THEN 844 845 845 print*,'phys_output_mod phys_out_filenames=',phys_out_filenames(iff)846 write(lunout,*)'phys_output_mod phys_out_filenames=',phys_out_filenames(iff) 846 847 847 848 call histbeg_phy_all(rlon,rlat,pim,tabij,ipt,jpt,plon,plat,plon_bounds,plat_bounds, & … … 1709 1710 1710 1711 ENDDO ! iff 1711 print*,'Fin phys_output_mod.F90'1712 write(lunout,*)'Fin phys_output_mod.F90' 1712 1713 end subroutine phys_output_open 1713 1714 … … 1841 1842 include "temps.h" 1842 1843 include "comconst.h" 1844 include "iniprint.h" 1843 1845 1844 1846 ipos=scan(str,'0123456789.',.true.) 1845 1847 ! 1846 1848 il=len_trim(str) 1847 print*,ipos,il1849 write(lunout,*)ipos,il 1848 1850 read(str(1:ipos),*) ttt 1849 print*,ttt1851 write(lunout,*)ttt 1850 1852 type=str(ipos+1:il) 1851 1853 … … 1857 1859 if ( type == 'day'.or.type == 'days'.or.type == 'jours'.or.type == 'jour' ) timestep = ttt * dayseconde 1858 1860 if ( type == 'mounths'.or.type == 'mth'.or.type == 'mois' ) then 1859 print*,'annee_ref,day_ref mon_len',annee_ref,day_ref,ioget_mon_len(annee_ref,day_ref)1861 write(lunout,*)'annee_ref,day_ref mon_len',annee_ref,day_ref,ioget_mon_len(annee_ref,day_ref) 1860 1862 timestep = ttt * dayseconde * mth_len 1861 1863 endif … … 1865 1867 if ( type == 'TS' ) timestep = ttt * dtime 1866 1868 1867 print*,'type = ',type1868 print*,'nb j/h/m = ',ttt1869 print*,'timestep(s)=',timestep1869 write(lunout,*)'type = ',type 1870 write(lunout,*)'nb j/h/m = ',ttt 1871 write(lunout,*)'timestep(s)=',timestep 1870 1872 1871 1873 END SUBROUTINE convers_timesteps
Note: See TracChangeset
for help on using the changeset viewer.