|
NEP 2.7.0
NetCDF Extension Pack
|
CDF variable read functions. More...
#include "config.h"#include "nep_nc4.h"#include "cdfdispatch.h"#include <cdf.h>#include <stdio.h>Macros | |
| #define | NC_ECDF (-1000) |
Functions | |
| static size_t | get_nc4type_size (nc_type type) |
| int | NC_CDF_get_vara (int ncid, int varid, const size_t *startp, const size_t *countp, void *ip, int memtype) |
CDF variable read functions.
| #define NC_ECDF (-1000) |
|
static |
| int NC_CDF_get_vara | ( | int | ncid, |
| int | varid, | ||
| const size_t * | startp, | ||
| const size_t * | countp, | ||
| void * | ip, | ||
| int | memtype | ||
| ) |
Read an array of values. This is called by nc_get_vara() for netCDF-4 files, as well as all the other nc_get_vara_* functions. CDF files are handled as a special case.
| ncid | File ID. |
| varid | Variable ID. |
| startp | Array of start indices. |
| countp | Array of counts. |
| ip | pointer that gets the data. |
| memtype | The type of these data after it is read into memory. |