OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
ncinfo.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2004,2009 Remik Ziemlinski <first d0t surname att n0aa d0t g0v>
3 
4  This program is free software; you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation; either version 2, or (at your option)
7  any later version.
8 
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License
15  along with this program; see the file COPYING.
16  If not, write to the Free Software Foundation,
17  59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18  */
19 
20 #ifndef NCINFO_H
21 #define NCINFO_H 1
22 
23 #include <netcdf.h>
24 #include "common.h"
25 
26 /* list must be preallocated */
27 int ncnonrecvars(int ncid, char** list, int nitems);
28 /* list must be preallocated */
29 int ncrecvars(int ncid, char** list, int nitems);
30 /* list must be preallocated */
31 int ncallvars(int ncid, char** list, int nlist);
32 int ncrecinfo(int ncid, int* recid, char* name, size_t* size);
33 int gettypelength(nc_type type);
34 int hasrecdim(int* dimids, int ndims, int recid);
35 #endif /* !NCINFO_H */
list(APPEND LIBS ${PGSTK_LIBRARIES}) add_executable(atteph_info_modis atteph_info_modis.c) target_link_libraries(atteph_info_modis $
Definition: CMakeLists.txt:7
int ncrecvars(int ncid, char **list, int nitems)
Definition: ncinfo.c:61
int ncrecinfo(int ncid, int *recid, char *name, size_t *size)
Definition: ncinfo.c:145
int ncnonrecvars(int ncid, char **list, int nitems)
Definition: ncinfo.c:23
int gettypelength(nc_type type)
Definition: ncinfo.c:181
int hasrecdim(int *dimids, int ndims, int recid)
Definition: ncinfo.c:166
int ncallvars(int ncid, char **list, int nlist)
Definition: ncinfo.c:94