Changeset 3413 for LMDZ6/branches/DYNAMICO-conv/libf/misc
- Timestamp:
- Nov 12, 2018, 1:52:29 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/DYNAMICO-conv/libf/misc/wxios.F90
r3411 r3413 152 152 !$OMP MASTER 153 153 !Initialisation du contexte: 154 !!CALL xios_context_initialize(g_ctx_name, g_comm) 154 155 CALL xios_context_initialize(g_ctx_name, COMM_LMDZ_PHY) 155 156 CALL xios_get_handle(g_ctx_name, xios_ctx) !Récupération … … 301 302 CALL xios_set_domain_attr_hdl(dom, nj_glo=nbp_lat, jbegin=jj_begin-1, nj=jj_nb, data_dim=2) 302 303 CALL xios_set_domain_attr_hdl(dom, lonvalue_1d=io_lon(1:nbp_lon), latvalue_1d=io_lat(jj_begin:jj_end)) 304 CALL xios_set_domain_attr("dom_out", domain_ref=dom_id) 303 305 304 306 IF (.NOT.is_sequential) THEN … … 332 334 USE mod_phys_lmdz_para 333 335 USE nrtype, ONLY : PI 336 USE ioipsl_getin_p_mod, ONLY : getin_p 334 337 IMPLICIT NONE 335 338 CHARACTER(len=*),INTENT(IN) :: dom_id ! domain identifier … … 339 342 REAL :: boundslat_mpi(klon_mpi,nvertex) 340 343 INTEGER :: ind_cell_glo_mpi(klon_mpi) 341 TYPE(xios_domain group) :: dom342 344 TYPE(xios_domain) :: dom 345 LOGICAL :: remap_output 343 346 344 347 CALL gather_omp(longitude*180/PI,lon_mpi) … … 348 351 CALL gather_omp(ind_cell_glo,ind_cell_glo_mpi) 349 352 353 remap_output=.TRUE. 354 CALL getin_p("remap_output",remap_output) 350 355 351 356 !$OMP MASTER 352 CALL xios_get_domain group_handle(dom_id, dom)357 CALL xios_get_domain_handle(dom_id, dom) 353 358 354 359 !On parametrise le domaine: … … 357 362 bounds_lon_1d=TRANSPOSE(boundslon_mpi), bounds_lat_1d=TRANSPOSE(boundslat_mpi) ) 358 363 CALL xios_set_attr(dom, i_index=ind_cell_glo_mpi(:)-1) 364 IF (remap_output) THEN 365 CALL xios_set_domain_attr("dom_out", domain_ref="dom_regular") 366 CALL xios_set_fieldgroup_attr("dom_out", domain_ref="dom_regular") 367 CALL xios_set_fieldgroup_attr("remap_expr", expr="@this_ref") 368 ENDIF 359 369 !$OMP END MASTER 360 370
Note: See TracChangeset
for help on using the changeset viewer.