Ignore:
Timestamp:
08/25/15 16:52:45 (9 years ago)
Author:
rlacroix
Message:

Add support for indexed output.

If the new field attribute "indexed_output" is set to true and a mask is defined (either at grid, domain or axis level), the indexed data will be outputed instead of the full data with missing values.

See http://cfconventions.org/Data/cf-conventions/cf-conventions-1.5/build/cf-conventions.html#compression-by-gathering for more information.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/distribution_server.hpp

    r653 r676  
    3434    virtual ~CDistributionServer(); 
    3535 
    36     std::vector<int> getZoomBeginGlobal() const; 
    37     std::vector<int> getZoomBeginServer() const; 
    38     std::vector<int> getZoomSizeServer() const; 
     36    const std::vector<int>& getZoomBeginGlobal() const; 
     37    const std::vector<int>& getZoomBeginServer() const; 
     38    const std::vector<int>& getZoomSizeServer() const; 
    3939 
    4040    virtual CArray<size_t,1> computeLocalIndex(const CArray<size_t,1>& globalIndex); 
    4141    virtual void computeLocalIndex(CArray<size_t,1>& globalIndex); 
     42    virtual void computeGlobalIndex(CArray<int,1>& indexes) const; 
    4243 
    4344  protected: 
Note: See TracChangeset for help on using the changeset viewer.