2010 Unidata NetCDF Workshop > libcf: A New Library for CF Conventions Support
24.8 Geographic Subsetting in LibCF
LibCF can do (currently) primitive geographic subsetting.
/* 4D geographic subsetting. */
int nccf_get_vara(int ncid, int varid, float *lat_range, int *nlat, float *lon_range,
int *nlon, int lvl_index, int timestep, void *data);
2010 Unidata NetCDF Workshop > libcf: A New Library for CF Conventions Support