00001 00007 #include <string.h> 00008 #include <stdio.h> 00009 #include <nccf_host.h> 00010 #include <netcdf.h> 00011 #include <nccf_coord.h> 00012 #include <nccf_data.h> 00013 #include <nccf_grid.h> 00014 #include <nccf_constants.h> 00015 00016 int nccf_inq_host_ntimes( int hostid, int *ntimes ){ 00017 struct nccf_host_type *self; 00018 self = nccf_li_find(&CFLIST_HOST, hostid); 00019 00020 *ntimes = self->nTimeSlices; 00021 00022 return NC_NOERR; 00023 }