This repository has been archived by the owner on Dec 10, 2018. It is now read-only.
Concatenate using global indexes #3
Labels
enhancement
New feature or request
Requires BOUT changes
Requires some alteration to BOUT++ behaviour
Requires xarray changes
Requires some changes to be merged into xarray
If BOUT is changed upstream to write out the global grid point indexes to each file, then xBOUT can use them to infer the order in which the datasets should be concatenated.
This would also require implementing an
infer_order_from_coords
option inxarray.auto_combine()
, as discussed [here] (pydata/xarray#2159).This would move even more of the concatenation logic upstream to xarray, as then we wouldn't need to create a nested list-of-lists anymore, we could just pass the unordered glob of all dump files.
On the other hand this might make the
open_mfdataset()
call considerably slower, as it will have to read the coordinate variables in order to order the datasets.The text was updated successfully, but these errors were encountered: