gridspec_api/host/nccf_inq_host_ngrids.c

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_ngrids( int hostid, int *ngrids ){
00017 
00018   struct nccf_host_type *self;
00019   self = nccf_li_find(&CFLIST_HOST, hostid);
00020 
00021   *ngrids = self->nGrids;
00022 
00023   return NC_NOERR;
00024 }
 All Classes Files Functions Defines

Generated on Tue Mar 1 2011 06:36:59 for libCF. LibCF is a Unidata library.