when attempting to validate the position.axis.function tags. However, this can fail if the naxis1 dimension is larger than the naxis2 dimension since Interval expects the first parameter to be lower than the second one. Since naxis really isn't an interval but rather a note on the size of the array, it shouldn't be testing that one is larger than the other.
When running the caom2utils validator, I ran into an error I think might not be expected. The function
_validate_spatial_wcs
runs:when attempting to validate the position.axis.function tags. However, this can fail if the naxis1 dimension is larger than the naxis2 dimension since Interval expects the first parameter to be lower than the second one. Since naxis really isn't an interval but rather a note on the size of the array, it shouldn't be testing that one is larger than the other.