Opened 5 years ago

Closed 5 years ago

#127 closed defect (fixed)

Pb with index with indexed_output on 3D fields

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

Description

Indices of points of compressed 3D fields by using "indexed_output" field attribute are not correct :

int grid_T_moor_3D_points(grid_T_moor_3D_points) ;

grid_T_moor_3D_points:compress = "deptht y x" ;

grid_T_moor_3D_points = 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,


These values are not correct. Note that indices are correct with 2D fields.

Change History (3)

comment:1 Changed 5 years ago by rlacroix

  • Owner changed from ymipsl to rlacroix

comment:2 Changed 5 years ago by rlacroix

I have found the problem, it is in fact also causing the bug reported in #125.

I will push a fix in the afternoon.

comment:3 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.