https://github.com/EoRImaging/pyfhd/blob/3f4691abe66abb281b59af0337d2934f1f623d1d/src/pyfhd/pyfhd.py#L552 vis_model_arr[pol_i] referenced, which would throw an error when vis_model_arr is set to None, in the case of gridding without a model file.
pyfhd/src/pyfhd/pyfhd.py
Line 552 in 3f4691a
vis_model_arr[pol_i] referenced, which would throw an error when vis_model_arr is set to None, in the case of gridding without a model file.