source: XIOS/trunk/src/output/onetcdf4_decl.cpp @ 679

Last change on this file since 679 was 676, checked in by rlacroix, 9 years ago

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.

  • Property copyright set to
    Software name : XIOS (Xml I/O Server)
    http://forge.ipsl.jussieu.fr/ioserver
    Creation date : January 2009
    Licence : CeCCIL version2
    see license file in root directory : Licence_CeCILL_V2-en.txt
    or http://www.cecill.info/licences/Licence_CeCILL_V2-en.html
    Holder : CEA/LSCE (Laboratoire des Sciences du CLimat et de l'Environnement)
    CNRS/IPSL (Institut Pierre Simon Laplace)
    Project Manager : Yann Meurdesoif
    yann.meurdesoif@cea.fr
  • Property svn:eol-style set to native
File size: 713 bytes
Line 
1#include "onetcdf4_impl.hpp"
2
3namespace xios
4{
5# define  macro(type,size) \
6  template void CONetCDF4::writeData<type,size>(const CArray<type, size>& data, const StdString & name, \
7                                               bool collective, StdSize record, \
8                                               const std::vector<StdSize> * start, \
9                                               const std::vector<StdSize> * count) ;
10 
11  macro(int, 1)
12  macro(double, 1)
13  macro(double, 2)
14  macro(double, 3)
15 
16  template void CONetCDF4::setDefaultValue<double>(const StdString & varname, const double* value) ;
17  template void CONetCDF4::setDefaultValue<float>(const StdString & varname, const float* value) ;
18}
Note: See TracBrowser for help on using the repository browser.