xbout.adioswriter.write_dataset_bp#
- xbout.adioswriter.write_dataset_bp(ds, path, *, time_dim='t', engine='BP4', parameters=None, overwrite=True, variables=None, write_ints_as_int32=False)[source]#
Write an xarray Dataset to an ADIOS2 .bp output.
- Return type:
- Parameters:
Design choices: - Map
time_dimto ADIOS2 steps (variables containing time_dim are writtenone slice per step).
Store per-variable dimension names as attribute
{var}/__xarray_dimensions__excludingtime_dimwhen writing steps.Store dataset attributes under
__xarray_dataset_attrs__/{key}.Optionally store all integer variables as int32 on disk (see
write_ints_as_int32), while preserving the original dtype via the__xarray_original_dtype__attribute for round-tripping.