Opened 5 years ago

Closed 5 years ago

#125 closed defect (fixed)

Impact of "indexed_output" on fields on the same grid

Reported by: aclsce Owned by: rlacroix
Priority: critical Component: XIOS
Version: 2.0 Keywords:
Cc:

Description

It seems the use of "indexed_output" field attribute impacts the following fields written on the same grid.

  • Example 1 :
       <file id="output" name="output" >
          <field field_ref="field_A" />
        </file>
        <file id="output_indexed" name="output_indexed" >
          <field field_ref="field_A" indexed_output="true" />
        </file>
        <file id="output_noindexed" name="output_noindexed">
             <field field_ref="field_A" />
         </file>
    
    • Results
      • field_A in output.nc file is OK
      • field_A in output_noindexed.nc is NOT OK
  • Example 2 :
       <file id="output" name="output" >
          <field field_ref="field_A" />
        </file>
        <file id="output_noindexed" name="output_noindexed">
             <field field_ref="field_A" />
         </file>
        <file id="output_indexed" name="output_indexed" >
          <field field_ref="field_A" indexed_output="true" />
        </file>
    
    • Results
      • field_A in output.nc file is OK
      • field_A in output_noindexed.nc is OK

Change History (2)

comment:1 Changed 5 years ago by rlacroix

  • Owner changed from ymipsl to rlacroix

comment:2 Changed 5 years ago by rlacroix

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

Fixed by r1093, a deep copy was missing which caused the grid to be inadvertently modified.

Note: See TracTickets for help on using tickets.