Changeset 1211 for LMDZ4/branches/LMDZ4-dev/libf/phylmd
- Timestamp:
- Jul 17, 2009, 5:45:18 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/branches/LMDZ4-dev/libf/phylmd/phys_output_mod.F90
r1198 r1211 508 508 type_ecri_files(1) = 'ave(X)' 509 509 type_ecri_files(2) = 'ave(X)' 510 type_ecri_files(3) = ' inst(X)'510 type_ecri_files(3) = 'ave(X)' 511 511 type_ecri_files(4) = 'inst(X)' 512 type_ecri_files(5) = ' ave(X)'512 type_ecri_files(5) = 'inst(X)' 513 513 514 514 clef_files(1) = ok_mensuel … … 546 546 type_ecri(:) = type_ecri_files(:) 547 547 548 print*,'phys_out_lonmin=',lonmin_reg 549 print*,'phys_out_lonmax=',lonmax_reg 550 print*,'phys_out_latmin=',latmin_reg 551 print*,'phys_out_latmax=',latmax_reg 552 print*,'phys_out_filenames=',name_files 553 print*,'phys_out_filetypes=',type_ecri_files 554 print*,'phys_out_filekeys=',clef_files 555 print*,'phys_out_filelevels=',lev_files 556 print*,'phys_out_filetimesteps=',ecrit_files 557 548 558 !!!!!!!!!!!!!!!!!!!!!!! Boucle sur les fichiers !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 549 559 ! Appel de histbeg et histvert pour creer le fichier et les niveaux verticaux !! … … 568 578 IF (clef_files(iff)) THEN 569 579 570 zoutm(iff) = ecrit_files(iff) ! Frequence ou l on ecrit580 zoutm(iff) = ecrit_files(iff)*86400. ! Frequence ou l on ecrit 571 581 572 582 idayref = day_ref … … 582 592 jmax_ins=jjmp1 583 593 584 ! correction abderr do i=1,iim-1594 ! correction abderr 585 595 do i=1,iim 586 596 print*,'io_lon(i)=',io_lon(i) 587 597 if (io_lon(i).le.lonmin_reg(iff)) imin_ins=i 588 if (io_lon(i).le.lonmax_reg(iff)) imax_ins=i 598 if (io_lon(i).le.lonmax_reg(iff)) imax_ins=i+1 589 599 enddo 590 600 591 do j=1,jjmp1 -1601 do j=1,jjmp1 592 602 print*,'io_lat(j)=',io_lat(j) 593 603 if (io_lat(j).ge.latmin_reg(iff)) jmax_ins=j+1 … … 595 605 enddo 596 606 597 print*,'On stoke le fichier hist sur,', &607 print*,'On stoke le fichier histoire numero ',iff,' sur ', & 598 608 imin_ins,imax_ins,jmin_ins,jmax_ins 599 print*,' On stoke le fichier instantanne sur,', &609 print*,'longitudes : ', & 600 610 io_lon(imin_ins),io_lon(imax_ins), & 601 io_lat(jmin_ins),io_lat(jmax_ins) 611 'latitudes : ', & 612 io_lat(jmax_ins),io_lat(jmin_ins) 602 613 603 614 CALL histbeg(name_files(iff),iim,io_lon,jjmp1,io_lat, & … … 818 829 ! on ecrit u v t q a 850 700 500 200 au niv 3 819 830 820 type_ecri(1) = ' inst(X)'821 type_ecri(2) = ' inst(X)'822 type_ecri(3) = ' inst(X)'831 type_ecri(1) = 'ave(X)' 832 type_ecri(2) = 'ave(X)' 833 type_ecri(3) = 'ave(X)' 823 834 type_ecri(4) = 'inst(X)' 824 835 type_ecri(5) = 'inst(X)' … … 1010 1021 ENDIF ! clef_files 1011 1022 1012 ENDDO ! 1023 ENDDO ! iff 1013 1024 end subroutine phys_output_open 1014 1025 … … 1034 1045 real zstophym 1035 1046 1036 if (type_ecri(iff)=='inst(X)' ) then1047 if (type_ecri(iff)=='inst(X)'.OR.type_ecri(iff)=='once') then 1037 1048 zstophym=zoutm(iff) 1038 1049 else … … 1074 1085 call conf_physoutputs(nomvar,flag_var) 1075 1086 1076 if (type_ecri(iff)=='inst(X)' ) then1087 if (type_ecri(iff)=='inst(X)'.OR.type_ecri(iff)=='once') then 1077 1088 zstophym=zoutm(iff) 1078 1089 else
Note: See TracChangeset
for help on using the changeset viewer.