RAVE
rave_proj.h
Go to the documentation of this file.
1/* --------------------------------------------------------------------
2Copyright (C) 2021 Swedish Meteorological and Hydrological Institute, SMHI,
3
4This file is part of RAVE.
5
6RAVE is free software: you can redistribute it and/or modify
7it under the terms of the GNU Lesser General Public License as published by
8the Free Software Foundation, either version 3 of the License, or
9(at your option) any later version.
10
11RAVE is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU Lesser General Public License for more details.
15
16You should have received a copy of the GNU Lesser General Public License
17along with RAVE. If not, see <http://www.gnu.org/licenses/>.
18------------------------------------------------------------------------*/
25#ifndef RAVE_PROJ_H
26#define RAVE_PROJ_H
27
28#include <math.h>
29
30#ifdef USE_PROJ4_API
31#include <projects.h>
32#ifdef PJ_VERSION
33#define UV projUV
34#endif
35#else
36#include <proj.h>
37#define UV PJ_UV
38#endif
39
40#endif