xbout.cherab.gridΒΆ

Functions

da_with_cherab_grid(da)

Convert an BOUT++ DataArray to a format that Cherab can use: - A 'cell_number' coordinate - A 'cherab_grid` attribute

ds_with_cherab_grid(ds)

Create an xarray DataSet with a Cherab grid