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/10/2014 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('15/09/2014 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (1, 2, 3, 4, 5, 6, 9, 11, 15) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 24.963 AND cl.lat_max >= 3.483 AND ((cl.long_min <= 93.677 AND cl.long_max >= 77.567) OR (cl.long_min <= MOD(93.677+360, 360) AND cl.long_max >= MOD(77.567+360, 360)) OR (cl.long_min <= MOD(93.677-360, 360) AND cl.long_max >= MOD(77.567-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 <= 24.963 AND l.latitude >= 3.483 AND ((l.longitude <= 93.677 AND l.longitude >= 77.567) OR (l.longitude <= MOD(93.677+360, 360) AND l.longitude >= MOD(77.567+360, 360)) OR (l.longitude <= MOD(93.677-360, 360) AND l.longitude >= MOD(77.567-360, 360)) ) AND (temp = 'Y' OR psal = 'Y' OR doxy = '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='23008' and cl.classification_code=15;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20241204_075459_15124401/mooring-buoys-time-series-23008.csv; 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/10/2014 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('15/09/2014 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (1, 2, 3, 4, 5, 6, 9, 11, 15) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 24.963 AND cl.lat_max >= 3.483 AND ((cl.long_min <= 93.677 AND cl.long_max >= 77.567) OR (cl.long_min <= MOD(93.677+360, 360) AND cl.long_max >= MOD(77.567+360, 360)) OR (cl.long_min <= MOD(93.677-360, 360) AND cl.long_max >= MOD(77.567-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 <= 24.963 AND l.latitude >= 3.483 AND ((l.longitude <= 93.677 AND l.longitude >= 77.567) OR (l.longitude <= MOD(93.677+360, 360) AND l.longitude >= MOD(77.567+360, 360)) OR (l.longitude <= MOD(93.677-360, 360) AND l.longitude >= MOD(77.567-360, 360)) ) AND (temp = 'Y' OR psal = 'Y' OR doxy = '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='23009' and cl.classification_code=15;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20241204_075459_15124401/mooring-buoys-time-series-23009.csv; 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/10/2014 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('15/09/2014 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (1, 2, 3, 4, 5, 6, 9, 11, 15) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 24.963 AND cl.lat_max >= 3.483 AND ((cl.long_min <= 93.677 AND cl.long_max >= 77.567) OR (cl.long_min <= MOD(93.677+360, 360) AND cl.long_max >= MOD(77.567+360, 360)) OR (cl.long_min <= MOD(93.677-360, 360) AND cl.long_max >= MOD(77.567-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 <= 24.963 AND l.latitude >= 3.483 AND ((l.longitude <= 93.677 AND l.longitude >= 77.567) OR (l.longitude <= MOD(93.677+360, 360) AND l.longitude >= MOD(77.567+360, 360)) OR (l.longitude <= MOD(93.677-360, 360) AND l.longitude >= MOD(77.567-360, 360)) ) AND (temp = 'Y' OR psal = 'Y' OR doxy = '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='23093' and cl.classification_code=15;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20241204_075459_15124401/mooring-buoys-time-series-23093.csv; 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/10/2014 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('15/09/2014 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (1, 2, 3, 4, 5, 6, 9, 11, 15) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 24.963 AND cl.lat_max >= 3.483 AND ((cl.long_min <= 93.677 AND cl.long_max >= 77.567) OR (cl.long_min <= MOD(93.677+360, 360) AND cl.long_max >= MOD(77.567+360, 360)) OR (cl.long_min <= MOD(93.677-360, 360) AND cl.long_max >= MOD(77.567-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 <= 24.963 AND l.latitude >= 3.483 AND ((l.longitude <= 93.677 AND l.longitude >= 77.567) OR (l.longitude <= MOD(93.677+360, 360) AND l.longitude >= MOD(77.567+360, 360)) OR (l.longitude <= MOD(93.677-360, 360) AND l.longitude >= MOD(77.567-360, 360)) ) AND (temp = 'Y' OR psal = 'Y' OR doxy = '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='23094' and cl.classification_code=15;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20241204_075459_15124401/mooring-buoys-time-series-23094.csv; 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/10/2014 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('15/09/2014 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (1, 2, 3, 4, 5, 6, 9, 11, 15) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 24.963 AND cl.lat_max >= 3.483 AND ((cl.long_min <= 93.677 AND cl.long_max >= 77.567) OR (cl.long_min <= MOD(93.677+360, 360) AND cl.long_max >= MOD(77.567+360, 360)) OR (cl.long_min <= MOD(93.677-360, 360) AND cl.long_max >= MOD(77.567-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 <= 24.963 AND l.latitude >= 3.483 AND ((l.longitude <= 93.677 AND l.longitude >= 77.567) OR (l.longitude <= MOD(93.677+360, 360) AND l.longitude >= MOD(77.567+360, 360)) OR (l.longitude <= MOD(93.677-360, 360) AND l.longitude >= MOD(77.567-360, 360)) ) AND (temp = 'Y' OR psal = 'Y' OR doxy = '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='23098' and cl.classification_code=15;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20241204_075459_15124401/mooring-buoys-time-series-23098.csv; 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/10/2014 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('15/09/2014 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (1, 2, 3, 4, 5, 6, 9, 11, 15) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 24.963 AND cl.lat_max >= 3.483 AND ((cl.long_min <= 93.677 AND cl.long_max >= 77.567) OR (cl.long_min <= MOD(93.677+360, 360) AND cl.long_max >= MOD(77.567+360, 360)) OR (cl.long_min <= MOD(93.677-360, 360) AND cl.long_max >= MOD(77.567-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 <= 24.963 AND l.latitude >= 3.483 AND ((l.longitude <= 93.677 AND l.longitude >= 77.567) OR (l.longitude <= MOD(93.677+360, 360) AND l.longitude >= MOD(77.567+360, 360)) OR (l.longitude <= MOD(93.677-360, 360) AND l.longitude >= MOD(77.567-360, 360)) ) AND (temp = 'Y' OR psal = 'Y' OR doxy = '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='23460' and cl.classification_code=15;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20241204_075459_15124401/mooring-buoys-time-series-23460.csv; 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/10/2014 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND cl.on_day >= TO_DATE('15/09/2014 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND cl.classification_code IN (1, 2, 3, 4, 5, 6, 9, 11, 15) AND (cl.restriction = 'P' or cl.restriction is null) AND cl.lat_min <= 24.963 AND cl.lat_max >= 3.483 AND ((cl.long_min <= 93.677 AND cl.long_max >= 77.567) OR (cl.long_min <= MOD(93.677+360, 360) AND cl.long_max >= MOD(77.567+360, 360)) OR (cl.long_min <= MOD(93.677-360, 360) AND cl.long_max >= MOD(77.567-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 <= 24.963 AND l.latitude >= 3.483 AND ((l.longitude <= 93.677 AND l.longitude >= 77.567) OR (l.longitude <= MOD(93.677+360, 360) AND l.longitude >= MOD(77.567+360, 360)) OR (l.longitude <= MOD(93.677-360, 360) AND l.longitude >= MOD(77.567-360, 360)) ) AND (temp = 'Y' OR psal = 'Y' OR doxy = '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='23491' and cl.classification_code=15;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20241204_075459_15124401/mooring-buoys-time-series-23491.csv;