https://github.com/mjharriso/MIDAS/blob/9232edafd5332c66cfeed3a662c19b80ba86a27a/midas/rectgrid_gen.py#L639-L640 In the code above, slicing is performed based on `jmin` but it's value is not guaranteed to be an integer.