NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

[netcdfgroup] Fwd: reading compound type variable with vlen member

Hello friends:

attached is a file with this ncdump output:

netcdf IntTimSciSamp {
types:
  int(*) loopData ;
  compound tim_record {
    int shutterPositionA ;
    int shutterPositionD ;
    int shutterPositionB ;
    int shutterPositionC ;
    int dspGainMode ;
    int coneActiveStateA ;
    int coneActiveStateD ;
    int coneActiveStateB ;
    int coneActiveStateC ;
    loopData loopDataA(1) ;
    loopData loopDataB(1) ;
    int64 sampleVtcw ;
  }; // tim_record
dimensions:
time = UNLIMITED ; // (29 currently)
variables:
int64 time(time) ;
tim_record tim_records(time) ;
}

if I am calling the latest netcdf4 library to read the tim_records, using
this call:

int nc_get_var(int ncid, int varid, void * ip )

what am i expecting back in *ip ? Particularly for the int(*) loopData?

thanks!

Regards,
John

Attachment: IntTimSciSamp.nc
Description: Binary data