EXPLORATORY DEMONSTRATION — real ERA5 historical cloud cover (2020), not a qualified result.Dataset EXPLORATORY-era5-tcc-2020: ERA5 hourly total cloud cover, modified, via NSF NCAR GDEX d633000, CC BY 4.0. Contains modified Copernicus Climate Change Service information 2020.
Contract revision 1.0. Engine version 0.1.0. Dataset EXPLORATORY-era5-tcc-2020. This page explains; it does not compute, and the contract in docs/CONTRACT.md governs where they differ.
1. WGS84 and GEO geometry
Sites sit on the WGS84 ellipsoid with semi-major axis and flattening , at altitude zero. A site has geodetic latitude and longitude . Its first eccentricity squared is , and the prime-vertical radius of curvature is
(1) Nu of phi equals a divided by the square root of one minus e squared times sine squared phi.
With height , the site in Earth-centred, Earth-fixed coordinates is
(2) The site position has x equal to nu cosine phi cosine lambda, y equal to nu cosine phi sine lambda, and z equal to nu times one minus e squared times sine phi.
The satellite is geostationary at longitude on the equator, at radius :
(3) The satellite position is R cosine L, R sine L, zero.
Let . Its components in the site's local east, north and up directions are
(4) D east is minus sine lambda d x plus cosine lambda d y. D north is minus sine phi cosine lambda d x, minus sine phi sine lambda d y, plus cosine phi d z. D up is cosine phi cosine lambda d x plus cosine phi sine lambda d y plus sine phi d z.
Here , , are the east, north and up components of ; the symbol is used only for the eccentricity. Elevation , slant range and azimuth follow:
(5) Elevation is the two-argument arctangent of d up and the square root of d east squared plus d north squared. Slant range is the square root of d east squared plus d north squared plus d up squared. Azimuth is the two-argument arctangent of d east and d north, taken in zero to 360 degrees.
Azimuth is reported in , a computed 360 becoming 0. The arcsine form is not used because it loses accuracy near the zenith.
Figure 1. Elevation is measured from the local horizontal plane; the slant range is the length of the line to the satellite.
A site is eligible when its elevation reaches the minimum. Elevation is first rounded to a microdegree, , with in degrees, and the minimum is entered in tenths of a degree, :
(6) A site is eligible exactly when epsilon sub mu is at least m times one hundred thousand. Equality is eligible.
Equality is eligible. The rounding is used for this decision only; reported elevation, slant range and azimuth are not rounded. Azimuth is not defined when .
2. Historical screening and threshold semantics
For site and hour , ERA5 supplies total cloud cover for the 0.25 degree cell holding the site. For a threshold the hour is clear when
(7) U of i and t equals one when c of i and t is at most tau, and zero otherwise.
The comparison is exact and inclusive. The stored values are 32-bit floating point numbers widened exactly to 64 bits and compared with read as the nearest 64-bit number. As a result the 32-bit values nearest 0.05, 0.10 and 0.20 widen to just above and count as cloudy, while the 64-bit 0.10 itself is clear. Classification happens once, when the data are packaged; the browser never compares cloud values.
This is a screen of past weather in a reanalysis cell. It is not a measurement at the site and not a model of an optical link.
3. Individual screening fractions
For a window of hourly samples, the individual screening fraction of site is its share of clear hours. It uses weather only and ignores elevation, so excluded sites still have one:
(8) p of i equals the sum over hours t in the window of U of i and t, divided by the number of hours in the window.
The interface shows the count and the denominator beside every fraction. A fraction whose denominator is zero, for example a season absent from the window, is shown as N/A.
4. Geographic diversity and synchronised weather correlation
For a set of sites, a network hour is clear when at least one site is clear in the same hour:
(9) C of S equals the sum over hours t in W of the logical OR over sites i in S of U of i and t. A of S is C of S divided by the number of hours.
Using the same hours for every site is what carries the real weather correlation into the result. Nearby sites tend to be cloudy together, so adding one adds little; distant sites tend to differ, so adding one adds more. The tempting shortcut of multiplying separate outage probabilities,
(10) One minus the product over i in S of one minus p of i, which is not what the planner computes.
assumes independence and is not used. For a selected pair , the conditional share of hours with clear when is out is computed from counts, where counts hours when both are out and hours when is out:
(11) The probability that a is clear given b is out equals one minus N sub a b divided by N sub b, and is not available when N sub b is zero.
It is N/A when . These pair figures are descriptive. The marginal contribution of a selected site is the hours the network would lose without it:
(12) Delta of i equals C of S minus C of S without i.
Marginal contributions need not add up to , since an hour covered by two sites counts for neither.
Figure 2. Sites a and b are never clear in the same hour here, so their union is clear in every hour although each alone is clear half the time.
5. Exact cardinality-constrained maximum coverage
Let be the feasible (eligible) sites. For each the planner finds a best set of exactly sites on the training window:
(13) S star sub k is a set with k sites chosen from F that maximises C on the training window. Ties go to the smallest sorted array of site IDs.
The result is exact, by depth-first search over all subsets, not a greedy approximation. Counts are integers and are compared as integers. Ties are broken by the smallest array of site IDs, compared element by element. In target mode the answer is the smallest whose best set reaches the target , given in parts per million, with all arithmetic in integers:
(14) k star is the smallest k such that one million times C of S star k is at least q times the number of training hours.
The baseline is the same number of feasible sites with the largest individual training counts, ties by ID. The comparison with the optimum shows what choosing sites one by one leaves unused. If no reaches the target, the interface says so and shows the best found, not a selection.
6. Selection and replay windows within 2020
This exploratory demonstration holds one calendar year. Hours are numbered from 0, hour being the start time plus hours in UTC. The year is split chronologically into two half open, adjacent windows:
(15) The selection window is hours 0 up to but not including 6576. The replay window is hours 6576 up to but not including 8784.
All selection uses the first window, Jan to Sep 2020. The replay scores the same site IDs on the second, Oct to Dec 2020:
(16) The replay count is C on the replay window of the fixed set S star k, found with the selection window only.Figure 3. Sites are chosen on the shaded part and only then scored on the rest, Oct to Dec 2020, up to hour 8784.
The two windows are different seasons of the same year, so a difference between them mixes season with chance and says little about how a selection would generalise. The replay is exploratory and is not a validation. There is no predeclared protocol and no validation record for this demonstration. One year is not a climatology.
7. Assumptions, limitations and references
One ERA5 cell of 0.25 degrees per site, altitude assumed 0 m, sites illustrative.
Hourly samples only. Nothing is said about shorter events or continuous durations.
The past is not a forecast. A count of zero outages in the sample is not a promise of zero outages.
No atmospheric, terminal or optical-link model is implemented; future optical models are not part of this version.
The best set is optimal for this candidate list and this history only.
References
ECMWF, ERA5 total cloud cover, parameter 164. Hersbach et al., The ERA5 global reanalysis, Q. J. R. Meteorol. Soc. 146, 2020.
NIMA, Department of Defense World Geodetic System 1984, TR8350.2, for the ellipsoid constants.
Nemhauser, Wolsey and Fisher, An analysis of approximations for maximizing submodular set functions, Math. Programming 14, 1978, on why greedy selection is not exact.
8. Traceability
Each equation maps to the part of the contract or protocol it restates. The numerical column says what is checked by the test suite against fixtures, where the equation can be evaluated.
Contract, Time and order; Validation versus exploration
Worked example replay
Data and attribution. Contains modified Copernicus Climate Change Service information 2020. Neither the European Commission nor ECMWF is responsible for any use of this information.
ERA5 hourly data on single levels, Copernicus Climate Change Service, doi:10.24381/cds.adbb2d47, licensed CC BY 4.0. Distributed by NSF NCAR GDEX: European Centre for Medium-Range Weather Forecasts (2019), ERA5 Reanalysis (0.25 Degree Latitude-Longitude Grid), doi:10.5065/BH6N-5N20.
Modified: total cloud cover extracted at the nearest 0.25 degree grid point of 24 illustrative sites, stored as 32-bit floats and classified clear or cloudy at three thresholds. Nothing here is optical-link availability, a site qualification or a forecast.