Ignore:
Timestamp:
Jun 16, 2022, 2:45:08 PM (2 years ago)
Author:
dcugnet
Message:
  • Fix for multi-sections "tracer.def" files: type_trac is no longer a coma-saparated list (","), but is now a pipe-separated list ("|"), because the "getin" function replaces the comas by spaces.
  • Small fix for INCA: keep the "config_inca" value different from "none" if ALL the sections names differ from "inca" or "inco".
File:
1 edited

Legend:

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

    r4158 r4169  
    201201   
    202202   CALL msg('type_trac = "'//TRIM(type_trac)//'"', modname)
    203    IF(strParse(type_trac, ',', str, n=nt)) CALL abort_gcm(modname,'can''t parse "type_trac = '//TRIM(type_trac)//'"',1)
     203   IF(strParse(type_trac, '|', str, n=nt)) CALL abort_gcm(modname,'can''t parse "type_trac = '//TRIM(type_trac)//'"',1)
    204204
    205205   !---------------------------------------------------------------------------------------------------------------------------
     
    238238      END SELECT
    239239
    240       !--- DISABLE "config_inca" OPTION FOR A RUN WITHOUT "INCA" IF IT DIFFERS FROM "none"
    241       IF(fmsg('Setting config_inca="none" as you do not couple with INCA model', &
    242               modname, ALL(['inca', 'inco'] /= str(it)) .AND. config_inca /= 'none')) config_inca = 'none'
    243 
    244240   !---------------------------------------------------------------------------------------------------------------------------
    245241   END DO
    246242   !---------------------------------------------------------------------------------------------------------------------------
     243
     244   !--- DISABLE "config_inca" OPTION FOR A RUN WITHOUT "INCA" IF IT DIFFERS FROM "none"
     245   IF(fmsg('Setting config_inca="none" as you do not couple with INCA model', &
     246           modname, ALL(str /= 'inca') .AND. ALL(str /= 'inco') .AND. config_inca /= 'none')) config_inca = 'none'
    247247
    248248   nqCO2 = 0; IF(ANY(str == 'inco')) nqCO2 = 1
Note: See TracChangeset for help on using the changeset viewer.