Skip to content

Commit fc8aa0c

Browse files
committed
writer/adios2: write dimensions attr
1 parent 6982354 commit fc8aa0c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/include/writer_adios2.hxx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,9 @@ private:
281281
{start, count}, {_ib, _im});
282282
}
283283
file.prefixes_.pop_back();
284+
// FIXME, it'd be better to write within the prefix, but xarray-adios2
285+
// expects a "/" separator instead of "::"
286+
file.put(std::string(name) + "/dimensions", std::string("x y z"));
284287
file.performPuts();
285288
}
286289

0 commit comments

Comments
 (0)