Opened 10 years ago

Closed 10 years ago

#44 closed defect (fixed)

problem with xios_field_is_activate

Reported by: jgipsl Owned by: ymipsl
Priority: major Component: XIOS
Version: 1.0 Keywords:
Cc:

Description

Concerning XIOS rev 477

The problem is described in the following exemple in ORCHIDEE :

       IF (xios_field_is_active("RootMoist") .OR. xios_field_is_active("DelSoilMoist") .OR. &
            xios_field_is_active("DelIntercept") .OR. xios_field_is_active("DelSWE") .OR. &
            xios_field_is_active("SoilWet")) THEN

          almaoutput=.TRUE.
          WRITE(numout,*) 'almaoutput has been set to true in xios_orchidee_init'
       END IF

Case 1) Everything is fine when these variables are declared only in field_def_orchidee.xml. almaoutput becomes FALSE.
See exemple at curie : /ccc/scratch/cont003/dsm/p86ghatt/LMDZOR/XIOS/RUNDIR/TESTING/RUN_rev1960/prod_mpi_omp/TestAlma

Case 2) If one or several of these variables are set in file_def_orchidee.xml but the file is deactivated, the result is almaoutput=TRUE. This is not ok. See here an extract from file_def_orchidee.xml :

<file id="sechiba2" name="sechiba_out_2_xios" output_level="10" output_freq="1d" enabled=".FALSE.">
  <field field_ref="RootMoist" level="1"/>
  <field field_ref="Areas" level="1"/>

Exemple : /ccc/scratch/cont003/dsm/p86ghatt/LMDZOR/XIOS/RUNDIR/TESTING/RUN_rev1960/prod_mpi_omp/TestAlma2

I think the behaviour of xios_field_is_activate was correct in earlier versions of XIOS.

Change History (3)

comment:1 Changed 10 years ago by ymipsl

Problem is now solved in revision r478. Regression has probably occurred from rev. r445.

Test and report, please.

Regards,

Yann

comment:2 Changed 10 years ago by jgipsl

I tested XIOS rev 480 with ORCHIDEE offline (rev 2057) and it works perfect.

Thanks a lot
Josefine

comment:3 Changed 10 years ago by ymipsl

  • Resolution set to fixed
  • Status changed from new to closed

Thanks, I close the ticket.

Note: See TracTickets for help on using tickets.