[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

  • 2023 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: