Open jbfaden opened 8 months ago
This dataset would return multiple repeat records: String id= "availability/solo_L2_mag-rtn-normal"; String t= "2023-01-01T00:00Z/2023-01-03T00:00Z";
This is because the TAP response has both solo_L2_mag-rtn-normal and solo_L2_mag-rtn-normal-1-minute, and the TAP query uses "LIKE".
The code now checks that it is an exact match, but there is probably a better way to form the query.
See https://github.com/jbfaden/esdc-hapi/blob/59169da4d07a0d48c919e90f44efe8ec17667a15/src/org/esdc/hapi/EsdcAvailabilityHapiRecordSource.java#L45 for how to the TAP request is formed.
This dataset would return multiple repeat records: String id= "availability/solo_L2_mag-rtn-normal"; String t= "2023-01-01T00:00Z/2023-01-03T00:00Z";
This is because the TAP response has both solo_L2_mag-rtn-normal and solo_L2_mag-rtn-normal-1-minute, and the TAP query uses "LIKE".
The code now checks that it is an exact match, but there is probably a better way to form the query.