sarpy
sarpy copied to clipboard
SICD TimeCOA validation error
The validation check for the TimeCOA polynomial doesn't take into account negative numbers,
This line should become
if timecoa_poly.shape == (1, 1) or numpy.all(numpy.abs(timecoa_poly.flatten()[1:]) < 1e-6)
@RyanUmby Thank you for submitting this issue. Could you please provide an example file that you are trying to process, the expected output and the actual output you are receiving?