Go to the documentation of this file.
27 int dimids[NC_MAX_VAR_DIMS];
33 char name[NC_MAX_NAME];
36 status = nc_inq_nvars(ncid, &nvars);
40 status = nc_inq_unlimdim(ncid, &recid);
46 for (
i = 0;
i < nvars; ++
i) {
50 &ndims, dimids, &natts);
53 if (
hasrecdim(dimids, ndims, recid) == 0) {
65 int dimids[NC_MAX_VAR_DIMS];
71 char name[NC_MAX_NAME];
74 status = nc_inq_nvars(ncid, &nvars);
78 status = nc_inq_unlimdim(ncid, &recid);
80 for (
i = 0;
i < nvars; ++
i) {
84 &ndims, dimids, &natts);
97 char** nonrecvars =
NULL;
98 char** recvars =
NULL;
109 if (
ncrecvars(ncid, recvars, nrecvars)) {
124 if (
strlistu(nonrecvars, recvars,
list, nnonrecvars, nrecvars, nlist)) {
149 status = nc_inq_unlimdim(ncid, recid);
169 if ((ndims < 1) || (recid < 0))
172 for (
i = 0;
i < ndims; ++
i) {
173 if (dimids[
i] == recid) {
int addstringtolist(char **list, char *string, int nitems)
list(APPEND LIBS ${PGSTK_LIBRARIES}) add_executable(atteph_info_modis atteph_info_modis.c) target_link_libraries(atteph_info_modis $
int ncrecvars(int ncid, char **list, int nlist)
int newstringlist(char ***list, int *n, int size)
void freestringlist(char ***list, int nitems)
int ncnonrecvars(int ncid, char **list, int nlist)
int ncrecinfo(int ncid, int *recid, char *name, size_t *size)
int ncallvars(int ncid, char **list, int nlist)
int hasrecdim(int *dimids, int ndims, int recid)
int strlistu(char **list1, char **list2, char **listunion, int n1, int n2, int nu)
How many dimensions is the output array Default is Not sure if anything above will work correctly strcpy(l2prod->title, "no title yet")
int gettypelength(nc_type type)