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/filter/source_filter.cpp

    r1249 r1250  
    3232    packet->status = CDataPacket::NO_ERROR; 
    3333 
    34     packet->data.resize(grid->storeIndex_client.numElements()); 
    35     grid->inputField(data, packet->data) ; 
     34    packet->data.resize(grid->storeIndex_client.numElements());     
     35     
     36    if (compression) 
     37    { 
     38      packet->data = defaultValue; 
     39      grid->uncompressField(data, packet->data);     
     40    } 
     41    else 
     42      grid->inputField(data, packet->data); 
     43 
     44     
     45     
    3646    // if (compression) grid->inputField(data, packet->data) ; 
    3747    // else 
Note: See TracChangeset for help on using the changeset viewer.