imap_processing.hi.hi_l1b.any_good_direct_events#
- imap_processing.hi.hi_l1b.any_good_direct_events(dataset: Dataset) bool#
Test dataset to see if there are any good direct events.
Datasets can have no good direct events when there were no DEs in a pointing. In this case, due to restrictions with cdflib, we have to write a single bad DE in the CDF.
- Parameters:
dataset (xarray.Dataset) – Run the check on this dataset.
- Returns:
any_good_events – True if there is at least one good direct event. False otherwise.
- Return type: