Changeset 3413 for LMDZ6/branches/DYNAMICO-conv/libf/phylmd/physiq_mod.F90
- Timestamp:
- Nov 12, 2018, 1:52:29 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/DYNAMICO-conv/libf/phylmd/physiq_mod.F90
r3411 r3413 258 258 USE climoz_mod 259 259 USE limit_read_mod, ONLY : init_limit_read 260 USE regr_horiz_time_climoz_m, ONLY: regr_horiz_time_climoz 261 USE readaerosol_mod, ONLY : init_aero_fromfile 262 USE readaerosolstrato_m, ONLY : init_readaerosolstrato 260 263 261 264 … … 1195 1198 CALL phys_state_var_init(read_climoz) 1196 1199 CALL phys_output_var_init 1200 IF(read_climoz>=1 .AND. create_etat0_limit) CALL regr_horiz_time_climoz(read_climoz,ok_daily_climoz) 1201 1197 1202 print*, '=================================================' 1198 1203 ! … … 1492 1497 ! 1493 1498 1494 CALL create_climoz(read_climoz) 1499 ! CALL create_climoz(read_climoz) 1500 CALL init_aero_fromfile(flag_aerosol) !! initialise aero from file for XIOS interpolation (unstructured_grid) 1501 CALL init_readaerosolstrato(flag_aerosol_strat) !! initialise aero strato from file for XIOS interpolation (unstructured_grid) 1502 1503 #ifdef CPP_COSP 1504 CALL phys_cosp(itap,phys_tstep,freq_cosp, & 1505 ok_mensuelCOSP,ok_journeCOSP,ok_hfCOSP, & 1506 ecrit_mth,ecrit_day,ecrit_hf, ok_all_xml, missing_val, & 1507 klon,klev,longitude_deg,latitude_deg,presnivs,overlap, & 1508 JrNt,ref_liq,ref_ice, & 1509 pctsrf(:,is_ter)+pctsrf(:,is_lic), & 1510 zu10m,zv10m,pphis, & 1511 zphi,paprs(:,1:klev),pplay,zxtsol,t_seri, & 1512 qx(:,:,ivap),zx_rh,cldfra,rnebcon,flwc,fiwc, & 1513 prfl(:,1:klev),psfl(:,1:klev), & 1514 pmflxr(:,1:klev),pmflxs(:,1:klev), & 1515 mr_ozone,cldtau, cldemi) 1516 #endif 1495 1517 1496 1518 CALL phys_output_write(itap, pdtphys, paprs, pphis, & … … 1504 1526 IF (is_omp_master) CALL xios_update_calendar(1) 1505 1527 #endif 1528 IF(read_climoz>=1 .AND. create_etat0_limit) CALL regr_horiz_time_climoz(read_climoz,ok_daily_climoz) 1506 1529 CALL create_etat0_limit_unstruct 1507 1508 1530 CALL phyetat0 ("startphy.nc",clesphy0,tabcntr0) 1509 1531 … … 1535 1557 ENDIF 1536 1558 1537 CALL printflag( tabcntr0,radpas,ok_journe, &1538 ok_instan, ok_region )1539 !1540 1559 ! IF (ABS(phys_tstep-pdtphys).GT.0.001) THEN 1541 1560 ! WRITE(lunout,*) 'Pas physique n est pas correct',phys_tstep, & … … 4733 4752 ! write(97) u_seri,v_seri,t_seri,q_seri 4734 4753 ! close(97) 4735 ! !$OMP MASTER 4736 IF (read_climoz >= 1) THEN 4737 IF (is_mpi_root) THEN 4738 CALL nf95_close(ncid_climoz) 4739 ENDIF 4740 DEALLOCATE(press_edg_climoz) ! pointer 4741 DEALLOCATE(press_cen_climoz) ! pointer 4742 ENDIF 4743 ! !$OMP END MASTER 4754 4755 IF (is_omp_master) THEN 4756 4757 IF (read_climoz >= 1) THEN 4758 IF (is_mpi_root) CALL nf95_close(ncid_climoz) 4759 DEALLOCATE(press_edg_climoz) ! pointer 4760 DEALLOCATE(press_cen_climoz) ! pointer 4761 ENDIF 4762 4763 ENDIF 4744 4764 #ifdef CPP_XIOS 4745 4765 IF (is_omp_master) CALL xios_context_finalize
Note: See TracChangeset
for help on using the changeset viewer.