SELECT s.station_id FROM CLASSIFICATION_STATION cs, (SELECT cs.STATION_ID from CLASSIFICATION_STATION cs,STATION s, (select platform_code from platform ) P WHERE S.platform_code = P.platform_code AND cs.classification_code IN (1, 2, 3, 4, 5, 6, 9, 11, 12, 13, 14, 15, 19) AND (cs.restriction = 'P' or cs.restriction is null) AND cs.station_id = s.station_id AND s.latitude <= -21.27 AND s.latitude >= -24.07 AND ((s.longitude <= -38.26 AND s.longitude >= -45.25) OR (s.longitude <= MOD(-38.26+360, 360) AND s.longitude >= MOD(-45.25+360, 360)) OR (s.longitude <= MOD(-38.26-360, 360) AND s.longitude >= MOD(-45.25-360, 360)) ) AND s.station_date <= TO_DATE('25/01/2025 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND s.station_date >= TO_DATE('25/12/2000 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND EXISTS (SELECT P.profile_id FROM profile P WHERE P.physical_param_code in (12, 61, 64, 218, 188) AND P.station_id = s.station_id) ) stationToDiff, STATION s, CLASSIFICATION_TYPE ct WHERE cs.station_id = stationToDiff.station_id AND s.station_id = cs.station_id AND ct.classification_code = cs.classification_code AND s.PLATFORM_CODE='MLRM6' and cs.classification_code=3;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20250125_140428_15144390/ctd-profiles-MLRM6.csv;-time=iso SELECT s.station_id FROM CLASSIFICATION_STATION cs, (SELECT cs.STATION_ID from CLASSIFICATION_STATION cs,STATION s, (select platform_code from platform ) P WHERE S.platform_code = P.platform_code AND cs.classification_code IN (1, 2, 3, 4, 5, 6, 9, 11, 12, 13, 14, 15, 19) AND (cs.restriction = 'P' or cs.restriction is null) AND cs.station_id = s.station_id AND s.latitude <= -21.27 AND s.latitude >= -24.07 AND ((s.longitude <= -38.26 AND s.longitude >= -45.25) OR (s.longitude <= MOD(-38.26+360, 360) AND s.longitude >= MOD(-45.25+360, 360)) OR (s.longitude <= MOD(-38.26-360, 360) AND s.longitude >= MOD(-45.25-360, 360)) ) AND s.station_date <= TO_DATE('25/01/2025 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND s.station_date >= TO_DATE('25/12/2000 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND EXISTS (SELECT P.profile_id FROM profile P WHERE P.physical_param_code in (12, 61, 64, 218, 188) AND P.station_id = s.station_id) ) stationToDiff, STATION s, CLASSIFICATION_TYPE ct WHERE cs.station_id = stationToDiff.station_id AND s.station_id = cs.station_id AND ct.classification_code = cs.classification_code AND s.PLATFORM_CODE='SHIP' and cs.classification_code=3;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20250125_140428_15144390/ctd-profiles-SHIP.csv;-time=iso SELECT s.station_id FROM CLASSIFICATION_STATION cs, (SELECT cs.STATION_ID from CLASSIFICATION_STATION cs,STATION s, (select platform_code from platform ) P WHERE S.platform_code = P.platform_code AND cs.classification_code IN (1, 2, 3, 4, 5, 6, 9, 11, 12, 13, 14, 15, 19) AND (cs.restriction = 'P' or cs.restriction is null) AND cs.station_id = s.station_id AND s.latitude <= -21.27 AND s.latitude >= -24.07 AND ((s.longitude <= -38.26 AND s.longitude >= -45.25) OR (s.longitude <= MOD(-38.26+360, 360) AND s.longitude >= MOD(-45.25+360, 360)) OR (s.longitude <= MOD(-38.26-360, 360) AND s.longitude >= MOD(-45.25-360, 360)) ) AND s.station_date <= TO_DATE('25/01/2025 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND s.station_date >= TO_DATE('25/12/2000 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND EXISTS (SELECT P.profile_id FROM profile P WHERE P.physical_param_code in (12, 61, 64, 218, 188) AND P.station_id = s.station_id) ) stationToDiff, STATION s, CLASSIFICATION_TYPE ct WHERE cs.station_id = stationToDiff.station_id AND s.station_id = cs.station_id AND ct.classification_code = cs.classification_code AND s.PLATFORM_CODE='3901496' and cs.classification_code=9;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20250125_140428_15144390/other-profiles-3901496.csv;-time=iso SELECT s.station_id FROM CLASSIFICATION_STATION cs, (SELECT cs.STATION_ID from CLASSIFICATION_STATION cs,STATION s, (select platform_code from platform ) P WHERE S.platform_code = P.platform_code AND cs.classification_code IN (1, 2, 3, 4, 5, 6, 9, 11, 12, 13, 14, 15, 19) AND (cs.restriction = 'P' or cs.restriction is null) AND cs.station_id = s.station_id AND s.latitude <= -21.27 AND s.latitude >= -24.07 AND ((s.longitude <= -38.26 AND s.longitude >= -45.25) OR (s.longitude <= MOD(-38.26+360, 360) AND s.longitude >= MOD(-45.25+360, 360)) OR (s.longitude <= MOD(-38.26-360, 360) AND s.longitude >= MOD(-45.25-360, 360)) ) AND s.station_date <= TO_DATE('25/01/2025 23:59:59', 'DD/MM/YYYY HH24:MI:SS') AND s.station_date >= TO_DATE('25/12/2000 00:00:00', 'DD/MM/YYYY HH24:MI:SS') AND EXISTS (SELECT P.profile_id FROM profile P WHERE P.physical_param_code in (12, 61, 64, 218, 188) AND P.station_id = s.station_id) ) stationToDiff, STATION s, CLASSIFICATION_TYPE ct WHERE cs.station_id = stationToDiff.station_id AND s.station_id = cs.station_id AND ct.classification_code = cs.classification_code AND s.PLATFORM_CODE='5905980' and cs.classification_code=9;/home1/datawork/co_exp/coriolis_exp/spool/co05/co0501/tmp/DataSelection_20250125_140428_15144390/other-profiles-5905980.csv;-time=iso