Changeset 2362 for LMDZ5


Ignore:
Timestamp:
Sep 16, 2015, 2:50:44 PM (9 years ago)
Author:
acozic
Message:

several correction to use LMDZ coupled with INCA
1- add an "use" in gcm to define "klon_glo" variable
2- correct an error on a test in infotrac
3- add parents to inca's tracer in infotrac
4- change calendar name for "leap calendar" in wxios to fit with rev 2229 on gcm

Location:
LMDZ5/trunk/libf
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/dyn3d_common/infotrac.F90

    r2270 r2362  
    196196          nqo=2
    197197       ENDIF
    198        IF (nqo /= 2 .OR. nqo /= 3 ) THEN
     198       IF (nqo /= 2 .AND. nqo /= 3 ) THEN
    199199          WRITE(lunout,*) trim(modname),': nqo=',nqo, ' is not allowded. Only 2 or 3 water phases allowed'
    200200          CALL abort_gcm('infotrac_init','Bad number of water phases',1)
     
    384384#endif
    385385       tnom_0(1)='H2Ov'
     386       tnom_transp(1) = 'air'
    386387       tnom_0(2)='H2Ol'
    387        IF (nqo == 3) tnom_0(3)='H2Oi'     !! jyg
     388       tnom_transp(2) = 'air'
     389       IF (nqo == 3) then
     390          tnom_0(3)='H2Oi'     !! jyg
     391          tnom_transp(3) = 'air'
     392       endif
    388393
    389394!jyg<
    390395       DO iq = nqo+1, nqtrue
    391396          tnom_0(iq)=solsym(iq-nqo)
     397          tnom_transp(iq) = 'air'
    392398       END DO
    393399!!       DO iq =3,nqtrue
  • LMDZ5/trunk/libf/dyn3dmem/gcm.F90

    r2351 r2362  
    2222  USE indice_sol_mod
    2323  USE mod_phys_lmdz_omp_data, ONLY: klon_omp
     24  USE mod_grid_phy_lmdz, ONLY : klon_glo
    2425#endif
    2526
  • LMDZ5/trunk/libf/misc/wxios.F90

    r2271 r2362  
    191191                CALL xios_set_context_attr_hdl(g_ctx, calendar_type= "NoLeap")
    192192                IF (prt_level >= 10) WRITE(lunout,*) 'wxios_set_cal: Calendrier terrestre a 365 jours/an'
    193             CASE('earth_366d')
     193            CASE('gregorian')
    194194                CALL xios_set_context_attr_hdl(g_ctx, calendar_type= "Gregorian")
    195195                IF (prt_level >= 10) WRITE(lunout,*) 'wxios_set_cal: Calendrier gregorien'
Note: See TracChangeset for help on using the changeset viewer.