I have 368 GB available, so I imagine that's not the problem.
Maybe this is a clue: When I try to open the corresponding *ave.fif file in mne_analyze, I can view it just fine. But if I also pick the *inv.fif that was generated from it (using the command I pasted previously), I get this error:
Thanks for the reply. I ran "mne_show_fiff" on all the inputs (ave fiff
files), and it nicely returned lots of fields and didn't complain. Since
this only happened for one dataset but not the other 19, I tried
specifically looking for tag 3522 that the error message complained about.
When passing "--tag 3522" to mne_show_fiff, it just gave a blank line, in
both the dataset with the error and one that had no error. So I guess next
I'll try your Python suggestion.