data-subscriber icon indicating copy to clipboard operation
data-subscriber copied to clipboard

1.15.0 UAT -- allow bbox that crosses the IDL

Open skorper opened this issue 1 year ago • 0 comments

Issue found in 1.15.0 UAT: some bboxes are seeing validation errors:

  • -180,-60,-120,60
    • "ERROR - Error parsing "--bounds": S Latitude must be <= N Latitude"
  • 120,-60,-120,60
    • "ERROR - Error parsing "--bounds": W Longitude must be <= E Longitude"
  • -170,-20,-30,20
    • "Error parsing "--bounds": S Latitude must be <= N Latitude"

Some of these cross the IDL, which we do support so should not error out. Some of these do not cross the IDL so there is a bug in the validation code. We should probably limit the validation we're doing here -- so long as CMR/Harmony accept the bbox we should not complain. Maybe a check that -180<=Longitude<=10 and -90<Latitude<90 is sufficient for bbox validation.

skorper avatar Aug 24 '23 03:08 skorper