Changeset 7503 for branches/ORCHIDEE_2_2


Ignore:
Timestamp:
2022-02-28T14:55:58+01:00 (3 years ago)
Author:
josefine.ghattas
Message:

Activate possibility to use forcing files on grid regular_xy such as Safran Lambert Conformal. Done by Jan Polcher and tested by Lucia Rinchiuso. See ticket #830

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ORCHIDEE_2_2/ORCHIDEE/src_parallel/xios_orchidee.f90

    r7265 r7503  
    302302           
    303303       ELSE IF (grid_type==regular_xy ) THEN 
    304           ! Case not yet fully implemented 
    305           CALL ipslerr_p(3,'xios_orchidee_init', 'Implemention for grid_type=regular_xy is not finalized',& 
    306                'Initialization of the domain must be looked over in the code', '') 
    307  
    308 ! Following was done in previous version for case grid_type=regular_xy 
    309 !         ! Local MPI domain 
    310 !          CALL xios_set_domain_attr("domain_landpoints",type="curvilinear", ibegin=0, ni=iim_g, jbegin=jj_begin-1, nj=jj_nb) 
    311 ! 
    312 !          ! Define how data is stored on memory : 1D array for only continental points 
    313 !          CALL xios_set_domain_attr("domain_landpoints",data_dim=1, data_ibegin=0, data_ni=nbp_mpi) 
    314 !          CALL xios_set_domain_attr("domain_landpoints",data_ni=nbp_mpi, data_i_index=kindex_mpi-1)      
    315 ! 
    316 !          ! Define longitudes and latitudes on local MPI domain depending on grid_type 
    317 !          CALL xios_set_domain_attr("domain_landpoints",lonvalue_2d=lon_mpi,latvalue_2d=lat_mpi) 
     304         ! Global domain 
     305          CALL xios_set_domain_attr("domain_landpoints", ni_glo=iim_g, nj_glo=jjm_g) 
     306         ! Local MPI domain 
     307          CALL xios_set_domain_attr("domain_landpoints",type="curvilinear", ibegin=0, ni=iim_g, jbegin=jj_begin-1, nj=jj_nb) 
     308 
     309          ! Define how data is stored on memory : 1D array for only continental points 
     310          CALL xios_set_domain_attr("domain_landpoints",data_dim=1, data_ibegin=0, data_ni=nbp_mpi) 
     311          CALL xios_set_domain_attr("domain_landpoints",data_ni=nbp_mpi, data_i_index=kindex_mpi-1)      
     312 
     313          ! Define longitudes and latitudes on local MPI domain depending on grid_type 
     314          CALL xios_set_domain_attr("domain_landpoints",lonvalue_2d=lon_mpi,latvalue_2d=lat_mpi) 
    318315 
    319316       ELSE IF (grid_type==unstructured) THEN 
Note: See TracChangeset for help on using the changeset viewer.