boutproject / xBOUT

Collects BOUT++ data from parallelized simulations into xarray.
https://xbout.readthedocs.io/en/latest/
Apache License 2.0
21 stars 10 forks source link

Missing files give an error of "Do not know how to read file extension" #299

Open dschwoerer opened 1 year ago

dschwoerer commented 1 year ago

It would be nice to give a more useful error:

Maybe some more things we should check ... ?

ZedThree commented 1 year ago

Is it just a matter of putting this line: https://github.com/boutproject/xBOUT/blob/467016021b8650e8e107936f8aa487cd5168eb97/xbout/load.py#L746

after the checks on filepaths in that function?