00001 00005 #include <math.h> 00006 #include <netcdf.h> 00007 00008 #include <nccf_utility_functions.h> 00009 #include "nccf_regrid.h" 00010 00011 int 00012 nccf_inq_regrid_nvalid(int regrid_id, int *nvalid) { 00013 00014 struct nccf_regrid_type *self; 00015 self = nccf_li_find(&CFLIST_REGRID, regrid_id); 00016 00017 *nvalid = self->n_nonmasked; 00018 00019 return NC_NOERR; 00020 }