sigmf.sigmffile.get_dataset_filename_from_metadata
- sigmf.sigmffile.get_dataset_filename_from_metadata(meta_fn, metadata=None)
Parse provided metadata and return the expected data filename.
In the case of a metadata-only distribution, or if the file does not exist, this will return
None.Priority for conflicting datasets:
Use the file in the
DATASET_KEYfield (non-compliant dataset) if it exists.Use the file named
<stem>.SIGMF_DATASET_EXTif it exists.Return
None(may be a metadata-only distribution).