[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #LHY-999002]: Maximum number of user defined types?


  • Subject: [netCDF #LHY-999002]: Maximum number of user defined types?
  • Date: Thu, 09 Feb 2012 16:17:58 -0700

James-
The right way to do this is in two steps.

int ntypes;
nc_inq_typeids(ncid, &ntypes, NULL);
int* typeids = (int*)malloc(ntypes*sizeof(int));
nc_int_typeids(ncid,&ntypes,typeids);


=Dennis Heimbigner
  Unidata


Ticket Details
===================
Ticket ID: LHY-999002
Department: Support netCDF
Priority: Normal
Status: Closed