- To: netcdfgroup@xxxxxxxxxxxxxxxx
- Subject: [netcdfgroup] Fwd: reading compound type variable with vlen member
- From: John Caron <jcaron1129@xxxxxxxxx>
- Date: Sat, 4 Mar 2023 11:55:47 -0700
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
- Follow-Ups:
- Re: [netcdfgroup] Fwd: reading compound type variable with vlen member
- From: Edward Hartnett - NOAA Affiliate
- Re: [netcdfgroup] Fwd: reading compound type variable with vlen member