Submitted:
30 October 2026
Posted:
02 November 2026
You are already at the latest version
Abstract
Coastal geospatial artificial intelligence (GeoAI) can make environmental information accessible, but predictive skill alone does not validate beach-specific or safety-related advice. This study evaluates CyprusGPT at three bathing sites in Cyprus using Sentinel-2 imagery, ERA5 reanalysis and an audit of the rules that turn environmental inputs into user-facing ratings. A normalized difference turbidity index (NDTI) from 465 Sentinel-2 overpasses (2021–2026) separates the sites, which share one ERA5 wave cell, but is unrelated to the application's wave-derived clarity score (Spearman ρ from −0.04 to 0.03). Random forest (RF) and XGBoost forecasts of daily wave height and wind are compared with persistence and seasonal climatology. Next-day RF wave forecasts reach a coefficient of determination of 0.537 and reduce mean squared error by 35.8% relative to persistence (95% interval 26.4–44.4%); an independently specified reconstruction reaches 0.465. No three-day model improves on climatology, and high waves are underpredicted. The code audit also shows that missing inputs can yield favourable star ratings. No calibrated water-quality retrieval, field validation or conversational evaluation is claimed. The findings support limited short-horizon predictive value and define the spatial, temporal and evidential controls needed before predictions become coastal decision support.
Keywords:
GeoAI
; coastal decision support
; Sentinel-2
; NDTI
; ERA5
; wave height
; random forest
; XGBoost
; forecast verification
; uncertainty
1. Introduction
Geospatial artificial intelligence (GeoAI) connects spatial data, computational models and geographic reasoning. Its usefulness depends not only on predictive accuracy but also on whether the spatial and temporal support of the data matches the question being answered [1]. Earth-system machine learning can identify useful statistical relationships, but interpretation still requires attention to the physical processes and observation systems from which those relationships arise [2]. In a coastal application, attaching a prediction to a beach name can make the result appear more local, immediate and decision-ready than its underlying evidence permits.
Earth-observation missions provide complementary information rather than interchangeable measurements. Sentinel-2 supports spatially detailed optical monitoring, while Sentinel-3 combines instruments designed for ocean colour, thermal observations and other measurements [3,4]. However, an optical index is not automatically a calibrated water-quality quantity. Atmospheric correction, water type, adjacency effects and suitable validation remain important limitations, particularly in optically complex coastal waters [5,6]. Reanalysis constitutes another type of evidence: it combines observations with a numerical modelling and data-assimilation system rather than directly measuring conditions at every coastal location [7].
Prediction and decision support must also be distinguished. A regional model may have useful forecast skill without being sufficient to determine whether swimming is appropriate at an individual beach. Local wave transformation, currents, pollution, restrictions and user vulnerability may be absent from the inputs. European bathing-water classification, for example, uses microbiological indicators including intestinal enterococci and Escherichia coli; it is not determined by a generic weighted score of temperature, wind, wave height and apparent clarity [8]. A fluent natural-language explanation cannot supply missing measurements or validate an untested decision rule.
CyprusGPT is an author-developed coastal-information prototype comprising location matching, environmental application programming interfaces (APIs), deterministic interpretation rules and a connection to an external conversational service. The broader development plan includes satellite-derived optical indicators and an audit of language-model responses. The present study evaluates the completed numerical evidence, a Sentinel-2 optical-index extraction and the inspectable implementation. Planned integrations are not treated as already validated capabilities, and a connection to a conversational endpoint is not by itself evidence of a tested multi-agent architecture.
Two forecast-verification issues motivate the empirical design. Temporal dependence requires careful separation of training, validation and test information [9]. In addition, a model's apparent benefit depends on the comparator: persistence may become weak at longer horizons even when seasonal climatology remains competitive. Error measures and baseline-relative scores therefore answer different questions and should be reported together [10]. This distinction matters when benchmark results are used to support confident environmental statements.
The study addresses four questions. RQ1 asks whether tree-based models improve on both persistence and seasonal climatology at one- and three-day horizons. RQ2 asks whether the qualitative finding survives a separately specified training protocol on the same source series. RQ3 asks whether the prototype's scoring and missing-data rules support the strength of its user-facing ratings. RQ4 asks whether a Sentinel-2 optical index supports the clarity score that the prototype derives from wave height. These are retrospective, exploratory questions, not preregistered confirmatory tests. The contribution is a reproducible benchmark combined with an implementation audit, rather than a new satellite-retrieval method or a validated end-to-end environmental assistant.
2. Materials and Methods
2.1. Study Materials and Evidence Boundaries
Four experiment artifacts provide the numerical basis: era5_daily_sites.csv, ml_test_predictions.csv, ml_results.json and CyprusGPT_experiments.ipynb, together with the benchmark script that generated the predictions (ml.py) and the Sentinel-2 site table (s2_ndti_sites.csv). The application source cyprusgpt_elevel_master.py supplies the interpretation rules. Table 1 distinguishes completed data and predictions from the unexecuted extension protocol. Supplementary File S1 contains the local inputs, their checksums, the benchmark, reconstruction and verification code, derived outputs and figure-generation code. Application credentials are not included or used.
The daily file was retrieved on 28 October 2026 through the Open-Meteo interfaces to ERA5 [15,21]: hourly 10 m wind speed and direction from the historical-weather endpoint (model era5) and hourly significant wave height from the marine endpoint (model era5_ocean), requested in the Asia/Nicosia time zone. Daily values are means of the 24 hourly values; hmax is the daily maximum of hourly significant wave height, and the wind components were computed from hourly speed and direction before averaging. Values were stored to 0.01 m and 0.1 m/s. The retrieval requests are listed in S1. Raw hourly responses were not archived, and the files do not identify which recent values were initial-release ERA5T. Numerical checks therefore establish the internal consistency of the extract and predictions; they do not independently certify the upstream product. The source series are used as retrieved, without synthetic environmental observations.
The primary benchmark and the reconstruction are separate experiments. The primary benchmark is documented by its script, and recalculating errors from its stored predictions verifies the reported scores. The reconstruction establishes an alternative training protocol with a stricter label cutoff and a reduced feature set, yet it shares the same source series and evaluation window. It is therefore a robustness check rather than an external geographic validation. Synthetic inputs are used only in clearly identified deterministic tests of the scoring functions.
2.2. Locations, Variables and Spatial Support
The study uses three named coastal locations in south-eastern Cyprus. The supporting notebook specifies representative coordinates of 34.9889°N, 33.9775°E for Ayia Napa/Nissi; 34.9508°N, 33.8993°E for Ayia Thekla; and 35.0155°N, 34.0525°E for Protaras/Fig Tree Bay. These coordinates describe the notebook's intended location mapping, not independently verified field measurement sites.
The daily table contains one wave-height target, h, assigned to all three locations, and two wind-speed targets: u_a for Ayia Napa/Ayia Thekla and u_p for Protaras. Wave height is in metres and wind speed in metres per second. The table spans 2,119 consecutive dates from 1 January 2021 through 20 October 2026. Additional columns contain the daily maximum of hourly significant wave height (hmax) and daily-mean wind components. The primary benchmark uses these columns as predictors; the reconstruction uses only h, u_a and u_p.
All three locations fall in the same ERA5 wave cell, centred at 35.0°N, 34.0°E. Wind for Ayia Napa and Ayia Thekla comes from the atmospheric cell centred at 35.0°N, 33.75°E, and wind for Protaras from the cell centred at 35.0°N, 34.0°E. The analysis consequently uses one regional wave record rather than three independent wave series. ERA5 ocean-wave fields are provided on a 0.5° grid, distinct from the 0.25° atmospheric grid [11]. Product-grid spacing must not be equated with beach-scale validation.
Accordingly, the wave task has one series of temporal verification cases, not three independent spatial replications. The shared Ayia Napa/Ayia Thekla wind record likewise represents one target. Naming several locations does not create additional environmental observations. This distinction is maintained in all sample counts, tables and uncertainty calculations.
2.3. Forecast Origin, Verification Date and Temporal Splits
For a forecast origin t, the target is the same variable at t+H, with H equal to one or three days. The stored prediction-file index is a verification date. This interpretation was checked by matching every target to the daily extract and every persistence value to the daily value H days earlier. The resulting one-day test window is 2 January 2025–20 October 2026, with 657 dates; the three-day window begins on 4 January 2025, with 655 dates. Table 2 records the date conventions and sample sizes.
Daily predictors are treated as retrospectively available after the corresponding day, not at its beginning. A further distinction is operational availability. Initial-release ERA5T is normally available approximately five days behind real time and may later be replaced by finalized ERA5 [11]. A benchmark that uses the value at t to predict t+1 is therefore not a demonstration that this input could have been obtained in real time. The recent end of the supplied extract may contain initial-release values, but the files do not record which values were preliminary.
2.4. Primary Benchmark Models and Score Verification
The prediction archive contains six tasks: three target series at two horizons. Each task includes the reference value, persistence, seasonal climatology, random forest (RF) and XGBoost predictions. The two unavailable entries at the beginning of each three-day block are excluded for that task; no missing target is imputed. Recalculation covers four point metrics, four comparators and six tasks, yielding 96 checks against the supplied JSON summary.
RF is a randomized tree-ensemble method [12], whereas XGBoost implements regularized gradient-boosted trees [13]. The primary benchmark uses 28 predictors: the current daily values of h, hmax, u_a, u_p and the four wind components; their lags of 1 and 2 days; first differences of h and u_a; and annual sine and cosine terms. Models are tuned on 2021–2023 origins with 2024 as the validation year and then refitted on all 1,459 eligible origins from 2021–2024. RF uses 300 trees and a minimum leaf size of 3, with maximum depth in {6, 10, unlimited} and maximum-feature fraction in {0.33, 0.6, 1.0}. XGBoost uses subsampling of 0.8, minimum child weight 3, maximum depth in {2, 3, 4, 6} and learning rate in {0.03, 0.1}, with the number of rounds fixed by early stopping (patience 50) on the validation year. Both use random seed 42. Because the split is defined on forecast origins, the final three-day training set contains three targets dated 1–3 January 2025; the reconstruction removes this overlap by splitting on target dates.
For reference values yᵢ and predictions pᵢ on n verification dates, root mean squared error (RMSE), mean absolute error (MAE) and the coefficient of determination are calculated as follows. The mean reference value in the evaluated subset is denoted by y-bar. RMSE and MAE retain the target's units.
Baseline-relative skill is defined using mean squared error (MSE):
Positive skill denotes lower MSE than the named baseline, zero denotes equality and negative skill denotes worse performance. It is not a percentage reduction in RMSE. Both baseline comparisons use exactly the model's verification dates. In the primary benchmark, seasonal climatology is the mean of 2021–2024 values within ±15 day-of-year positions of the verification date; the reconstruction uses the 365-bin definition in Section 2.5. The two baseline series therefore differ slightly and are not treated as identical.
2.5. Fully Specified Chronological Reconstruction
The alternative benchmark uses only h, u_a and u_p. Its 26 features comprise eight causal history features for each series and two calendar features. For each series, the inputs are the current daily value; lags of 1, 2, 3 and 7 days; trailing means over 3 and 7 days; and the first difference. Annual sine and cosine terms use elapsed days since the year's beginning divided by the number of days in that year. Rolling windows include only the current and previous dates. Records without sufficient history or an available target are removed.
Candidate models are trained using targets dated on or before 31 December 2023. Validation origins begin on 1 January 2024, and validation target dates must not exceed 31 December 2024. The configuration with the lowest validation RMSE is selected separately for each target and horizon. It is then refitted on all eligible targets through 31 December 2024. Test origins start on 1 January 2025. Splitting on target dates prevents a three-day training label from extending into the test period. Final training counts are 1,453 at one day and 1,451 at three days.
The RF search evaluates eight combinations: 300 trees; maximum depth in {6, 10}; minimum samples per leaf in {3, 10}; and maximum-feature fraction in {0.5, 1.0}. The XGBoost search evaluates six combinations: maximum depth in {2, 4}; boosting rounds in {50, 150, 300}; learning rate 0.03; minimum child weight 5; row and column subsampling fractions 1.0; and L2 regularization parameter 1.0. It uses the squared-error objective and histogram tree construction. Both model families use random seed 20261028 and two worker threads. Remaining settings use the recorded library-version defaults. No early stopping or test-based retuning is used. Appendix A lists the selected configurations; validation scores are available on request.
Persistence equals the variable's daily value at the forecast origin. Reconstructed climatology uses only values from 2021–2024. Month-days are assigned to a 365-bin calendar, with 29 February assigned to the 28 February bin. The prediction is the pooled training mean within a circular calendar distance of 15 days from the target date. This 31-bin window is fixed before fitting the reconstruction and is not optimized on test results. Calendar position is known at issuance and is not a future environmental measurement.
The reconstruction was specified after the primary scores were available. It is exploratory rather than a fully untouched confirmatory test. It also excludes the hmax and component-wind predictors used by the primary benchmark. Numerical differences between the two cannot be attributed to any one feature, hyperparameter or fitting choice without a controlled matched comparison. Their shared dataset also means that agreement is a robustness result, not independent observational confirmation.
2.6. Uncertainty and Diagnostic Subsets
Uncertainty in skill is estimated by paired circular moving-block resampling of the test-date squared-error sequences, applying the block-bootstrap rationale for dependent observations [14]. The primary block length is seven days. Blocks are sampled with replacement until n positions are obtained, truncating the last block and wrapping indices at the series boundary. Identical sampled indices are used for model and baseline errors. Ten thousand replicates with seed 20261028 provide the 2.5th and 97.5th percentile bounds.
These exploratory intervals condition on fixed trained forecasts and the available reference series. They exclude model-selection uncertainty, uncertainty in reanalysis and extraction, and geographic-transfer uncertainty. Circular wrapping connects endpoints from different seasons, so the construction only approximates local dependence in a seasonal record. Sensitivity calculations for the archive use block lengths of 1, 14 and 30 days. Intervals are not adjusted for multiple comparisons and are not interpreted as proof of universal algorithm superiority.
Secondary diagnostics summarize calendar years, meteorological seasons and higher reference values. The 2026 subset is incomplete. A high-wave subset is defined by h exceeding the 90th percentile of the 2021–2024 daily wave series, yielding 0.81 m. This distributional threshold is not a swimming-hazard threshold. RMSE, MAE and signed prediction bias are calculated on the subset without model refitting. Conditioning on realized reference values is an error diagnostic, not a prospective warning rule.
2.7. Audit of Environmental Interpretation Rules
The inspected application requests wave height and sea-surface temperature from Open-Meteo Marine and wind speed from its weather endpoint. These are model-based environmental products, not a satellite optical-retrieval chain [15]. The implementation averages available marine values returned for a three-hour request and uses the current-weather wind field. Their differing time supports are documented as implementation behaviour; no validated daily multisensor product is inferred.
The function estimate_clarity_from_wave maps wave height to a clarity score of 95 below 0.25 m, 90 from 0.25 to below 0.5 m, 80 from 0.5 to below 1.0 m, 65 from 1.0 to below 1.5 m, and 50 at or above 1.5 m. Missing wave input returns 70. Qualitative algae text is subsequently derived from this score. Neither operation measures optical clarity, chlorophyll-a or microbiological contamination.
The application combines temperature, wind, wave and clarity component scores on a 0–100 scale. With components denoted by S_T, S_U, S_H and C, respectively, the index is:
I = round(0.35 ST + 0.25 SU + 0.20 SH + 0.20 C) (5)
The rating is five stars for I ≥ 85, four for 70 ≤ I < 85, three for 55 ≤ I < 70, two for 40 ≤ I < 55 and one otherwise. Missing temperature, wind and wave inputs each receive a component score of 70. Temperature is scored most favourably between 22 and 28 °C; wind and wave components decrease across fixed thresholds. The scoring arithmetic was reproduced without the application credential or network calls.
Six synthetic software tests examine missingness and compensating inputs. They are not observations of beach conditions. The tests demonstrate the outputs of the inspected rules for those inputs, not their frequency in deployment or their effects on human behaviour. No external agent configuration, response logs, expert-rating sheets or completed conversational evaluation accompany the experiment data. Static code inspection therefore does not establish conversational accuracy or multi-agent coordination.
2.8. Sentinel-2 Optical Index, Unexecuted Extensions and Software Disclosure
Sentinel-2 Level-2A surface reflectance was extracted for all 465 overpasses of tile T36SWD between 3 January 2021 and 19 October 2026 through the Microsoft Planetary Computer catalogue and data interface [22]. For each overpass and site, bands B04 (red) and B03 (green) and the scene classification layer (SCL) were read at 10 m within a 500 m radius of the site coordinates. Pixels were retained only where the SCL class was water (class 6), which excludes cloud, cloud shadow, cirrus and land identified by Sen2Cor [23]; the offset of 1000 digital numbers was removed for processing baseline 04.00 and later. The normalized difference turbidity index, NDTI = (B04 − B03)/(B04 + B03) [24], was calculated per pixel and summarized by its median, and an overpass was used for a site when at least 50 valid water pixels remained. The Cloud Score+ screening planned in the notebook [16,17] was not used, because the extraction did not run in Google Earth Engine. NDTI is treated as a relative optical index, not as calibrated turbidity: no in situ matchups are available, and nearshore values can include bottom reflectance and sun glint. To test the prototype's clarity score, its thresholds were applied to the same-day ERA5 daily wave height, and agreement was summarized with Spearman correlations.
Further cells describe ocean-colour retrieval, a regional marine-wave comparison and a 40-query language-model audit. The inspected experiment folder contains no corresponding outputs. They remain future protocols. The documented Copernicus Mediterranean wave reanalysis has a 1/24-degree grid and uses ERA5 wind forcing [18]; a future matchup would therefore compare related model products, not automatically independent field evidence. Actual temporal coverage, quality flags, valid-water cells and collocation distances must be verified before such a comparison.
The primary benchmark was executed with Python 3.13, NumPy 2.5.3, pandas 3.0.5, scikit-learn 1.9.1 and XGBoost 3.4.1; the reconstruction and verification with Python 3.13.5, NumPy 2.3.5, pandas 2.2.3, scikit-learn 1.8.0 and XGBoost 3.1.3. Generative AI assistance is described in the Acknowledgments. It was not used to invent environmental observations, expert ratings or conversational audit responses. Scientific responsibility and approval of the submitted version remain with the human authors.
3. Results
3.1. Integrity and Alignment of the Supplied Records
The daily extract has no duplicate dates, missing days or null numeric entries across 2,119 records. For all six tasks, stored reference values match the corresponding daily series on the verification date, and persistence matches the value H days earlier. The first two missing three-day entries reflect the later first verification date and are not imputed. All 96 point-metric checks agree with the stored summary within numerical precision. This establishes consistency among the files, not independent certification of the upstream product.
All wave results refer to one shared series with 657 or 655 verification dates. The named beaches do not triple the sample size. Wind targets are evaluated separately, and their sample sizes are not pooled into a nominally independent regional sample. The spatial interpretation remains part of the result, rather than being detached from the metrics.
3.2. Next-Day Predictions
RF has the smallest archived next-day RMSE and MAE among the four comparators for each target (Table 3). For wave height, RMSE decreases from 0.255 m for persistence to 0.205 m for RF, and R² increases from 0.278 to 0.537. The MSE improvement relative to persistence is 35.8%, whereas the RMSE reduction is 19.9%. XGBoost improves on persistence but has greater error than RF in this archive.
Archived RF wind R² is 0.288 for Ayia Napa/Ayia Thekla and 0.299 for Protaras. Persistence is nearly uninformative in coefficient-of-determination terms, with values of 0.002 and 0.028, while climatology achieves 0.116 and 0.099. RF MSE improvements over persistence are 28.6% and 27.8%, respectively. These are useful short-horizon gains within the regional reference series, not proof of precise conditions at each named beach.
3.3. Three-Day Predictions
At three days, persistence has negative R² for all three targets. Both machine-learning methods therefore appear skillful relative to persistence while failing to improve on seasonal climatology (Table 4). Wave climatology RMSE is 0.281 m, compared with 0.285 m for RF and 0.287 m for XGBoost. RF's 44.2% MSE reduction against persistence coexists with 3.3% greater MSE than climatology.
For wind, RF MSE exceeds climatology by 6.0% for Ayia Napa/Ayia Thekla and 6.1% for Protaras; XGBoost's corresponding excesses are 4.1% and 7.4%. A positive skill score against persistence alone would consequently overstate the incremental three-day value. The defensible result is that these configurations do not demonstrate improvement beyond the seasonal comparator over the evaluated window.
3.4. Reconstruction and Interval Estimates
The reconstruction preserves the principal horizon-dependent finding but yields different numerical performance (Table 5). Next-day reconstructed RF wave RMSE is 0.220 m and R² is 0.465, compared with 0.205 m and 0.537 in the archive. Its MSE skills are 25.9% against persistence and 39.5% against reconstructed climatology. Reconstructed XGBoost wave R² is 0.426. The different features and protocol prevent attributing these changes to one isolated cause.
The reconstructed algorithm ranking is not uniform. XGBoost has slightly lower next-day wind RMSE than RF, with R² = 0.276 for Ayia Napa/Ayia Thekla and 0.266 for Protaras. Both methods improve on both baselines at one day. Every three-day reconstructed machine-learning configuration again has greater MSE than its seasonal baseline. Agreement on the horizon-dependent conclusion is more robust than a claim that RF is always the preferred model.
Figure 1 shows reconstructed MSE skill against climatology and the paired seven-day block-bootstrap intervals. All one-day intervals are above zero. Three-day estimates are negative, with some intervals containing zero and others entirely below it. Reconstructed three-day RF Protaras skill is -5.7%, for example, with a 95% interval from -11.0% to -0.2%. These intervals describe fixed predictions against the supplied reference, not anticipated performance at new locations.
The primary next-day RF wave skill against persistence has a seven-day-block 95% interval of 26.4–44.4%. The stored summary reports 29.3–41.3%, obtained with non-circular 30-day blocks and 1000 replicates; the narrower range reflects that different resampling design. This article reports the seven-day circular bounds for consistency across analyses. For reconstructed RF wave predictions, the corresponding interval is 17.4–33.6%, around a point estimate of 25.9%.
3.5. Upper-Tail and Temporal Error Structure
Seventy-four one-day verification dates exceed the 2021–2024 wave-height 90th percentile of 0.81 m. In this subset, both RF variants reduce RMSE relative to persistence but have more negative mean bias (Table 6). Reconstructed RF bias is -0.342 m, compared with -0.216 m for persistence. Reconstructed XGBoost has greater RMSE than persistence on this subset, despite better aggregate performance. Average accuracy therefore does not establish reliable representation of the highest conditions in the record.
Figure 2 compares predictions with the reanalysis reference rather than labelling that reference as a field observation. Many higher reference values are underpredicted. Neither the daily target nor the 0.81 m diagnostic threshold has been calibrated to swimming risk, so this plot is not an evaluation of a hazard-warning classifier. It nevertheless exposes an error pattern that would be obscured by quoting aggregate R² alone.
Monthly reconstructed RF error and the baseline errors vary over the test period (Figure 3). The first month begins on 2 January 2025 and the final month ends on 20 October 2026. For the archived RF wave predictions, seasonal RMSE is 0.283 m over the 148 December-February dates and 0.091 m over the 184 June-August dates. MSE skill against persistence is 40.1% and 10.7%, respectively. These descriptive differences combine changes in target variability and prediction error; they are not controlled estimates of a seasonal causal effect.
3.6. Deterministic Index Tests
The code assigns 20% of the composite weighting to waves and another 20% to a clarity score derived solely from the same wave input. Thus, 40% of the weight depends on wave height through two different step functions. The components do not constitute independent environmental evidence, and the clarity label does not establish an optical measurement. This dependency follows directly from the functions rather than from a correlation estimated on observational data.
The test cases in Table 7 expose the missing-data behaviour. With all environmental inputs absent, every component takes its default value of 70, the index equals 70 and the system assigns four stars. With favourable synthetic temperature and wind inputs but no wave value, the rating is five stars. A 2 m synthetic wave input can still receive four stars when the other component scores are favourable. These counterexamples show that unfavourable or unavailable information need not prevent a favourable rating; they do not estimate how often those situations occur in practice.
For illustration only, the application rules were also applied to Open-Meteo forecast-model values for the nine beaches coded in the prototype over 27 September–28 October 2026 (daytime 09:00–17:00 means; file in S1). Five stars were assigned on 266 of 288 beach-days (92%), and no rating fell below four stars, because sea-surface temperature remained within the most favourable band throughout. This one-month autumn sample is not a prevalence estimate. Static inspection also cannot establish the responses of an external conversational endpoint. The results consequently include no measured multi-agent cooperation rate, response latency, expert usability score, inter-rater agreement or language-model accuracy. The presence of code for those evaluations is not evidence that they were executed.
3.7. Sentinel-2 Optical Index and the Wave-Derived Clarity Proxy
Of the 465 overpasses, 378 (Ayia Napa), 387 (Ayia Thekla) and 370 (Protaras) met the valid-water criterion (Table 8). Ayia Thekla, where the 500 m circle lies entirely over water, has systematically higher NDTI than the two smaller nearshore windows: on the 350 dates usable at all three sites, its median exceeds that of Ayia Napa by 0.28 (Wilcoxon signed-rank p < 0.001), whereas Ayia Napa and Protaras differ by 0.03. All sites share a pronounced seasonal cycle, with the highest values in May–July (Figure 4a), and inter-site Spearman correlations of 0.80–0.85. Part of this cycle may reflect illumination geometry and glint rather than turbidity, so the index supports relative comparisons, not water-quality classification. Median NDTI is 0.03–0.05 higher for processing baseline 04.00 and later than for the 2021 scenes; this is small relative to the seasonal range but is a source of inconsistency.
The optical index provides an independent test of the application's clarity score. NDTI is essentially unrelated to same-day ERA5 wave height (Spearman ρ = 0.01–0.10, p ≥ 0.06) and to the clarity proxy obtained by applying the application's thresholds to that wave height (ρ = −0.04 to 0.03, p ≥ 0.46) (Figure 4b). On the quarter of usable dates with the highest NDTI at each site, the proxy assigns a very clear score of 85 or above on 81–86% of occasions. The wave-derived score therefore does not track the optical variability observed by Sentinel-2 at these sites, and labelling it as water clarity is not supported.
4. Discussion
4.1. Short-Horizon Signal and the Importance of the Comparator
Both analyses support a bounded positive finding: recent regional wave and wind history contains information that improves next-day prediction beyond persistence and a seasonal mean. The three-day result is equally important. As persistence deteriorates, improvement over that baseline can remain substantial even when the model adds nothing beyond the annual cycle. Reporting both baselines prevents the longer-horizon result from being misread as demonstrated added value.
The primary benchmark has stronger next-day wave accuracy, whereas the reconstruction uses a stricter label cutoff and a smaller feature set. These are complementary rather than interchangeable contributions. The reconstruction shows that the next-day pattern is not restricted to one feature set or tuning protocol, but it cannot identify the cause of the primary benchmark's numerical advantage. A matched feature and protocol ablation would be needed for that claim.
Upper-tail performance further constrains decision use. A model can reduce mean squared error while shrinking higher values toward the centre of the distribution. In the diagnostic subset, persistence has less negative bias than RF despite a larger RMSE. A decision maker who is especially concerned with underprediction may therefore value a different error profile from one optimized for average error. Exceedance probabilities, decision-specific losses and independently observed outcomes would be required for a validated warning service.
4.2. Spatial Support Must Survive the Interface
A place name is not a measurement footprint. Repeating one wave prediction under three beach names increases neither spatial resolution nor the number of validation sites. The shared grid supports a regional statement, while beach sheltering, orientation, bathymetry and nearshore wave transformation remain unresolved. The same reasoning applies to the shared Ayia Napa/Ayia Thekla wind record.
A finer regional model may improve representation, but nominal grid size alone does not establish shoreline accuracy. The Mediterranean wave reanalysis has a finer grid and a distinct modelling system, yet uses ERA5 winds as forcing [18]. Future comparisons should preserve selected cell coordinates, water masks, extraction distances, temporal aggregation and quality information. Agreement between related model products can be useful without constituting independent beach validation.
For the conversational layer, spatial support should be part of the information object, not a caveat discarded before response generation. The source grid, selected cell and relationship to the requested location should accompany a predicted value. Otherwise, a regional estimate can be transformed into an apparently beach-specific assertion simply through the wording of an answer. More confident language does not resolve the physical support mismatch.
4.3. Retrospective Evaluation Is Not Operational Verification
The reference variable is drawn from an ERA5-labelled extract, not from an independent buoy or nearshore observation. Scores therefore evaluate prediction of variability in that reference system. The source's assimilation and model errors are not measured here. Product comparisons sharing inputs or forcing must likewise preserve those dependencies in their interpretation.
Availability adds a second limitation. Initial-release and finalized reanalysis can differ, and ERA5 latency prevents treating today's finalized value as a real-time predictor [11]. An operational system needs either issue-time available predictors or an explicitly delayed-input design. A proper prospective evaluation would preserve the forecasts and data actually available at issuance. The present chronological benchmark does not test that arrangement. It supplies a reproducible retrospective reference against which a later operational design can be evaluated.
4.4. Missingness, Compensation and the Meaning of a Rating
The implementation audit identifies a mismatch between input meaning and output language. A wave-derived proxy is named clarity, contributes again to a composite index and supports qualitative algae descriptions. None of those transformations adds optical, biological or microbiological information. Reusing a transformed variable under a second label can create the appearance of multisensor evidence when the information remains one wave input. The Sentinel-2 comparison makes this concrete: on the most turbid quarter of observed dates, the proxy still reported very clear water on more than 80% of occasions (Table 8).
The all-missing case is more direct: four stars does not distinguish unavailable evidence from favourable conditions. A critical missing measurement should produce an explicit unavailable or indeterminate state, not a favourable assessment based on default numbers. A redesigned service should preserve the reason for missingness, withhold unsupported aggregate ratings and separate comfort preferences from validated hazard assessments. These are design recommendations, not claims that a replacement index has already been calibrated.
Compensation among components is also a substantive question. In the current rules, favourable temperature and wind scores can offset an adverse wave component. Some safety-sensitive situations may require non-compensatory constraints, but those constraints must be justified with domain expertise and outcome evidence. This study does not prescribe new swimming thresholds. It demonstrates that the existing weights and star labels do not themselves supply the necessary validation.
4.5. Requirements for the Planned Remote-Sensing and LLM Extensions
The next remote-sensing stage needs a traceable retrieval chain: acquisition identifiers, quality masks, valid-water pixel counts, extraction geometries, units and processing versions. Cloud screening is not a substitute for coastal atmospheric-correction assessment or attention to adjacency and mixed-water pixels [6,16]. A normalized spectral difference should not be relabelled as a calibrated 0–100 clarity scale merely by rescaling. Validation must match the physical or perceptual quantity actually claimed.
Ocean-colour retrieval requires documented algorithms, flags and matchups. OLCI contributes ocean-colour observations, while thermal sea-surface-temperature retrieval uses other Sentinel-3 instrumentation [4]. Actual product coverage, rather than a desired date window, must determine the available comparison period. The supplied spatial-selection helper also requires further checking: its stated distance limit is not enforced by the rectangular-median operation. Prepared code is not a completed retrieval or validation result.
A conversational evaluation should use frozen environmental payloads and retained responses. Relevant failure categories include unsupported numbers, date confusion, omission of shared-grid limitations, unsupported water-quality or safety assurances and failure to acknowledge missing inputs. The planned 40-query audit provides a protocol, not measured performance. A later comparison of one assistant, a routed workflow and multiple agents must define their tool access and coordination and evaluate them under comparable conditions.
4.6. Reproducibility and Remaining Limits
The accompanying materials preserve the retrieval requests, local inputs, checksums, both fitting protocols, validation scores, derived predictions and figures. This supports inspection and reuse in the spirit of the FAIR principles [19]. Raw hourly responses and ERA5 release identifiers were not archived, so the upstream product itself is not independently re-verified.
The study covers one regional wave series and two related wind series, with less than two complete years of test targets. It does not establish transfer to other coasts or climates. Daily averaging may obscure subdaily conditions. The reconstruction is exploratory and shares the archive's test window. Its intervals omit fitting and source uncertainty, while circular blocks approximate dependence in a seasonal record. The 74-case upper-tail subset is informative but does not constitute a validated hazard dataset.
The deterministic tests establish behaviour for six specified software inputs, not deployment prevalence or effects on human decisions. No participant evaluation, optical retrieval accuracy or language-model accuracy is inferred from notebook contents. The distinction between an intended capability and an evaluated capability remains essential: an environmental decision-support system should not make claims stronger than the evidence available to it.
5. Conclusions
The available CyprusGPT experiments support a reproducible study of short-horizon regional prediction and the limits of its interpretation rules. Archived next-day RF wave forecasts achieve R² = 0.537, while a fully specified reconstruction achieves 0.465. Both analyses show next-day gains against persistence and seasonal climatology for waves and wind. Neither demonstrates three-day improvement over seasonal climatology, and higher-wave conditions remain prone to underprediction. Sentinel-2 observations resolve differences between the sites that the shared wave cell cannot, but they do not support the application's wave-derived clarity score.
The code audit identifies two obstacles to stronger advice: wave height is reused as a purported clarity signal, and favourable ratings can be generated despite missing inputs. Three beach names do not create three independent wave measurements, and a conversational interface cannot convert model output into water-quality or bathing-safety evidence. The practical conclusion is to retain the demonstrated short-horizon signal, report the negative longer-horizon finding, and preserve provenance, spatial support, timing, uncertainty and missingness throughout the information chain. Calibrated optical retrievals with in situ matchups, independent field observations and retained conversational evaluations are needed before claiming the broader system's envisaged capabilities.
Supplementary Materials
The following supporting information can be downloaded at the website of this paper posted on Preprints.org. Supplementary File S1 contains the retrieval requests, daily extract, primary benchmark script, predictions and summary, the unexecuted extension notebook, the nine-beach illustration file, the Sentinel-2 site table with its extraction and analysis scripts, and a checksum manifest. The reconstruction and verification scripts, validation-search outputs, block-bootstrap code, deterministic tests and figure-generation code are available from the corresponding author on request and will be added to S1 at revision. API credentials are excluded.
Author Contributions
Conceptualization, G.M. and N.M.; methodology, G.M. and N.M.; software, G.M. and N.M.; validation, N.M.; formal analysis, G.M. and N.M.; investigation, G.M. and N.M.; data curation, G.M.; writing—original draft preparation, N.M.; writing—review and editing, G.M.; visualization, N.M.; supervision, G.M.; project administration, G.M. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Institutional Review Board Statement
Not applicable. The reported evaluation uses environmental time series and deterministic software tests and does not involve human participants or animals.
Informed Consent Statement
Not applicable.
Data Availability Statement
The daily extract, primary predictions, Sentinel-2 site table and their scripts are provided in Supplementary File S1; the reconstruction materials are available from the corresponding author on request. The parent ERA5 dataset is distributed by the Copernicus Climate Change Service [7,20] and was accessed through Open-Meteo [21]. Sentinel-2 Level-2A data were accessed through the Microsoft Planetary Computer [22]. Raw hourly responses were not archived. No public repository or dataset DOI is claimed for the CyprusGPT materials.
Acknowledgments
Generative AI tools were used in preparing this work. Claude (Anthropic; accessed 28 October 2026) was used to retrieve the ERA5 series through the Open-Meteo interfaces and the Sentinel-2 data through the Planetary Computer, to write the primary benchmark script and the extension notebook, and to review the manuscript. ChatGPT (OpenAI; accessed 28 October 2026) assisted with drafting and restructuring, reconstruction and verification code, numerical checking, literature location and figure preparation. Model-version identifiers were not recorded. Generative AI was not used to create environmental measurements, expert evaluations or conversational audit responses. The authors reviewed all outputs and take full responsibility for the content.
Conflicts of Interest
The authors declare no conflicts of interest.
Abbreviations
API, application programming interface; ERA5, ECMWF fifth-generation reanalysis; ERA5T, initial-release ERA5; GeoAI, geospatial artificial intelligence; LLM, large language model; MAE, mean absolute error; MSE, mean squared error; NDTI, normalized difference turbidity index; OLCI, Ocean and Land Colour Instrument; RF, random forest; RMSE, root mean squared error; SCL, scene classification layer; SST, sea-surface temperature; XGBoost, extreme gradient boosting.
Appendix A. Selected Reconstruction Configurations
Each RF configuration uses 300 trees. XGBoost uses learning_rate = 0.03, min_child_weight = 5, subsample = 1.0, colsample_bytree = 1.0, reg_lambda = 1.0, objective = reg:squarederror and tree_method = hist. Both model families use random_state = 20261028. Table A1 contains the validation-selected remaining settings. All candidate validation RMSE values are available on request. These settings describe the reconstruction, not the archived model-training procedure.
Table A1.
Validation-selected reconstruction settings.
|
Target / horizon |
RF max. depth |
RF min. leaf |
RF max. features |
XGB max. depth |
XGB rounds |
| Wave height (1 d) | 6 | 3 | 0.5 | 4 | 50 |
| Napa/Thekla wind (1 d) | 6 | 3 | 0.5 | 2 | 150 |
| Protaras wind (1 d) | 6 | 3 | 0.5 | 2 | 300 |
| Wave height (3 d) | 6 | 10 | 0.5 | 2 | 50 |
| Napa/Thekla wind (3 d) | 6 | 10 | 0.5 | 2 | 150 |
| Protaras wind (3 d) | 6 | 10 | 1.0 | 2 | 50 |
References
- Janowicz, K.; Gao, S.; McKenzie, G.; Hu, Y.; Bhaduri, B. GeoAI: Spatially explicit artificial intelligence techniques for geographic knowledge discovery and beyond. Int. J. Geogr. Inf. Sci. 2020, 34, 625–636. [Google Scholar] [CrossRef]
- Reichstein, M.; Camps-Valls, G.; Stevens, B.; Jung, M.; Denzler, J.; Carvalhais, N.; Prabhat. Deep learning and process understanding for data-driven Earth system science. Nature 2019, 566, 195–204. [Google Scholar] [CrossRef] [PubMed]
- Drusch, M.; Del Bello, U.; Carlier, S.; Colin, O.; Fernandez, V.; Gascon, F.; Hoersch, B.; Isola, C.; Laberinti, P.; Martimort, P.; et al. Sentinel-2: ESA's optical high-resolution mission for GMES operational services. Remote Sens. Environ. 2012, 120, 25–36. [Google Scholar] [CrossRef]
- Donlon, C.; Berruti, B.; Buongiorno, A.; Ferreira, M.-H.; Féménias, P.; Frerick, J.; Goryl, P.; Klein, U.; Laur, H.; Mavrocordatos, C.; et al. The Global Monitoring for Environment and Security (GMES) Sentinel-3 mission. Remote Sens. Environ. 2012, 120, 37–57. [Google Scholar] [CrossRef]
- Sagan, V.; Peterson, K.T.; Maimaitijiang, M.; Sidike, P.; Sloan, J.; Greeling, B.A.; Maalouf, S.; Adams, C. Monitoring inland water quality using remote sensing: Potential and limitations of spectral indices, bio-optical simulations, machine learning, and cloud computing. Earth-Sci. Rev. 2020, 205, 103187. [Google Scholar] [CrossRef]
- Pahlevan, N.; Mangin, A.; Balasubramanian, S.V.; Smith, B.; Alikas, K.; Arai, K.; Barbosa, C.; Bélanger, S.; Binding, C.; Bresciani, M.; et al. ACIX-Aqua: A global assessment of atmospheric correction methods for Landsat-8 and Sentinel-2 over lakes, rivers, and coastal waters. Remote Sens. Environ. 2021, 258, 112366. [Google Scholar] [CrossRef]
- Hersbach, H.; Bell, B.; Berrisford, P.; Hirahara, S.; Horányi, A.; Muñoz-Sabater, J.; Nicolas, J.; Peubey, C.; Radu, R.; Schepers, D.; et al. The ERA5 global reanalysis. Q. J. R. Meteorol. Soc. 2020, 146, 1999–2049. [Google Scholar] [CrossRef]
- European Parliament and Council of the European Union. Directive 2006/7/EC of 15 February 2006 concerning the management of bathing water quality and repealing Directive 76/160/EEC. Off. J. Eur. Union 2006, L64, 37–51. Available online: https://eur-lex.europa.eu/eli/dir/2006/7/oj (accessed on 28 October 2026).
- Roberts, D.R.; Bahn, V.; Ciuti, S.; Boyce, M.S.; Elith, J.; Guillera-Arroita, G.; Hauenstein, S.; Lahoz-Monfort, J.J.; Schröder, B.; Thuiller, W.; et al. Cross-validation strategies for data with temporal, spatial, hierarchical, or phylogenetic structure. Ecography 2017, 40, 913–929. [Google Scholar] [CrossRef]
- Hyndman, R.J.; Koehler, A.B. Another look at measures of forecast accuracy. Int. J. Forecast. 2006, 22, 679–688. [Google Scholar] [CrossRef]
- European Centre for Medium-Range Weather Forecasts. ERA5: Data Documentation. Copernicus Knowledge Base. Available online: https://confluence.ecmwf.int/pages/viewpage.action?pageId=414588701 (accessed on 28 October 2026).
- Breiman, L. Random forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef]
- Chen, T.; Guestrin, C. XGBoost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA, 13–17 August 2016; ACM: New York, NY, USA, 2016; pp. 785–794. [Google Scholar] [CrossRef]
- Künsch, H.R. The jackknife and the bootstrap for general stationary observations. Ann. Stat. 1989, 17, 1217–1241. [Google Scholar] [CrossRef]
- Open-Meteo. Marine Weather API: Documentation and Data Sources. Available online: https://open-meteo.com/en/docs/marine-weather-api (accessed on 28 October 2026).
- Google Earth Engine. Cloud Score+ S2_HARMONIZED V1. Earth Engine Data Catalog. Available online: https://developers.google.com/earth-engine/datasets/catalog/GOOGLE_CLOUD_SCORE_PLUS_V1_S2_HARMONIZED (accessed on 28 October 2026).
- Gorelick, N.; Hancher, M.; Dixon, M.; Ilyushchenko, S.; Thau, D.; Moore, R. Google Earth Engine: Planetary-scale geospatial analysis for everyone. Remote Sens. Environ. 2017, 202, 18–27. [Google Scholar] [CrossRef]
- Copernicus Marine Service. Mediterranean Sea Waves Reanalysis, MEDSEA_MULTIYEAR_WAV_006_012. Marine Data Store. Available online: https://data.marine.copernicus.eu/product/MEDSEA_MULTIYEAR_WAV_006_012/description (accessed on 28 October 2026).
- Wilkinson, M.D.; Dumontier, M.; Aalbersberg, I.J.; Appleton, G.; Axton, M.; Baak, A.; Blomberg, N.; Boiten, J.-W.; da Silva Santos, L.B.; Bourne, P.E.; et al. The FAIR Guiding Principles for scientific data management and stewardship. Sci. Data 2016, 3, 160018. [Google Scholar] [CrossRef] [PubMed]
- Copernicus Climate Change Service. ERA5 Hourly Data on Single Levels from 1940 to Present. Clim. Data Store. accessed on. (accessed on 28 October 2026). [CrossRef]
- Zippenfenig, P. Open-Meteo.com Weather API. Zenodo 2023. accessed on. (accessed on 28 October 2026). [CrossRef]
- Microsoft Open Source; McFarland, M.; Emanuele, R.; Morris, D.; Augspurger, T. microsoft/PlanetaryComputer: October 2022. Zenodo 2022. [Google Scholar] [CrossRef]
- Main-Knorn, M.; Pflug, B.; Louis, J.; Debaecker, V.; Müller-Wilm, U.; Gascon, F. Sen2Cor for Sentinel-2. In Image and Signal Processing for Remote Sensing XXIII Proc. SPIE 10427; SPIE: Bellingham, WA, USA, 2017; p. 1042704. [Google Scholar] [CrossRef]
- Lacaux, J.P.; Tourre, Y.M.; Vignolles, C.; Ndione, J.A.; Lafaye, M. Classification of ponds from high-spatial resolution remote sensing: Application to Rift Valley Fever epidemics in Senegal. Remote Sens. Environ. 2007, 106, 66–74. [Google Scholar] [CrossRef]
Figure 1.
Reconstructed MSE skill relative to seasonal climatology. Points denote estimates and bars denote paired circular seven-day block-bootstrap 95% percentile intervals (10,000 replicates). Positive values favour the model. One-day tasks use 657 dates and three-day tasks use 655 dates. RF = random forest. Intervals condition on fixed predictions and the supplied reference.
Figure 1.
Reconstructed MSE skill relative to seasonal climatology. Points denote estimates and bars denote paired circular seven-day block-bootstrap 95% percentile intervals (10,000 replicates). Positive values favour the model. One-day tasks use 657 dates and three-day tasks use 655 dates. RF = random forest. Intervals condition on fixed predictions and the supplied reference.

Figure 2.
Archived and reconstructed random forest (RF) next-day wave predictions against the ERA5-labelled daily reference (657 verification dates). The dashed line is the 1:1 relation, not a fitted regression. Reference values are reanalysis estimates, not beach observations.
Figure 2.
Archived and reconstructed random forest (RF) next-day wave predictions against the ERA5-labelled daily reference (657 verification dates). The dashed line is the 1:1 relation, not a fitted regression. Reference values are reanalysis estimates, not beach observations.

Figure 3.
Monthly one-day wave root mean squared error (RMSE) for reconstructed RF and its baselines. The first month begins on 2 January 2025 and the final month ends on 20 October 2026; monthly denominators differ. The series is a descriptive diagnostic, not a seasonally balanced experiment.
Figure 3.
Monthly one-day wave root mean squared error (RMSE) for reconstructed RF and its baselines. The first month begins on 2 January 2025 and the final month ends on 20 October 2026; monthly denominators differ. The series is a descriptive diagnostic, not a seasonally balanced experiment.

Figure 4.
Sentinel-2 NDTI at the three sites. (a) Monthly median with interquartile range, 2021–2026. (b) NDTI against same-day ERA5 daily wave height; dotted lines mark the application's clarity-score thresholds at 0.25, 0.5, 1.0 and 1.5 m. NDTI is a relative optical index, not calibrated turbidity.
Figure 4.
Sentinel-2 NDTI at the three sites. (a) Monthly median with interquartile range, 2021–2026. (b) NDTI against same-day ERA5 daily wave height; dotted lines mark the application's clarity-score thresholds at 0.25, 0.5, 1.0 and 1.5 m. NDTI is a relative optical index, not calibrated turbidity.

Table 1.
Study materials and the evidence they provide.
| Material | Available content | Analytical use |
| Daily extract | 2,119 dates; one wave and two wind target series | Reference and reconstructed model inputs |
| Archived CSV and JSON | Six tasks; four comparators | Score verification and uncertainty |
| Reconstruction scripts | Features, temporal splits and validation grid | Separately specified robustness experiment |
| Application source | API requests, proxies and scoring rules | Static inspection and deterministic tests |
| Sentinel-2 extraction | 465 overpasses; red, green and scene classification at three sites | Optical index and clarity-proxy test |
| Extension notebook | Unexecuted ocean-colour, marine and LLM protocol | Future work; not reported outcomes |
Table 2.
Date conventions and sample sizes. Test counts are per target series.
| Stage | One-day horizon | Three-day horizon |
| Daily source | 1 Jan 2021–20 Oct 2026 | Same daily extract |
| Primary training origins | 1,459 | 1,459 |
| Reconstruction tuning training | 1,087 eligible targets | 1,085 eligible targets |
| Reconstruction validation | 365 eligible targets | 363 eligible targets |
| Reconstruction final training | 1,453; targets through 31 Dec 2024 | 1,451; targets through 31 Dec 2024 |
| Test origins | 1 Jan 2025–19 Oct 2026 | 1 Jan 2025–17 Oct 2026 |
| Verification dates | 2 Jan 2025–20 Oct 2026 | 4 Jan 2025–20 Oct 2026 |
| Test cases | 657 | 655 |
Table 3.
Recalculated primary-benchmark 1-day forecasts (n = 657).
| Target | Method | RMSE | MAE | R² |
Skill vs. pers. (%) |
Skill vs. clim. (%) |
| Wave height | Persistence | 0.255 | 0.163 | 0.278 | 0.0 | 18.2 |
| Wave height | Climatology | 0.282 | 0.196 | 0.118 | -22.2 | 0.0 |
| Wave height | RF | 0.205 | 0.133 | 0.537 | 35.8 | 47.5 |
| Wave height | XGBoost | 0.216 | 0.140 | 0.484 | 28.5 | 41.5 |
| Napa/Thekla wind | Persistence | 1.245 | 0.922 | 0.002 | 0.0 | -12.8 |
| Napa/Thekla wind | Climatology | 1.172 | 0.876 | 0.116 | 11.4 | 0.0 |
| Napa/Thekla wind | RF | 1.052 | 0.784 | 0.288 | 28.6 | 19.5 |
| Napa/Thekla wind | XGBoost | 1.089 | 0.810 | 0.237 | 23.5 | 13.7 |
| Protaras wind | Persistence | 1.800 | 1.348 | 0.028 | 0.0 | -7.8 |
| Protaras wind | Climatology | 1.734 | 1.305 | 0.099 | 7.2 | 0.0 |
| Protaras wind | RF | 1.529 | 1.149 | 0.299 | 27.8 | 22.2 |
| Protaras wind | XGBoost | 1.549 | 1.163 | 0.281 | 26.0 | 20.2 |
Wave errors are in m; wind errors are in m/s. RF = random forest. Skill is based on mean squared error (MSE), not RMSE. Seasonal climatology differs between the archive and reconstruction.
Table 4.
Recalculated primary-benchmark 3-day forecasts (n = 655).
| Target | Method | RMSE | MAE | R² |
Skill vs. pers. (%) |
Skill vs. clim. (%) |
| Wave height | Persistence | 0.382 | 0.264 | -0.618 | 0.0 | -84.9 |
| Wave height | Climatology | 0.281 | 0.195 | 0.125 | 45.9 | 0.0 |
| Wave height | RF | 0.285 | 0.196 | 0.097 | 44.2 | -3.3 |
| Wave height | XGBoost | 0.287 | 0.197 | 0.085 | 43.5 | -4.5 |
| Napa/Thekla wind | Persistence | 1.661 | 1.241 | -0.779 | 0.0 | -101.9 |
| Napa/Thekla wind | Climatology | 1.169 | 0.873 | 0.119 | 50.5 | 0.0 |
| Napa/Thekla wind | RF | 1.204 | 0.895 | 0.066 | 47.5 | -6.0 |
| Napa/Thekla wind | XGBoost | 1.193 | 0.892 | 0.083 | 48.4 | -4.1 |
| Protaras wind | Persistence | 2.448 | 1.865 | -0.802 | 0.0 | -101.2 |
| Protaras wind | Climatology | 1.726 | 1.298 | 0.104 | 50.3 | 0.0 |
| Protaras wind | RF | 1.778 | 1.333 | 0.049 | 47.2 | -6.1 |
| Protaras wind | XGBoost | 1.789 | 1.343 | 0.038 | 46.6 | -7.4 |
Wave errors are in m; wind errors are in m/s. RF = random forest. Skill is based on mean squared error (MSE), not RMSE. Seasonal climatology differs between the archive and reconstruction.
Table 5.
Reconstructed benchmark on the same test dates. This is a separate fitting protocol.
|
Target / horizon |
Clim. RMSE |
RF RMSE |
XGB RMSE |
RF R² |
XGB R² |
RF skill vs. clim. (%) |
| Wave height (1 d) | 0.282 | 0.220 | 0.228 | 0.465 | 0.426 | 39.5 |
| Napa/Thekla wind (1 d) | 1.172 | 1.072 | 1.060 | 0.260 | 0.276 | 16.4 |
| Protaras wind (1 d) | 1.735 | 1.566 | 1.565 | 0.265 | 0.266 | 18.5 |
| Wave height (3 d) | 0.281 | 0.287 | 0.286 | 0.086 | 0.095 | -4.3 |
| Napa/Thekla wind (3 d) | 1.169 | 1.196 | 1.203 | 0.079 | 0.067 | -4.5 |
| Protaras wind (3 d) | 1.726 | 1.774 | 1.766 | 0.053 | 0.062 | -5.7 |
XGB = XGBoost. Wave errors are in m; wind errors are in m/s. Complete errors and both baseline comparisons are available on request.
Table 6.
One-day wave errors when reference height exceeds 0.81 m (n = 74).
| Method | RMSE (m) | MAE (m) | Bias (m) |
| Persistence | 0.545 | 0.431 | -0.216 |
| Archived RF | 0.472 | 0.369 | -0.332 |
| Archived XGBoost | 0.528 | 0.427 | -0.421 |
| Reconstructed RF | 0.502 | 0.392 | -0.342 |
| Reconstructed XGBoost | 0.556 | 0.443 | -0.428 |
Bias = mean(prediction - reference). The threshold is the 2021–2024 90th percentile, not a validated beach-hazard threshold.
Table 7.
Deterministic scoring tests with synthetic inputs, not observed beach conditions.
| Test input |
SST (°C) |
Wind (m/s) |
Wave (m) |
Index (0–100) |
Stars (1–5) |
| All inputs missing | Missing | Missing | Missing | 70 | 4 |
| Calm test condition | 25 | 2 | 0.2 | 99 | 5 |
| Wave input missing | 25 | 2 | Missing | 88 | 5 |
| Elevated wave input | 25 | 2 | 2 | 76 | 4 |
| Cold temperature input | 15 | 2 | 0.2 | 80 | 4 |
| High wind input | 25 | 12 | 0.2 | 82 | 4 |
SST = sea-surface temperature. The implementation uses Python round(). These ratings describe the audited code, not recommended safety classifications.
Table 8.
Sentinel-2 NDTI at the three sites (2021–2026) and its association with ERA5 wave height and the application's wave-derived clarity proxy.
Table 8.
Sentinel-2 NDTI at the three sites (2021–2026) and its association with ERA5 wave height and the application's wave-derived clarity proxy.
| Site |
Usable / overpasses |
Median NDTI (IQR) |
ρ with wave height (p) |
ρ with clarity proxy (p) |
Turbid quarter labelled ≥ 85 |
| Ayia Napa | 378 / 465 | −0.51 (−0.67, −0.34) |
0.01 (0.78) | 0.03 (0.54) | 82/95 (86%) |
| Ayia Thekla | 387 / 465 | −0.17 (−0.37, −0.07) |
0.09 (0.07) | −0.03 (0.54) | 80/97 (82%) |
| Protaras | 370 / 465 | −0.51 (−0.67, −0.31) |
0.10 (0.06) | −0.04 (0.46) | 75/93 (81%) |
Usable = overpasses with at least 50 valid water pixels within 500 m. ρ = Spearman correlation with same-day ERA5 daily values. Turbid quarter = dates with NDTI at or above the site's 75th percentile; a clarity-proxy score of 85 or above corresponds to the application's very clear class. NDTI is a relative index, not calibrated turbidity.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.