boutproject / xBOUT

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

Allow more general wildcard patterns in _expand_wildcards #90

Closed johnomotani closed 4 years ago

johnomotani commented 4 years ago

Glob the whole relative path, so any wildcard, not just '*' is supported.

Allows doing something like

ds = open_boutdataset('run[2-5]/BOUT.dmp.*.nc')

to open a subset of the run directories.