source: XIOS/trunk/src/output/netcdf_version.hpp @ 501

Last change on this file since 501 was 501, checked in by ymipsl, 10 years ago

Add licence copyright to all file ond directory src using the command :
svn propset -R copyright -F header_licence src

XIOS is now officialy under CeCILL licence

YM

  • 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
File size: 577 bytes
Line 
1#ifndef __XIOS_NETCDF_VERSION_HPP__
2#define __XIOS_NETCDF_VERSION_HPP__
3
4#if defined(NC_DISKLESS) && defined (NC_MMAP)
5
6#  define NETCDF_VERSION 4211
7
8#elif defined(NC_ETRANSLATION)
9
10# define NETCDF_VERSION 4130
11
12#elif defined(NC_EURL) && defined(NC_ECONSTRAINT)
13
14#  define NETCDF_VERSION 4120
15
16#elif defined (NC_PNETCDF)
17
18#  define NETCDF_VERSION 4110
19
20#elif defined(NC_CHUNKED) && defined(NC_CONTIGUOUS)
21
22# define NETCDF_VERSION 4010
23
24#elif defined(NC_NETCDF4)
25
26# define NETCDF_VERSION 4000
27
28#else
29
30#  error "netcdf version prior 4.0 incompatible with XIOS"
31 
32#endif
33
34#endif
Note: See TracBrowser for help on using the repository browser.