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/12/2017 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('01/01/2017 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (12) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 33 AND cl.lat_max >= 32 AND ((cl.long_min <= 134 AND cl.long_max >= 133) OR (cl.long_min <= MOD(134+360, 360) AND cl.long_max >= MOD(133+360, 360)) OR (cl.long_min <= MOD(134-360, 360) AND cl.long_max >= MOD(133-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 <= 33 AND l.latitude >= 32 AND ((l.longitude <= 134 AND l.longitude >= 133) OR (l.longitude <= MOD(134+360, 360) AND l.longitude >= MOD(133+360, 360)) OR (l.longitude <= MOD(134-360, 360) AND l.longitude >= MOD(133-360, 360)) ) ) 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='2101507' and cl.classification_code=12;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20250326_030800_15175704/drifting-buoys-2101507.nc; -valid_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/12/2017 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('01/01/2017 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (12) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 33 AND cl.lat_max >= 32 AND ((cl.long_min <= 134 AND cl.long_max >= 133) OR (cl.long_min <= MOD(134+360, 360) AND cl.long_max >= MOD(133+360, 360)) OR (cl.long_min <= MOD(134-360, 360) AND cl.long_max >= MOD(133-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 <= 33 AND l.latitude >= 32 AND ((l.longitude <= 134 AND l.longitude >= 133) OR (l.longitude <= MOD(134+360, 360) AND l.longitude >= MOD(133+360, 360)) OR (l.longitude <= MOD(134-360, 360) AND l.longitude >= MOD(133-360, 360)) ) ) 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='2201500' and cl.classification_code=12;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20250326_030800_15175704/drifting-buoys-2201500.nc; -valid_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/12/2017 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('01/01/2017 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (12) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 33 AND cl.lat_max >= 32 AND ((cl.long_min <= 134 AND cl.long_max >= 133) OR (cl.long_min <= MOD(134+360, 360) AND cl.long_max >= MOD(133+360, 360)) OR (cl.long_min <= MOD(134-360, 360) AND cl.long_max >= MOD(133-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 <= 33 AND l.latitude >= 32 AND ((l.longitude <= 134 AND l.longitude >= 133) OR (l.longitude <= MOD(134+360, 360) AND l.longitude >= MOD(133+360, 360)) OR (l.longitude <= MOD(134-360, 360) AND l.longitude >= MOD(133-360, 360)) ) ) 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='2201501' and cl.classification_code=12;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20250326_030800_15175704/drifting-buoys-2201501.nc; -valid_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/12/2017 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('01/01/2017 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (12) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 33 AND cl.lat_max >= 32 AND ((cl.long_min <= 134 AND cl.long_max >= 133) OR (cl.long_min <= MOD(134+360, 360) AND cl.long_max >= MOD(133+360, 360)) OR (cl.long_min <= MOD(134-360, 360) AND cl.long_max >= MOD(133-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 <= 33 AND l.latitude >= 32 AND ((l.longitude <= 134 AND l.longitude >= 133) OR (l.longitude <= MOD(134+360, 360) AND l.longitude >= MOD(133+360, 360)) OR (l.longitude <= MOD(134-360, 360) AND l.longitude >= MOD(133-360, 360)) ) ) 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='2201530' and cl.classification_code=12;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20250326_030800_15175704/drifting-buoys-2201530.nc; -valid_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/12/2017 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('01/01/2017 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (12) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 33 AND cl.lat_max >= 32 AND ((cl.long_min <= 134 AND cl.long_max >= 133) OR (cl.long_min <= MOD(134+360, 360) AND cl.long_max >= MOD(133+360, 360)) OR (cl.long_min <= MOD(134-360, 360) AND cl.long_max >= MOD(133-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 <= 33 AND l.latitude >= 32 AND ((l.longitude <= 134 AND l.longitude >= 133) OR (l.longitude <= MOD(134+360, 360) AND l.longitude >= MOD(133+360, 360)) OR (l.longitude <= MOD(134-360, 360) AND l.longitude >= MOD(133-360, 360)) ) ) 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='2201533' and cl.classification_code=12;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20250326_030800_15175704/drifting-buoys-2201533.nc; -valid_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/12/2017 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('01/01/2017 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (12) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 33 AND cl.lat_max >= 32 AND ((cl.long_min <= 134 AND cl.long_max >= 133) OR (cl.long_min <= MOD(134+360, 360) AND cl.long_max >= MOD(133+360, 360)) OR (cl.long_min <= MOD(134-360, 360) AND cl.long_max >= MOD(133-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 <= 33 AND l.latitude >= 32 AND ((l.longitude <= 134 AND l.longitude >= 133) OR (l.longitude <= MOD(134+360, 360) AND l.longitude >= MOD(133+360, 360)) OR (l.longitude <= MOD(134-360, 360) AND l.longitude >= MOD(133-360, 360)) ) ) 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='2201534' and cl.classification_code=12;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20250326_030800_15175704/drifting-buoys-2201534.nc; -valid_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/12/2017 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('01/01/2017 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (12) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 33 AND cl.lat_max >= 32 AND ((cl.long_min <= 134 AND cl.long_max >= 133) OR (cl.long_min <= MOD(134+360, 360) AND cl.long_max >= MOD(133+360, 360)) OR (cl.long_min <= MOD(134-360, 360) AND cl.long_max >= MOD(133-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 <= 33 AND l.latitude >= 32 AND ((l.longitude <= 134 AND l.longitude >= 133) OR (l.longitude <= MOD(134+360, 360) AND l.longitude >= MOD(133+360, 360)) OR (l.longitude <= MOD(134-360, 360) AND l.longitude >= MOD(133-360, 360)) ) ) 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='2201535' and cl.classification_code=12;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20250326_030800_15175704/drifting-buoys-2201535.nc; -valid_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/12/2017 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('01/01/2017 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (12) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 33 AND cl.lat_max >= 32 AND ((cl.long_min <= 134 AND cl.long_max >= 133) OR (cl.long_min <= MOD(134+360, 360) AND cl.long_max >= MOD(133+360, 360)) OR (cl.long_min <= MOD(134-360, 360) AND cl.long_max >= MOD(133-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 <= 33 AND l.latitude >= 32 AND ((l.longitude <= 134 AND l.longitude >= 133) OR (l.longitude <= MOD(134+360, 360) AND l.longitude >= MOD(133+360, 360)) OR (l.longitude <= MOD(134-360, 360) AND l.longitude >= MOD(133-360, 360)) ) ) 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='2201537' and cl.classification_code=12;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20250326_030800_15175704/drifting-buoys-2201537.nc; -valid_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/12/2017 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('01/01/2017 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (12) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 33 AND cl.lat_max >= 32 AND ((cl.long_min <= 134 AND cl.long_max >= 133) OR (cl.long_min <= MOD(134+360, 360) AND cl.long_max >= MOD(133+360, 360)) OR (cl.long_min <= MOD(134-360, 360) AND cl.long_max >= MOD(133-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 <= 33 AND l.latitude >= 32 AND ((l.longitude <= 134 AND l.longitude >= 133) OR (l.longitude <= MOD(134+360, 360) AND l.longitude >= MOD(133+360, 360)) OR (l.longitude <= MOD(134-360, 360) AND l.longitude >= MOD(133-360, 360)) ) ) 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='3200543' and cl.classification_code=12;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20250326_030800_15175704/drifting-buoys-3200543.nc; -valid_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/12/2017 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('01/01/2017 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (12) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 33 AND cl.lat_max >= 32 AND ((cl.long_min <= 134 AND cl.long_max >= 133) OR (cl.long_min <= MOD(134+360, 360) AND cl.long_max >= MOD(133+360, 360)) OR (cl.long_min <= MOD(134-360, 360) AND cl.long_max >= MOD(133-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 <= 33 AND l.latitude >= 32 AND ((l.longitude <= 134 AND l.longitude >= 133) OR (l.longitude <= MOD(134+360, 360) AND l.longitude >= MOD(133+360, 360)) OR (l.longitude <= MOD(134-360, 360) AND l.longitude >= MOD(133-360, 360)) ) ) 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='5100642' and cl.classification_code=12;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20250326_030800_15175704/drifting-buoys-5100642.nc; -valid_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/12/2017 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('01/01/2017 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (12) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 33 AND cl.lat_max >= 32 AND ((cl.long_min <= 134 AND cl.long_max >= 133) OR (cl.long_min <= MOD(134+360, 360) AND cl.long_max >= MOD(133+360, 360)) OR (cl.long_min <= MOD(134-360, 360) AND cl.long_max >= MOD(133-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 <= 33 AND l.latitude >= 32 AND ((l.longitude <= 134 AND l.longitude >= 133) OR (l.longitude <= MOD(134+360, 360) AND l.longitude >= MOD(133+360, 360)) OR (l.longitude <= MOD(134-360, 360) AND l.longitude >= MOD(133-360, 360)) ) ) 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='5100719' and cl.classification_code=12;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20250326_030800_15175704/drifting-buoys-5100719.nc; -valid_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/12/2017 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('01/01/2017 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (12) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 33 AND cl.lat_max >= 32 AND ((cl.long_min <= 134 AND cl.long_max >= 133) OR (cl.long_min <= MOD(134+360, 360) AND cl.long_max >= MOD(133+360, 360)) OR (cl.long_min <= MOD(134-360, 360) AND cl.long_max >= MOD(133-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 <= 33 AND l.latitude >= 32 AND ((l.longitude <= 134 AND l.longitude >= 133) OR (l.longitude <= MOD(134+360, 360) AND l.longitude >= MOD(133+360, 360)) OR (l.longitude <= MOD(134-360, 360) AND l.longitude >= MOD(133-360, 360)) ) ) 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='5200671' and cl.classification_code=12;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20250326_030800_15175704/drifting-buoys-5200671.nc; -valid_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/12/2017 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('01/01/2017 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (12) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 33 AND cl.lat_max >= 32 AND ((cl.long_min <= 134 AND cl.long_max >= 133) OR (cl.long_min <= MOD(134+360, 360) AND cl.long_max >= MOD(133+360, 360)) OR (cl.long_min <= MOD(134-360, 360) AND cl.long_max >= MOD(133-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 <= 33 AND l.latitude >= 32 AND ((l.longitude <= 134 AND l.longitude >= 133) OR (l.longitude <= MOD(134+360, 360) AND l.longitude >= MOD(133+360, 360)) OR (l.longitude <= MOD(134-360, 360) AND l.longitude >= MOD(133-360, 360)) ) ) 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='5201555' and cl.classification_code=12;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20250326_030800_15175704/drifting-buoys-5201555.nc; -valid_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/12/2017 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('01/01/2017 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (12) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 33 AND cl.lat_max >= 32 AND ((cl.long_min <= 134 AND cl.long_max >= 133) OR (cl.long_min <= MOD(134+360, 360) AND cl.long_max >= MOD(133+360, 360)) OR (cl.long_min <= MOD(134-360, 360) AND cl.long_max >= MOD(133-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 <= 33 AND l.latitude >= 32 AND ((l.longitude <= 134 AND l.longitude >= 133) OR (l.longitude <= MOD(134+360, 360) AND l.longitude >= MOD(133+360, 360)) OR (l.longitude <= MOD(134-360, 360) AND l.longitude >= MOD(133-360, 360)) ) ) 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='5201559' and cl.classification_code=12;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20250326_030800_15175704/drifting-buoys-5201559.nc; -valid_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/12/2017 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('01/01/2017 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (12) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 33 AND cl.lat_max >= 32 AND ((cl.long_min <= 134 AND cl.long_max >= 133) OR (cl.long_min <= MOD(134+360, 360) AND cl.long_max >= MOD(133+360, 360)) OR (cl.long_min <= MOD(134-360, 360) AND cl.long_max >= MOD(133-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 <= 33 AND l.latitude >= 32 AND ((l.longitude <= 134 AND l.longitude >= 133) OR (l.longitude <= MOD(134+360, 360) AND l.longitude >= MOD(133+360, 360)) OR (l.longitude <= MOD(134-360, 360) AND l.longitude >= MOD(133-360, 360)) ) ) 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='5201614' and cl.classification_code=12;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20250326_030800_15175704/drifting-buoys-5201614.nc; -valid_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/12/2017 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('01/01/2017 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (12) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 33 AND cl.lat_max >= 32 AND ((cl.long_min <= 134 AND cl.long_max >= 133) OR (cl.long_min <= MOD(134+360, 360) AND cl.long_max >= MOD(133+360, 360)) OR (cl.long_min <= MOD(134-360, 360) AND cl.long_max >= MOD(133-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 <= 33 AND l.latitude >= 32 AND ((l.longitude <= 134 AND l.longitude >= 133) OR (l.longitude <= MOD(134+360, 360) AND l.longitude >= MOD(133+360, 360)) OR (l.longitude <= MOD(134-360, 360) AND l.longitude >= MOD(133-360, 360)) ) ) 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='EXB02886' and cl.classification_code=12;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20250326_030800_15175704/drifting-buoys-EXB02886.nc; -valid_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/12/2017 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('01/01/2017 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (12) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 33 AND cl.lat_max >= 32 AND ((cl.long_min <= 134 AND cl.long_max >= 133) OR (cl.long_min <= MOD(134+360, 360) AND cl.long_max >= MOD(133+360, 360)) OR (cl.long_min <= MOD(134-360, 360) AND cl.long_max >= MOD(133-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 <= 33 AND l.latitude >= 32 AND ((l.longitude <= 134 AND l.longitude >= 133) OR (l.longitude <= MOD(134+360, 360) AND l.longitude >= MOD(133+360, 360)) OR (l.longitude <= MOD(134-360, 360) AND l.longitude >= MOD(133-360, 360)) ) ) 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='EXB03167' and cl.classification_code=12;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20250326_030800_15175704/drifting-buoys-EXB03167.nc; -valid_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/12/2017 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('01/01/2017 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (12) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 33 AND cl.lat_max >= 32 AND ((cl.long_min <= 134 AND cl.long_max >= 133) OR (cl.long_min <= MOD(134+360, 360) AND cl.long_max >= MOD(133+360, 360)) OR (cl.long_min <= MOD(134-360, 360) AND cl.long_max >= MOD(133-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 <= 33 AND l.latitude >= 32 AND ((l.longitude <= 134 AND l.longitude >= 133) OR (l.longitude <= MOD(134+360, 360) AND l.longitude >= MOD(133+360, 360)) OR (l.longitude <= MOD(134-360, 360) AND l.longitude >= MOD(133-360, 360)) ) ) 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='EXB04849' and cl.classification_code=12;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20250326_030800_15175704/drifting-buoys-EXB04849.nc; -valid_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/12/2017 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('01/01/2017 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (12) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 33 AND cl.lat_max >= 32 AND ((cl.long_min <= 134 AND cl.long_max >= 133) OR (cl.long_min <= MOD(134+360, 360) AND cl.long_max >= MOD(133+360, 360)) OR (cl.long_min <= MOD(134-360, 360) AND cl.long_max >= MOD(133-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 <= 33 AND l.latitude >= 32 AND ((l.longitude <= 134 AND l.longitude >= 133) OR (l.longitude <= MOD(134+360, 360) AND l.longitude >= MOD(133+360, 360)) OR (l.longitude <= MOD(134-360, 360) AND l.longitude >= MOD(133-360, 360)) ) ) 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='EXB04878' and cl.classification_code=12;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20250326_030800_15175704/drifting-buoys-EXB04878.nc; -valid_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/12/2017 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('01/01/2017 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (12) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 33 AND cl.lat_max >= 32 AND ((cl.long_min <= 134 AND cl.long_max >= 133) OR (cl.long_min <= MOD(134+360, 360) AND cl.long_max >= MOD(133+360, 360)) OR (cl.long_min <= MOD(134-360, 360) AND cl.long_max >= MOD(133-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 <= 33 AND l.latitude >= 32 AND ((l.longitude <= 134 AND l.longitude >= 133) OR (l.longitude <= MOD(134+360, 360) AND l.longitude >= MOD(133+360, 360)) OR (l.longitude <= MOD(134-360, 360) AND l.longitude >= MOD(133-360, 360)) ) ) 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='EXB04912' and cl.classification_code=12;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20250326_030800_15175704/drifting-buoys-EXB04912.nc; -valid_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/12/2017 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('01/01/2017 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (12) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 33 AND cl.lat_max >= 32 AND ((cl.long_min <= 134 AND cl.long_max >= 133) OR (cl.long_min <= MOD(134+360, 360) AND cl.long_max >= MOD(133+360, 360)) OR (cl.long_min <= MOD(134-360, 360) AND cl.long_max >= MOD(133-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 <= 33 AND l.latitude >= 32 AND ((l.longitude <= 134 AND l.longitude >= 133) OR (l.longitude <= MOD(134+360, 360) AND l.longitude >= MOD(133+360, 360)) OR (l.longitude <= MOD(134-360, 360) AND l.longitude >= MOD(133-360, 360)) ) ) 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='EXB05997' and cl.classification_code=12;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20250326_030800_15175704/drifting-buoys-EXB05997.nc; -valid_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/12/2017 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('01/01/2017 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (12) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 33 AND cl.lat_max >= 32 AND ((cl.long_min <= 134 AND cl.long_max >= 133) OR (cl.long_min <= MOD(134+360, 360) AND cl.long_max >= MOD(133+360, 360)) OR (cl.long_min <= MOD(134-360, 360) AND cl.long_max >= MOD(133-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 <= 33 AND l.latitude >= 32 AND ((l.longitude <= 134 AND l.longitude >= 133) OR (l.longitude <= MOD(134+360, 360) AND l.longitude >= MOD(133+360, 360)) OR (l.longitude <= MOD(134-360, 360) AND l.longitude >= MOD(133-360, 360)) ) ) 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='EXB05998' and cl.classification_code=12;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20250326_030800_15175704/drifting-buoys-EXB05998.nc; -valid_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/12/2017 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('01/01/2017 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (12) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 33 AND cl.lat_max >= 32 AND ((cl.long_min <= 134 AND cl.long_max >= 133) OR (cl.long_min <= MOD(134+360, 360) AND cl.long_max >= MOD(133+360, 360)) OR (cl.long_min <= MOD(134-360, 360) AND cl.long_max >= MOD(133-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 <= 33 AND l.latitude >= 32 AND ((l.longitude <= 134 AND l.longitude >= 133) OR (l.longitude <= MOD(134+360, 360) AND l.longitude >= MOD(133+360, 360)) OR (l.longitude <= MOD(134-360, 360) AND l.longitude >= MOD(133-360, 360)) ) ) 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='EXB06001' and cl.classification_code=12;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20250326_030800_15175704/drifting-buoys-EXB06001.nc; -valid_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/12/2017 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('01/01/2017 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (12) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 33 AND cl.lat_max >= 32 AND ((cl.long_min <= 134 AND cl.long_max >= 133) OR (cl.long_min <= MOD(134+360, 360) AND cl.long_max >= MOD(133+360, 360)) OR (cl.long_min <= MOD(134-360, 360) AND cl.long_max >= MOD(133-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 <= 33 AND l.latitude >= 32 AND ((l.longitude <= 134 AND l.longitude >= 133) OR (l.longitude <= MOD(134+360, 360) AND l.longitude >= MOD(133+360, 360)) OR (l.longitude <= MOD(134-360, 360) AND l.longitude >= MOD(133-360, 360)) ) ) 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='EXB06182' and cl.classification_code=12;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20250326_030800_15175704/drifting-buoys-EXB06182.nc; -valid_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/12/2017 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('01/01/2017 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (12) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 33 AND cl.lat_max >= 32 AND ((cl.long_min <= 134 AND cl.long_max >= 133) OR (cl.long_min <= MOD(134+360, 360) AND cl.long_max >= MOD(133+360, 360)) OR (cl.long_min <= MOD(134-360, 360) AND cl.long_max >= MOD(133-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 <= 33 AND l.latitude >= 32 AND ((l.longitude <= 134 AND l.longitude >= 133) OR (l.longitude <= MOD(134+360, 360) AND l.longitude >= MOD(133+360, 360)) OR (l.longitude <= MOD(134-360, 360) AND l.longitude >= MOD(133-360, 360)) ) ) 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='EXB06199' and cl.classification_code=12;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20250326_030800_15175704/drifting-buoys-EXB06199.nc; -valid_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/12/2017 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('01/01/2017 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (12) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 33 AND cl.lat_max >= 32 AND ((cl.long_min <= 134 AND cl.long_max >= 133) OR (cl.long_min <= MOD(134+360, 360) AND cl.long_max >= MOD(133+360, 360)) OR (cl.long_min <= MOD(134-360, 360) AND cl.long_max >= MOD(133-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 <= 33 AND l.latitude >= 32 AND ((l.longitude <= 134 AND l.longitude >= 133) OR (l.longitude <= MOD(134+360, 360) AND l.longitude >= MOD(133+360, 360)) OR (l.longitude <= MOD(134-360, 360) AND l.longitude >= MOD(133-360, 360)) ) ) 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='EXD15976' and cl.classification_code=12;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20250326_030800_15175704/drifting-buoys-EXD15976.nc; -valid_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/12/2017 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('01/01/2017 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (12) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 33 AND cl.lat_max >= 32 AND ((cl.long_min <= 134 AND cl.long_max >= 133) OR (cl.long_min <= MOD(134+360, 360) AND cl.long_max >= MOD(133+360, 360)) OR (cl.long_min <= MOD(134-360, 360) AND cl.long_max >= MOD(133-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 <= 33 AND l.latitude >= 32 AND ((l.longitude <= 134 AND l.longitude >= 133) OR (l.longitude <= MOD(134+360, 360) AND l.longitude >= MOD(133+360, 360)) OR (l.longitude <= MOD(134-360, 360) AND l.longitude >= MOD(133-360, 360)) ) ) 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='EXD16495' and cl.classification_code=12;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20250326_030800_15175704/drifting-buoys-EXD16495.nc; -valid_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/12/2017 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('01/01/2017 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (12) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 33 AND cl.lat_max >= 32 AND ((cl.long_min <= 134 AND cl.long_max >= 133) OR (cl.long_min <= MOD(134+360, 360) AND cl.long_max >= MOD(133+360, 360)) OR (cl.long_min <= MOD(134-360, 360) AND cl.long_max >= MOD(133-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 <= 33 AND l.latitude >= 32 AND ((l.longitude <= 134 AND l.longitude >= 133) OR (l.longitude <= MOD(134+360, 360) AND l.longitude >= MOD(133+360, 360)) OR (l.longitude <= MOD(134-360, 360) AND l.longitude >= MOD(133-360, 360)) ) ) 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='EXD16581' and cl.classification_code=12;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20250326_030800_15175704/drifting-buoys-EXD16581.nc; -valid_qc=12578