SELECT l.location_id FROM LOCATION l, (SELECT l.location_id, cl.classification_location_id from classification_location cl,location l, (select platform_code from platform ) P WHERE cl.platform_code = P.platform_code AND cl.on_day <= TO_DATE('31/1/2024 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('1/1/2024 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (1, 2, 3, 4, 5, 6, 9, 11, 12, 13, 14, 15, 19) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 20.9 AND cl.lat_max >= -22.25 AND ((cl.long_min <= 182.22 AND cl.long_max >= 74.35) OR (cl.long_min <= MOD(182.22+360, 360) AND cl.long_max >= MOD(74.35+360, 360)) OR (cl.long_min <= MOD(182.22-360, 360) AND cl.long_max >= MOD(74.35-360, 360)) ) AND l.platform_code = cl.platform_code AND l.location_date >= on_day AND l.location_date < cl.on_day + 1 AND l.latitude <= 20.9 AND l.latitude >= -22.25 AND ((l.longitude <= 182.22 AND l.longitude >= 74.35) OR (l.longitude <= MOD(182.22+360, 360) AND l.longitude >= MOD(74.35+360, 360)) OR (l.longitude <= MOD(182.22-360, 360) AND l.longitude >= MOD(74.35-360, 360)) ) AND (psal = 'Y' OR chlo = 'Y' OR not 1=1)) locationToDiff,CLASSIFICATION_LOCATION cl, CLASSIFICATION_TYPE ct WHERE l.location_id = locationToDiff.location_id AND cl.classification_location_id = locationToDiff.classification_location_id AND ct.classification_code = cl.classification_code AND l.PLATFORM_CODE='7JYD' and cl.classification_code=13;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20241217_143133_15134335/tsg-7JYD.csv; -measure_qc=12578 SELECT l.location_id FROM LOCATION l, (SELECT l.location_id, cl.classification_location_id from classification_location cl,location l, (select platform_code from platform ) P WHERE cl.platform_code = P.platform_code AND cl.on_day <= TO_DATE('31/1/2024 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('1/1/2024 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (1, 2, 3, 4, 5, 6, 9, 11, 12, 13, 14, 15, 19) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 20.9 AND cl.lat_max >= -22.25 AND ((cl.long_min <= 182.22 AND cl.long_max >= 74.35) OR (cl.long_min <= MOD(182.22+360, 360) AND cl.long_max >= MOD(74.35+360, 360)) OR (cl.long_min <= MOD(182.22-360, 360) AND cl.long_max >= MOD(74.35-360, 360)) ) AND l.platform_code = cl.platform_code AND l.location_date >= on_day AND l.location_date < cl.on_day + 1 AND l.latitude <= 20.9 AND l.latitude >= -22.25 AND ((l.longitude <= 182.22 AND l.longitude >= 74.35) OR (l.longitude <= MOD(182.22+360, 360) AND l.longitude >= MOD(74.35+360, 360)) OR (l.longitude <= MOD(182.22-360, 360) AND l.longitude >= MOD(74.35-360, 360)) ) AND (psal = 'Y' OR chlo = 'Y' OR not 1=1)) locationToDiff,CLASSIFICATION_LOCATION cl, CLASSIFICATION_TYPE ct WHERE l.location_id = locationToDiff.location_id AND cl.classification_location_id = locationToDiff.classification_location_id AND ct.classification_code = cl.classification_code AND l.PLATFORM_CODE='7KAA' and cl.classification_code=13;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20241217_143133_15134335/tsg-7KAA.csv; -measure_qc=12578 SELECT l.location_id FROM LOCATION l, (SELECT l.location_id, cl.classification_location_id from classification_location cl,location l, (select platform_code from platform ) P WHERE cl.platform_code = P.platform_code AND cl.on_day <= TO_DATE('31/1/2024 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('1/1/2024 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (1, 2, 3, 4, 5, 6, 9, 11, 12, 13, 14, 15, 19) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 20.9 AND cl.lat_max >= -22.25 AND ((cl.long_min <= 182.22 AND cl.long_max >= 74.35) OR (cl.long_min <= MOD(182.22+360, 360) AND cl.long_max >= MOD(74.35+360, 360)) OR (cl.long_min <= MOD(182.22-360, 360) AND cl.long_max >= MOD(74.35-360, 360)) ) AND l.platform_code = cl.platform_code AND l.location_date >= on_day AND l.location_date < cl.on_day + 1 AND l.latitude <= 20.9 AND l.latitude >= -22.25 AND ((l.longitude <= 182.22 AND l.longitude >= 74.35) OR (l.longitude <= MOD(182.22+360, 360) AND l.longitude >= MOD(74.35+360, 360)) OR (l.longitude <= MOD(182.22-360, 360) AND l.longitude >= MOD(74.35-360, 360)) ) AND (psal = 'Y' OR chlo = 'Y' OR not 1=1)) locationToDiff,CLASSIFICATION_LOCATION cl, CLASSIFICATION_TYPE ct WHERE l.location_id = locationToDiff.location_id AND cl.classification_location_id = locationToDiff.classification_location_id AND ct.classification_code = cl.classification_code AND l.PLATFORM_CODE='7KAC' and cl.classification_code=13;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20241217_143133_15134335/tsg-7KAC.csv; -measure_qc=12578 SELECT l.location_id FROM LOCATION l, (SELECT l.location_id, cl.classification_location_id from classification_location cl,location l, (select platform_code from platform ) P WHERE cl.platform_code = P.platform_code AND cl.on_day <= TO_DATE('31/1/2024 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('1/1/2024 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (1, 2, 3, 4, 5, 6, 9, 11, 12, 13, 14, 15, 19) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 20.9 AND cl.lat_max >= -22.25 AND ((cl.long_min <= 182.22 AND cl.long_max >= 74.35) OR (cl.long_min <= MOD(182.22+360, 360) AND cl.long_max >= MOD(74.35+360, 360)) OR (cl.long_min <= MOD(182.22-360, 360) AND cl.long_max >= MOD(74.35-360, 360)) ) AND l.platform_code = cl.platform_code AND l.location_date >= on_day AND l.location_date < cl.on_day + 1 AND l.latitude <= 20.9 AND l.latitude >= -22.25 AND ((l.longitude <= 182.22 AND l.longitude >= 74.35) OR (l.longitude <= MOD(182.22+360, 360) AND l.longitude >= MOD(74.35+360, 360)) OR (l.longitude <= MOD(182.22-360, 360) AND l.longitude >= MOD(74.35-360, 360)) ) AND (psal = 'Y' OR chlo = 'Y' OR not 1=1)) locationToDiff,CLASSIFICATION_LOCATION cl, CLASSIFICATION_TYPE ct WHERE l.location_id = locationToDiff.location_id AND cl.classification_location_id = locationToDiff.classification_location_id AND ct.classification_code = cl.classification_code AND l.PLATFORM_CODE='D5LS3' and cl.classification_code=13;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20241217_143133_15134335/tsg-D5LS3.csv; -measure_qc=12578 SELECT l.location_id FROM LOCATION l, (SELECT l.location_id, cl.classification_location_id from classification_location cl,location l, (select platform_code from platform ) P WHERE cl.platform_code = P.platform_code AND cl.on_day <= TO_DATE('31/1/2024 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('1/1/2024 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (1, 2, 3, 4, 5, 6, 9, 11, 12, 13, 14, 15, 19) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 20.9 AND cl.lat_max >= -22.25 AND ((cl.long_min <= 182.22 AND cl.long_max >= 74.35) OR (cl.long_min <= MOD(182.22+360, 360) AND cl.long_max >= MOD(74.35+360, 360)) OR (cl.long_min <= MOD(182.22-360, 360) AND cl.long_max >= MOD(74.35-360, 360)) ) AND l.platform_code = cl.platform_code AND l.location_date >= on_day AND l.location_date < cl.on_day + 1 AND l.latitude <= 20.9 AND l.latitude >= -22.25 AND ((l.longitude <= 182.22 AND l.longitude >= 74.35) OR (l.longitude <= MOD(182.22+360, 360) AND l.longitude >= MOD(74.35+360, 360)) OR (l.longitude <= MOD(182.22-360, 360) AND l.longitude >= MOD(74.35-360, 360)) ) AND (psal = 'Y' OR chlo = 'Y' OR not 1=1)) locationToDiff,CLASSIFICATION_LOCATION cl, CLASSIFICATION_TYPE ct WHERE l.location_id = locationToDiff.location_id AND cl.classification_location_id = locationToDiff.classification_location_id AND ct.classification_code = cl.classification_code AND l.PLATFORM_CODE='HORQ' and cl.classification_code=13;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20241217_143133_15134335/tsg-HORQ.csv; -measure_qc=12578 SELECT l.location_id FROM LOCATION l, (SELECT l.location_id, cl.classification_location_id from classification_location cl,location l, (select platform_code from platform ) P WHERE cl.platform_code = P.platform_code AND cl.on_day <= TO_DATE('31/1/2024 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('1/1/2024 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (1, 2, 3, 4, 5, 6, 9, 11, 12, 13, 14, 15, 19) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 20.9 AND cl.lat_max >= -22.25 AND ((cl.long_min <= 182.22 AND cl.long_max >= 74.35) OR (cl.long_min <= MOD(182.22+360, 360) AND cl.long_max >= MOD(74.35+360, 360)) OR (cl.long_min <= MOD(182.22-360, 360) AND cl.long_max >= MOD(74.35-360, 360)) ) AND l.platform_code = cl.platform_code AND l.location_date >= on_day AND l.location_date < cl.on_day + 1 AND l.latitude <= 20.9 AND l.latitude >= -22.25 AND ((l.longitude <= 182.22 AND l.longitude >= 74.35) OR (l.longitude <= MOD(182.22+360, 360) AND l.longitude >= MOD(74.35+360, 360)) OR (l.longitude <= MOD(182.22-360, 360) AND l.longitude >= MOD(74.35-360, 360)) ) AND (psal = 'Y' OR chlo = 'Y' OR not 1=1)) locationToDiff,CLASSIFICATION_LOCATION cl, CLASSIFICATION_TYPE ct WHERE l.location_id = locationToDiff.location_id AND cl.classification_location_id = locationToDiff.classification_location_id AND ct.classification_code = cl.classification_code AND l.PLATFORM_CODE='VMQ9273' and cl.classification_code=13;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20241217_143133_15134335/tsg-VMQ9273.csv; -measure_qc=12578 SELECT l.location_id FROM LOCATION l, (SELECT l.location_id, cl.classification_location_id from classification_location cl,location l, (select platform_code from platform ) P WHERE cl.platform_code = P.platform_code AND cl.on_day <= TO_DATE('31/1/2024 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('1/1/2024 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (1, 2, 3, 4, 5, 6, 9, 11, 12, 13, 14, 15, 19) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 20.9 AND cl.lat_max >= -22.25 AND ((cl.long_min <= 182.22 AND cl.long_max >= 74.35) OR (cl.long_min <= MOD(182.22+360, 360) AND cl.long_max >= MOD(74.35+360, 360)) OR (cl.long_min <= MOD(182.22-360, 360) AND cl.long_max >= MOD(74.35-360, 360)) ) AND l.platform_code = cl.platform_code AND l.location_date >= on_day AND l.location_date < cl.on_day + 1 AND l.latitude <= 20.9 AND l.latitude >= -22.25 AND ((l.longitude <= 182.22 AND l.longitude >= 74.35) OR (l.longitude <= MOD(182.22+360, 360) AND l.longitude >= MOD(74.35+360, 360)) OR (l.longitude <= MOD(182.22-360, 360) AND l.longitude >= MOD(74.35-360, 360)) ) AND (psal = 'Y' OR chlo = 'Y' OR not 1=1)) locationToDiff,CLASSIFICATION_LOCATION cl, CLASSIFICATION_TYPE ct WHERE l.location_id = locationToDiff.location_id AND cl.classification_location_id = locationToDiff.classification_location_id AND ct.classification_code = cl.classification_code AND l.PLATFORM_CODE='VNCF' and cl.classification_code=13;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20241217_143133_15134335/tsg-VNCF.csv; -measure_qc=12578 SELECT l.location_id FROM LOCATION l, (SELECT l.location_id, cl.classification_location_id from classification_location cl,location l, (select platform_code from platform ) P WHERE cl.platform_code = P.platform_code AND cl.on_day <= TO_DATE('31/1/2024 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('1/1/2024 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (1, 2, 3, 4, 5, 6, 9, 11, 12, 13, 14, 15, 19) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 20.9 AND cl.lat_max >= -22.25 AND ((cl.long_min <= 182.22 AND cl.long_max >= 74.35) OR (cl.long_min <= MOD(182.22+360, 360) AND cl.long_max >= MOD(74.35+360, 360)) OR (cl.long_min <= MOD(182.22-360, 360) AND cl.long_max >= MOD(74.35-360, 360)) ) AND l.platform_code = cl.platform_code AND l.location_date >= on_day AND l.location_date < cl.on_day + 1 AND l.latitude <= 20.9 AND l.latitude >= -22.25 AND ((l.longitude <= 182.22 AND l.longitude >= 74.35) OR (l.longitude <= MOD(182.22+360, 360) AND l.longitude >= MOD(74.35+360, 360)) OR (l.longitude <= MOD(182.22-360, 360) AND l.longitude >= MOD(74.35-360, 360)) ) AND (psal = 'Y' OR chlo = 'Y' OR not 1=1)) locationToDiff,CLASSIFICATION_LOCATION cl, CLASSIFICATION_TYPE ct WHERE l.location_id = locationToDiff.location_id AND cl.classification_location_id = locationToDiff.classification_location_id AND ct.classification_code = cl.classification_code AND l.PLATFORM_CODE='52003' and cl.classification_code=15;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20241217_143133_15134335/mooring-buoys-time-series-52003.csv; -measure_qc=12578 SELECT l.location_id FROM LOCATION l, (SELECT l.location_id, cl.classification_location_id from classification_location cl,location l, (select platform_code from platform ) P WHERE cl.platform_code = P.platform_code AND cl.on_day <= TO_DATE('31/1/2024 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('1/1/2024 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (1, 2, 3, 4, 5, 6, 9, 11, 12, 13, 14, 15, 19) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 20.9 AND cl.lat_max >= -22.25 AND ((cl.long_min <= 182.22 AND cl.long_max >= 74.35) OR (cl.long_min <= MOD(182.22+360, 360) AND cl.long_max >= MOD(74.35+360, 360)) OR (cl.long_min <= MOD(182.22-360, 360) AND cl.long_max >= MOD(74.35-360, 360)) ) AND l.platform_code = cl.platform_code AND l.location_date >= on_day AND l.location_date < cl.on_day + 1 AND l.latitude <= 20.9 AND l.latitude >= -22.25 AND ((l.longitude <= 182.22 AND l.longitude >= 74.35) OR (l.longitude <= MOD(182.22+360, 360) AND l.longitude >= MOD(74.35+360, 360)) OR (l.longitude <= MOD(182.22-360, 360) AND l.longitude >= MOD(74.35-360, 360)) ) AND (psal = 'Y' OR chlo = 'Y' OR not 1=1)) locationToDiff,CLASSIFICATION_LOCATION cl, CLASSIFICATION_TYPE ct WHERE l.location_id = locationToDiff.location_id AND cl.classification_location_id = locationToDiff.classification_location_id AND ct.classification_code = cl.classification_code AND l.PLATFORM_CODE='52007' and cl.classification_code=15;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20241217_143133_15134335/mooring-buoys-time-series-52007.csv; -measure_qc=12578 SELECT l.location_id FROM LOCATION l, (SELECT l.location_id, cl.classification_location_id from classification_location cl,location l, (select platform_code from platform ) P WHERE cl.platform_code = P.platform_code AND cl.on_day <= TO_DATE('31/1/2024 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('1/1/2024 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (1, 2, 3, 4, 5, 6, 9, 11, 12, 13, 14, 15, 19) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 20.9 AND cl.lat_max >= -22.25 AND ((cl.long_min <= 182.22 AND cl.long_max >= 74.35) OR (cl.long_min <= MOD(182.22+360, 360) AND cl.long_max >= MOD(74.35+360, 360)) OR (cl.long_min <= MOD(182.22-360, 360) AND cl.long_max >= MOD(74.35-360, 360)) ) AND l.platform_code = cl.platform_code AND l.location_date >= on_day AND l.location_date < cl.on_day + 1 AND l.latitude <= 20.9 AND l.latitude >= -22.25 AND ((l.longitude <= 182.22 AND l.longitude >= 74.35) OR (l.longitude <= MOD(182.22+360, 360) AND l.longitude >= MOD(74.35+360, 360)) OR (l.longitude <= MOD(182.22-360, 360) AND l.longitude >= MOD(74.35-360, 360)) ) AND (psal = 'Y' OR chlo = 'Y' OR not 1=1)) locationToDiff,CLASSIFICATION_LOCATION cl, CLASSIFICATION_TYPE ct WHERE l.location_id = locationToDiff.location_id AND cl.classification_location_id = locationToDiff.classification_location_id AND ct.classification_code = cl.classification_code AND l.PLATFORM_CODE='52310' and cl.classification_code=15;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20241217_143133_15134335/mooring-buoys-time-series-52310.csv; -measure_qc=12578