paulscherrerinstitute / pyzebra

GNU General Public License v3.0
3 stars 2 forks source link

handling of NaNs in magnetic_field for HDF data #58

Closed rsibille-psi closed 1 year ago

rsibille-psi commented 1 year ago

pyzebra cannot open HDF data if /entry1/sample/magnetic_field data are "NaN". pyzebra should be able to open HDF data in this case, as well as in the case where the values are "0"s.

If not already done, we can extend this logic to temperature data, which in some cases may also contain "NaN".