install_center_points#

cherab.lhd.emc3.repository.install.install_center_points(grid_file: Path | str = PosixPath('/home/docs/.cache/cherab/lhd/emc3/grid-360.nc')) NoneSource#

Install EMC3-EIRENE center points into netCDF file.

The center points are calculated from the grid data using the compute_centers function. The center points are stored in the same netCDF file as a group named “centers”.

Parameters:
grid_filePath | str, optional

Path to the grid netCDF file, by default cherab/lhd/emc3/grid-360.nc under the user’s cache directory.