Simpson can generate multiple datasets when multiple detect operators are specified. These are written as concatenated datasets and the number of such datasets is indicated by the keyword 'NELEM' in the simpson text and binary data formats. This PR fixes the functions read_text and read_binary to read in such a dataset. In cases where there is only a single FID, the keyword 'NELEM' is set to 1 and the data will be read in as usual, but an extra key 'NELEM' will be added to the dictionary. With this functionality, it is not possible to write data in xreim, xyreim and raw_binary formats, so those functions are not modified.
An example file in the text format is attached.
Simpson can generate multiple datasets when multiple detect operators are specified. These are written as concatenated datasets and the number of such datasets is indicated by the keyword 'NELEM' in the simpson text and binary data formats. This PR fixes the functions read_text and read_binary to read in such a dataset. In cases where there is only a single FID, the keyword 'NELEM' is set to 1 and the data will be read in as usual, but an extra key 'NELEM' will be added to the dictionary. With this functionality, it is not possible to write data in xreim, xyreim and raw_binary formats, so those functions are not modified. An example file in the text format is attached.
out.fid.zip