Almost all the code exists to handle a variable number of values for a single "plane" in a packet. Currently ex19_cassini_ragged_waveforms.d3b can't flow through the reader due to hitting:
if(pCtx->nPktItems < 0){
nRet = das_error(DASERR_NOTIMP,
"Handling a variable number of items in a packet is not yet implemented, but "
"much of the code exists. DasDs_decodeData() needs updates first.");
}
in dataset_hdr3.c. Check into the status and finish the implementation. Due to the way values are decoded this probably already works for variable number of items at the end of a packet because DasDs_decodeData() and subfunctions in codec.c will not run past the end of a packet. The only problem is if they think that a decode stop by hitting the packet boundary wall is an error, or just SOP in some cases.
Almost all the code exists to handle a variable number of values for a single "plane" in a packet. Currently ex19_cassini_ragged_waveforms.d3b can't flow through the reader due to hitting:
in dataset_hdr3.c. Check into the status and finish the implementation. Due to the way values are decoded this probably already works for variable number of items at the end of a packet because DasDs_decodeData() and subfunctions in codec.c will not run past the end of a packet. The only problem is if they think that a decode stop by hitting the packet boundary wall is an error, or just SOP in some cases.