Changeset 2408 for LMDZ5/branches/testing/libf/phylmd/phys_output_mod.F90
- Timestamp:
- Dec 14, 2015, 11:43:09 AM (9 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 2293-2295,2297,2299-2302,2305-2313,2315,2317-2380,2382-2396
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/libf/phylmd/phys_output_mod.F90
r2187 r2408 36 36 USE iophy 37 37 USE dimphy 38 USE infotrac 38 USE infotrac_phy, ONLY: nqtot, nqo, niadv, tname, ttext 39 39 USE ioipsl 40 USE phys_cal_mod, only : hour 40 USE phys_cal_mod, only : hour, calend 41 41 USE mod_phys_lmdz_para 42 42 USE aero_mod, only : naero_spc,name_aero … … 44 44 USE surface_data, ONLY : ok_snow 45 45 USE phys_output_ctrlout_mod 46 USE mod_grid_phy_lmdz, only: klon_glo 47 46 USE mod_grid_phy_lmdz, only: klon_glo,nbp_lon,nbp_lat 47 USE print_control_mod, ONLY: prt_level,lunout 48 USE vertical_layers_mod, ONLY: ap,bp,preff,presnivs 49 USE time_phylmdz_mod, ONLY: day_ini, itau_phy, start_time, annee_ref, day_ref 48 50 #ifdef CPP_XIOS 49 51 ! ug Pour les sorties XIOS … … 52 54 53 55 IMPLICIT NONE 54 include "dimensions.h"55 include "temps.h"56 56 include "clesphys.h" 57 57 include "thermcell.h" 58 include "comvert.h"59 include "iniprint.h"60 58 61 59 ! ug Nouveaux arguments n\'ecessaires au histwrite_mod: … … 69 67 REAL, DIMENSION(klon, klev+1), INTENT(IN) :: paprs 70 68 REAL, DIMENSION(klon,klev,nqtot), INTENT(IN):: qx, d_qx 71 REAL, DIMENSION(klon, llm), INTENT(IN) :: zmasse69 REAL, DIMENSION(klon, klev), INTENT(IN) :: zmasse 72 70 73 71 … … 106 104 CHARACTER(LEN=2) :: bb3 107 105 CHARACTER(LEN=6) :: type_ocean 108 INTEGER, DIMENSION( iim*jjmp1) :: ndex2d109 INTEGER, DIMENSION( iim*jjmp1*klev) :: ndex3d106 INTEGER, DIMENSION(nbp_lon*jjmp1) :: ndex2d 107 INTEGER, DIMENSION(nbp_lon*jjmp1*klev) :: ndex3d 110 108 INTEGER :: imin_ins, imax_ins 111 109 INTEGER :: jmin_ins, jmax_ins … … 290 288 WRITE(lunout,*)'Alt approx des couches pour une haut d echelle de 8km = ',Alt(1:klev) 291 289 ! endif 290 291 ecrit_files(7) = ecrit_files(1) 292 ecrit_files(8) = ecrit_files(2) 293 ecrit_files(9) = ecrit_files(3) 294 292 295 DO iff=1,nfiles 293 296 … … 343 346 IF (phys_out_regfkey(iff)) then 344 347 imin_ins=1 345 imax_ins= iim348 imax_ins=nbp_lon 346 349 jmin_ins=1 347 350 jmax_ins=jjmp1 348 351 349 352 ! correction abderr 350 do i=1, iim353 do i=1,nbp_lon 351 354 WRITE(lunout,*)'io_lon(i)=',io_lon(i) 352 355 IF (io_lon(i).le.phys_out_lonmin(iff)) imin_ins=i … … 367 370 io_lat(jmax_ins),io_lat(jmin_ins) 368 371 369 CALL histbeg(phys_out_filenames(iff), iim,io_lon,jjmp1,io_lat, &372 CALL histbeg(phys_out_filenames(iff),nbp_lon,io_lon,jjmp1,io_lat, & 370 373 imin_ins,imax_ins-imin_ins+1, & 371 374 jmin_ins,jmax_ins-jmin_ins+1, & … … 418 421 DO iq=nqo+1,nqtot 419 422 iiq=niadv(iq) 420 o_trac(iq-nqo) = ctrl_out((/ 4, 5, 1, 1, 1, 10, 11, 11, 11 /), &423 o_trac(iq-nqo) = ctrl_out((/ 4, 5, 5, 5, 10, 10, 11, 11, 11 /), & 421 424 tname(iiq),'Tracer '//ttext(iiq), "-", & 422 425 (/ '', '', '', '', '', '', '', '', '' /)) … … 523 526 use ioipsl 524 527 USE phys_cal_mod 528 USE time_phylmdz_mod, ONLY: day_ref, annee_ref 529 USE print_control_mod, ONLY: lunout 525 530 526 531 IMPLICIT NONE … … 531 536 real :: ttt,xxx,timestep,dayseconde,dtime 532 537 parameter (dayseconde=86400.) 533 include "temps.h"534 include "comconst.h"535 include "iniprint.h"536 538 537 539 ipos=scan(str,'0123456789.',.TRUE.) … … 540 542 WRITE(lunout,*) "ipos = ", ipos 541 543 WRITE(lunout,*) "il = ", il 542 if (ipos == 0) call abort_ gcm("convers_timesteps", "bad str", 1)544 if (ipos == 0) call abort_physic("convers_timesteps", "bad str", 1) 543 545 read(str(1:ipos),*) ttt 544 546 WRITE(lunout,*)ttt … … 568 570 END MODULE phys_output_mod 569 571 572
Note: See TracChangeset
for help on using the changeset viewer.