add support of slice type object as value of the only keyword argument of the NetCDF readfield method.
This commit solves an issue that occurs when passing a slice to the "only" keyword argument of the NetCDF readfield method. The error occurs because the restrain_to_index_i_of_dim_d method accepts only a single index i.
The proposed solution consists of looping over the the indices in the slice creating a list of data buffers and then concatenating them along dimension d.
add support of slice type object as value of the only keyword argument of the NetCDF readfield method.
This commit solves an issue that occurs when passing a slice to the "only" keyword argument of the NetCDF readfield method. The error occurs because the restrain_to_index_i_of_dim_d method accepts only a single index i. The proposed solution consists of looping over the the indices in the slice creating a list of data buffers and then concatenating them along dimension d.