Ignore:
Timestamp:
09/01/17 13:39:53 (7 years ago)
Author:
mhnguyen
Message:

Fixing bug on mask grid

+) Add mask_0d for scalar grid
+) Transmit grid's attributes (mask) from client and reconstruct them correctly on server
+) Rebuild data in the input of data flow on the server side

Test
+) On Curie
+) Simple test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/XIOS_DEV_CMIP6/src/config/grid_attribute.conf

    r932 r1250  
    22DECLARE_ATTRIBUTE(StdString, description) 
    33 
    4 DECLARE_ARRAY(bool, 1, mask_1d) 
    5 DECLARE_ARRAY(bool, 2, mask_2d) 
    6 DECLARE_ARRAY(bool, 3, mask_3d) 
    7 DECLARE_ARRAY(bool, 4, mask_4d) 
    8 DECLARE_ARRAY(bool, 5, mask_5d) 
    9 DECLARE_ARRAY(bool, 6, mask_6d) 
    10 DECLARE_ARRAY(bool, 7, mask_7d) 
     4DECLARE_ARRAY(bool, 1, mask_1d, false) 
     5DECLARE_ARRAY(bool, 2, mask_2d, false) 
     6DECLARE_ARRAY(bool, 3, mask_3d, false) 
     7DECLARE_ARRAY(bool, 4, mask_4d, false) 
     8DECLARE_ARRAY(bool, 5, mask_5d, false) 
     9DECLARE_ARRAY(bool, 6, mask_6d, false) 
     10DECLARE_ARRAY(bool, 7, mask_7d, false) 
    1111 
     12// Meaningless, only server for coherent purpose (for scalar grid) 
     13DECLARE_ARRAY(bool, 1, mask_0d, false) 
    1214 
    1315// An array contains order of axis and domains composing of the grid 
Note: See TracChangeset for help on using the changeset viewer.