install_data#
- cherab.lhd.emc3.repository.install.install_data(directory_path: Path | str, grid_file: Path | str = PosixPath('/home/docs/.cache/cherab/lhd/emc3/grid-360.nc')) NoneSource#
Install EMC3-EIRENE calculated data.
xarray.DataTreeis used to store the data into the same netCDF file as the grid data as a group named “data”.So, the data tree structure looks like as follows:
/ ├── data : ├── radiation │ ├── plasma │ ├── impurity │ └── total ├── density │ ├── electron │ ├── H+ | ├── C1+ : : | └── Ne └── temperature ├── electron ├── ion ├── H └── H2For example, the radiation group contains one
xarray.Datasetwith threexarray.DataArrayvariables. Shared coordinates are stored in the data group.