Ignore:
Timestamp:
2022-04-14T10:01:23+02:00 (2 years ago)
Author:
josefine.ghattas
Message:

Integrate routing scheme "highres" developped by Jan Polcher, tested and integrated in ORCHIDEE_2_2 by Lucia Rinchiuso. This corresponds to the revision 7574 of perso/lucia.rinchiuso/myORCHIDEE_2_2_r7481. The developements of the routing scheme from branches/ORCHIDEE-ROUTING at revision 7545 are taken into account.

See also ticket #842

File:
1 edited

Legend:

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

    r7510 r7576  
    6262            xios_orchidee_close_definition, & 
    6363            xios_orchidee_send_field, xios_orchidee_recv_field, & 
    64             xios_orchidee_set_file_attr, xios_orchidee_set_field_attr, xios_orchidee_set_fieldgroup_attr, xios_orchidee_setvar 
     64            xios_orchidee_set_file_attr, xios_orchidee_set_field_attr, xios_orchidee_set_fieldgroup_attr, xios_orchidee_setvar, xios_orchidee_addaxis 
    6565 
    6666 
     
    302302           
    303303       ELSE IF (grid_type==regular_xy ) THEN 
    304          ! Global domain 
     304 
     305          ! Global domain 
    305306          CALL xios_set_domain_attr("domain_landpoints", ni_glo=iim_g, nj_glo=jjm_g) 
    306          ! Local MPI domain 
     307          ! Local MPI domain 
    307308          CALL xios_set_domain_attr("domain_landpoints",type="curvilinear", ibegin=0, ni=iim_g, jbegin=jj_begin-1, nj=jj_nb) 
    308309 
     
    387388          CALL xios_set_field_attr("riversret",enabled=.FALSE.) 
    388389          CALL xios_set_field_attr("hydrographs",enabled=.FALSE.) 
     390          CALL xios_set_field_attr("htuhgmon",enabled=.FALSE.) 
    389391          CALL xios_set_field_attr("fastr",enabled=.FALSE.) 
    390392          CALL xios_set_field_attr("slowr",enabled=.FALSE.) 
     
    414416       END IF 
    415417 
    416  
    417418       IF (.NOT. ok_freeze_cwrr) THEN 
    418419          CALL xios_set_field_attr("profil_froz_hydro",enabled=.FALSE.) 
     
    432433          CALL xios_set_field_attr("floodmap",enabled=.FALSE.) 
    433434          CALL xios_set_field_attr("floodh",enabled=.FALSE.)        
    434           CALL xios_set_field_attr("floodout",enabled=.FALSE.)        
     435          CALL xios_set_field_attr("floodout",enabled=.FALSE.) 
     436          CALL xios_set_field_attr("flood_frac",enabled=.FALSE.)        
    435437       END IF 
    436438 
     
    606608       !! 6. Close context 
    607609       ! 
    608        CALL xios_close_context_definition()       
     610       CALL xios_close_context_definition() 
     611       WRITE(numout,*) 'Done xios_orchidee_close_context'       
    609612 
    610613       ! 
     
    667670  END SUBROUTINE xios_orchidee_change_context 
    668671 
     672  !! 
     673  !! ============================================================================================================================== 
     674  !! SUBROUTINE   : xios_orchidee_addaxis 
     675  !! 
     676  !>\BRIEF         Use this subroutine to add axes, needed for nbasmon and nbasmax in routing_highres.f90 
     677  !! 
     678  !! 
     679  !! DESCRIPTION  :\n 
     680  !! 
     681  !! \n 
     682  !_ ================================================================================================================================ 
     683  SUBROUTINE xios_orchidee_addaxis(axname, axlen, axval) 
     684    ! 
     685    ! INPUT variables 
     686    CHARACTER(LEN=*), INTENT(IN)             :: axname 
     687    INTEGER(i_std), INTENT(IN)                :: axlen 
     688    REAL(r_std), DIMENSION(axlen), INTENT(IN) :: axval 
     689    ! 
     690    IF (xios_orchidee_ok .AND. is_omp_root) THEN 
     691       CALL xios_set_axis_attr(axname, n_glo=axlen, VALUE=axval) 
     692    ENDIF 
     693    ! 
     694  END SUBROUTINE xios_orchidee_addaxis 
     695  !! 
     696 
     697 
    669698  !! ============================================================================================================================== 
    670699  !! SUBROUTINE   : xios_orchidee_update_calendar 
Note: See TracChangeset for help on using the changeset viewer.