xoa.interp.Interpolator.save_weights

xoa.interp.Interpolator.save_weights#

Interpolator.save_weights(weights_file)[source]#

Save the weights to a group of a netcdf file

The group is named after the method and a fingerprint of the grid and points, and it is added to the file, which may hold the weights of other grids. Nothing is written if the group already exists.