Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Notebook examples

Earth System Science Hub Challenge 1: Exploring our atmosphere with EarthCARE

Sept-2025-Venice-Edinburgh-Leeds.jpg

Earth System Science Hub Challenge 1: Exploring our atmosphere with EarthCARE


Exploring our atmosphere with EarthCARE

Clouds and aerosols interactions from EarthCare through k-means clustering

Author(s): Paula Romero Jure, Giacomo Roversi and Filippo Calì Quaglia
Group name: Group 1
Challenge: (1.) Aerosols and Clouds classification and interactions from EarthCare datasets on MAAP (AC-TC EarthCARE Level 2 (https://amt.copernicus.org/articles/17/7007/2024/ ) through unsupervised or supervised ML methods such as K-means Clustering, to look at potential changes in cloud properties, both macro and microphysical, related to the presence and characteristics of aerosols for each level detected by EarthCare radar and lidar. This could be done in different areas, related to the know aerosol types distribution and clouds structure, eg. Tropics, subtropics, poles, distinguishing between land and ocean.


Submission date: 30/09/2025


Description

Aerosols are linked to changes in clouds characteristics, as they play a key role in the formation of cloud droplets.

The idea of this study is to use EarthCARE measurements to analyse possible cloud-aerosol interactions (ACI) over three different regions: the West Pacific Ocean, the East Pacific Ocean and the Southern Ocean.

Why these regions?

The tropics are characterised by a band of high and deep convective clouds that is, on average, located between the Equator and 20 degrees north in latitude. This band is called the Intertropical Convergence Zone (ITCZ). In the West Pacific Ocean, we expect to find incoming anthropogenic aerosols from China or non-anthropogenic aerosols produced by biomass burning from Southeast Asia or Australia. In the East Pacific Ocean, we expect mostly sea salt aerosols.

It is not clear whether aerosols contribute to enhancing convection or not. Correlations between an increase in cloud amounts and aerosols have been found (Fan et al., 2013), but causality is still debated. This is particularly challenging to understand from satellite observations, as aerosols can be detected by a Lidar, but Lidar gets extinguished below high clouds with tops made of ice, such as the ones predominant in the ITCZ. In the southern ocean, incoming aerosols from higher latitudes could possibly produce changes in the clouds.

The main method for the analysis is the K-means clustering, which needs numerical, normalized variables. We select the satellite products accordingly. From the Cloud Profiling Radar (CPR), we wanted to obtain cloud variables, therefore we use the level 2A product and extract Liquid Water Path (LWP) and Ice Water Path (IWP), which give us information on the vertical structure of the cloud and its thickness.

From the Lidar (ATLID), we want to get information about the presence of aerosols, so we use the level 2A product to extract the Aerosol Optical Thickness (AOT), which gives us an idea of the presence and amount of aerosols.

Finally, we considered also the the synergetic product available: the AC__TC__2A. This product integrates radar and lidar measurements and provides us with a labelling of the dominant type of target (aerosol, droplet or ice crystal, for example). Since the labelling data does not allow for a distance metric, we leave it out of the clustering and use it to evaluate the clusters afterwards.


The Figure below shows, an example of AC__TC__2A profile over the West Pacific. We can clearly identify two deep convective clouds, where rain, liquid, ice and mixed phase are present. Regarding the aerosols, we see a mix of sea salt and continental pollution in the lower part of the troposphere. We also see how the lidar gets extinguished at the top of the deep convective cloud, as we cannot see aerosols beneath the cloud, but we do see them to the sides.

Finally, there are stratospheric aerosols at the top of the picture at the beginning of the stratosphere, a feature that seems common throughout many scenes in this area. AC__TC__2B frame 05933E

Key Conclusions

The mechanism of cloud droplet formation within aerosol-polluted environment are very complex, still debated and different for different types of clouds and different aerosols species.

Here we present a VERY simplified theoretical framework on how this works, which is know as aerosols-clouds interactions.

Clouds can be made of liquid droplets or solid ice crystal (sometimes both). The amount of droplets within the cloud and their size is important because not only it can change the macrophysical properties of the clouds, and their “capacity” to make it rain, but also changes in these microphysical properties produce changes in the way that clouds interact with the incoming radiation from the sun and outgoing radiation from Earth.

Aerosols can produce changes in the microphysics of clouds, ie the formation and type of cloud droplets. Aerosols can act as Cloud condensation nuclei (CCN), which is a particle around which the water particles will condense and form cloud droplet. They can also be Ice nucleating particles, ie ice particles will form around the aerosol particle.

We know more about low and liquid clouds interactions with aerosols.

For deep convective clouds, high clouds and ice clouds, we have many hints through modelling and laboratory experiments. However, the complex and interaction conditions from the upper atmosphere are difficult to fully reproduce. Therefore, these mechanisms are still being debated.

Satellite observations have given us many hints on possible relations but there are still some constrains in understanding causality from them.

We can mostly expect sea salt aerosols in these area, although there might also be some stratospheric aerosols incoming mostly from volcanic eruptions.

The presence of aerosols can lead to precipitation changes (rain supression) by providing more CCNs.

Also, if the clouds change their properties due to the interactions with aerosols, these could lead to a feedback process with the surface.  

Ie, if we have enough clouds, and the clouds become less reflective to the surface or does not allow the reflected radiation from the ice sheet to escape the Earth, then this could lead to a positive feedback process.

Societal Context

There are different sources of aerosols that can even get to isolated areas in the Pacific.

Different types of aerosols can act differently.

Within the non-anthropogenic aerosols, i.e., aerosols not created directly by human activities, sea salt is one of them. The distribution of this type of aerosol is not uniform, as the winds, waves and convection can cause different distributions. This will be present across all the oceans.

Other non-anthropogenic aerosols that can reach the West Pacific are the carbon dioxide coming from forest burning in Southeast Asia.

Anthropogenic aerosols are aerosols that are directly produced from human activity. For example, the ones produced during fossil fuel burning or industrial activity, like sulfate and nitrogen oxides.

They can reach the western Pacific according to the winds and dynamical conditions, mostly incoming from south-west China.

Data sources

Instrument nameVariable nameDescriptionReference*RegionTime rangeResolution
ATLIDATL_ALD_2AProviding aerosol layer top/base height, optical thickness, extinction, backscatter, and depolarisation.PDDWP, EP, SO3 months1 minute
CPRCPR_CLD_2AProviding cloud water content and characteristic diameters, liquid water path, and ice water path.PDDWP, EP, SO3 months1 minute
ATLID, CPRAC__TC__2BProviding ATLID and CPR detection status, and ATLID/CPR target classification flags.PDDWP, EP, SO3 months1 minute

PART 2: SCIENTIFIC EXPLOITATION AND ANALYSIS


Import Libraries

Token

You can generate the token here. Currently, this is only valid for 10 h! Copy the token and save it in a .txt file in your home directory.

We use ectools for some exploratory analysis. ectools is currently installed from their repository here.

Analysis cells

We define some necessary variables: our areas of interest as geoboxes, the name of the products, the catalogue from MAAP where the products are stored.

Let’s see how the geoboxes look like in a map

<Figure size 1000x500 with 1 Axes>

We start by searching the data on the MAAP catalogue, for the defined areas (bbox) and period of interests.

Access level: public
filter by: "product:type='CPR_CLD_2A' and frame='E'"
bbox: [110, 0, 160, 20]
datetime: ['2024-07-28T00:00:00Z', '2025-09-30T00:00:00Z']
Accessing 5 items (up to max_items=5).
1233 items found that matched the query.
Access level: public
filter by: "product:type='ATL_ALD_2A' and frame='E'"
bbox: [110, 0, 160, 20]
datetime: ['2024-07-28T00:00:00Z', '2025-09-30T00:00:00Z']
Accessing 5 items (up to max_items=5).
1260 items found that matched the query.

Products ID and URL access, toghether with relevant data like orbit and frame ID, are stored as a pandas dataframe.

Let’s take a look at some of ATLID data that was found

Loading...
productType = 'AC__TC__2B'

Method

We define a method to process each product and generate a ready-to-train final file. This function needs the token as a str.

Running method for regions

The code here works now for Antarctica, some adjustments are needed for the other areas

suffix = ["_AN", "_EP", "_WP"]

if loc == "Antarctica":
    # include also Antarctica2
    geoboxes["Antarctica2"] ...

In the following cell the function defined avobe is run for Antartica (SO) region

Here we run it for the West Pacific region

K-Means

We run the K-means algorithm

Open the dataset we have previously generated, resampled to 1 minute of temporal resolution.

Apply a min-max normalization to the data

array([[0.66493506, 0.07297073, 0. , 0. ], [0.20952381, 0.36253172, 0. , 0. ], [1. , 0. , 0. , 0. ], ..., [0. , 0. , 0. , 0. ], [0. , 0. , 0. , 0. ], [0. , 0. , 0. , 0. ]], shape=(791, 4))

Calculating the ideal number of clusters or groups for which the K-mean algorithm will converge, using the elbow method.

Initialization complete
Iteration 0, inertia 83.94128020063762.
Iteration 1, inertia 79.04169812862384.
Converged at iteration 1: strict convergence.
Initialization complete
Iteration 0, inertia 55.46179566017088.
Iteration 1, inertia 23.291296049752884.
Iteration 2, inertia 22.259663904984322.
Iteration 3, inertia 22.127212169527848.
Iteration 4, inertia 22.12265737795621.
Iteration 5, inertia 22.120893721611928.
Converged at iteration 5: strict convergence.
Initialization complete
Iteration 0, inertia 21.50591502854491.
Iteration 1, inertia 17.69848910829133.
Iteration 2, inertia 17.51409281451823.
Iteration 3, inertia 17.47445261533057.
Iteration 4, inertia 17.465234232507857.
Iteration 5, inertia 17.459938808821445.
Iteration 6, inertia 17.456770761891715.
Iteration 7, inertia 17.440405375460486.
Iteration 8, inertia 17.42033102539664.
Iteration 9, inertia 17.41226327971376.
Converged at iteration 9: strict convergence.
Initialization complete
Iteration 0, inertia 16.411053421764024.
Iteration 1, inertia 12.816898130993657.
Iteration 2, inertia 12.599351596707141.
Iteration 3, inertia 12.547681932648224.
Iteration 4, inertia 12.52360503185108.
Iteration 5, inertia 12.4972944090952.
Iteration 6, inertia 12.463517295876008.
Iteration 7, inertia 12.449610649736659.
Iteration 8, inertia 12.44665866827523.
Converged at iteration 8: strict convergence.
Initialization complete
Iteration 0, inertia 12.766910674737337.
Iteration 1, inertia 11.282008460973753.
Iteration 2, inertia 11.210980433478994.
Iteration 3, inertia 11.183437622164764.
Iteration 4, inertia 11.17517417016294.
Iteration 5, inertia 11.173546264456187.
Iteration 6, inertia 11.172056513772281.
Converged at iteration 6: strict convergence.
Initialization complete
Iteration 0, inertia 10.145794982971026.
Iteration 1, inertia 8.158980904030399.
Iteration 2, inertia 7.78231664542908.
Iteration 3, inertia 7.433779552658379.
Iteration 4, inertia 7.11504071413971.
Iteration 5, inertia 7.0661805532651245.
Iteration 6, inertia 7.060779639404569.
Converged at iteration 6: strict convergence.
Initialization complete
Iteration 0, inertia 8.93993606094572.
Iteration 1, inertia 7.16151110394229.
Iteration 2, inertia 6.779940614572866.
Iteration 3, inertia 6.421353953977841.
Iteration 4, inertia 6.106427547229407.
Iteration 5, inertia 6.05918880731252.
Iteration 6, inertia 6.055277644135872.
Converged at iteration 6: strict convergence.
Initialization complete
Iteration 0, inertia 5.925405629945825.
Iteration 1, inertia 5.14169531529863.
Iteration 2, inertia 5.083683093812935.
Iteration 3, inertia 5.0569492673484415.
Iteration 4, inertia 5.034942591571646.
Iteration 5, inertia 5.021885277116303.
Converged at iteration 5: strict convergence.
Initialization complete
Iteration 0, inertia 4.913389184834135.
Iteration 1, inertia 4.167436723526138.
Iteration 2, inertia 4.040394332101336.
Iteration 3, inertia 4.016218458764956.
Converged at iteration 3: strict convergence.
Initialization complete
Iteration 0, inertia 4.341214963728565.
Iteration 1, inertia 3.6630505704846987.
Iteration 2, inertia 3.546933211572808.
Iteration 3, inertia 3.5240319638394797.
Converged at iteration 3: strict convergence.
Initialization complete
Iteration 0, inertia 3.7622039615316507.
Iteration 1, inertia 3.1823082005237477.
Iteration 2, inertia 3.1341007667085266.
Iteration 3, inertia 3.113706750180148.
Iteration 4, inertia 3.1119543303358514.
Converged at iteration 4: strict convergence.
Initialization complete
Iteration 0, inertia 3.429633681718776.
Iteration 1, inertia 2.7505425904268703.
Iteration 2, inertia 2.6403432321807565.
Iteration 3, inertia 2.6155770715091657.
Iteration 4, inertia 2.6029440719327286.
Iteration 5, inertia 2.6020055173825796.
Iteration 6, inertia 2.6010125510869395.
Converged at iteration 6: strict convergence.
Initialization complete
Iteration 0, inertia 2.9804737470637077.
Iteration 1, inertia 2.394670941787254.
Iteration 2, inertia 2.3133517109983885.
Iteration 3, inertia 2.305756224124432.
Iteration 4, inertia 2.3037885192241174.
Iteration 5, inertia 2.3028499646739684.
Iteration 6, inertia 2.3018569983783297.
Converged at iteration 6: strict convergence.
Initialization complete
Iteration 0, inertia 2.613737597134922.
Iteration 1, inertia 2.0794984806759587.
Iteration 2, inertia 2.0362567744883258.
Iteration 3, inertia 2.0294301220964432.
Iteration 4, inertia 2.027472288453859.
Iteration 5, inertia 2.025354270658027.
Converged at iteration 5: strict convergence.
Initialization complete
Iteration 0, inertia 2.4202319362377804.
Iteration 1, inertia 1.8822753467917424.
Iteration 2, inertia 1.823531393638171.
Iteration 3, inertia 1.8135581409720243.
Iteration 4, inertia 1.8105288317577226.
Iteration 5, inertia 1.8084108139618906.
Converged at iteration 5: strict convergence.
Initialization complete
Iteration 0, inertia 2.2772017355578895.
Iteration 1, inertia 1.7645048013585782.
Iteration 2, inertia 1.70738310124905.
Iteration 3, inertia 1.6974098485829034.
Iteration 4, inertia 1.6944163035405593.
Iteration 5, inertia 1.692297503972988.
Converged at iteration 5: strict convergence.
Initialization complete
Iteration 0, inertia 1.9265163601226747.
Iteration 1, inertia 1.5255694654955467.
Iteration 2, inertia 1.4929432952689.
Iteration 3, inertia 1.477156926335045.
Iteration 4, inertia 1.473407490436966.
Iteration 5, inertia 1.4701678299060457.
Converged at iteration 5: strict convergence.
Initialization complete
Iteration 0, inertia 1.745356730763182.
Iteration 1, inertia 1.4223788439282676.
Iteration 2, inertia 1.3851463910379724.
Iteration 3, inertia 1.3776335257468715.
Iteration 4, inertia 1.3739101621769083.
Iteration 5, inertia 1.3706532839387773.
Converged at iteration 5: strict convergence.
Initialization complete
Iteration 0, inertia 1.6033559727396742.
Iteration 1, inertia 1.2651369064865794.
Iteration 2, inertia 1.2074132383581127.
Iteration 3, inertia 1.187696094702169.
Iteration 4, inertia 1.18568708060975.
Iteration 5, inertia 1.1854933397600134.
Converged at iteration 5: strict convergence.
Initialization complete
Iteration 0, inertia 1.4899910000955299.
Iteration 1, inertia 1.1079769988652661.
Iteration 2, inertia 1.049610789083364.
Iteration 3, inertia 1.0298936454274201.
Iteration 4, inertia 1.0278846313350007.
Iteration 5, inertia 1.0276908904852646.
Converged at iteration 5: strict convergence.
<Figure size 640x480 with 1 Axes>
Loading...

Checking the cluster’s centroids

array([[ 9.37773535e-01, 6.44299081e-02, -6.50521303e-19, 4.83169010e-03], [ 5.99111239e-03, 1.01311943e-02, 1.62866450e-03, 1.34518700e-02], [ 4.08730159e-02, 6.57179422e-01, 0.00000000e+00, 3.46944695e-18], [ 4.56176368e-01, 2.43666637e-02, -4.33680869e-19, 2.24304667e-02], [ 2.51322751e-03, 1.60728047e-03, -2.16840434e-19, 3.61514947e-01]])

Plots: We define a funtion to plot the data points

<Figure size 1800x500 with 3 Axes>
(0.0, 0.25)
<Figure size 640x480 with 1 Axes>

Classes we were expecting:

  • Cluster 4: Aerosol with no clouds

  • Cluster 3: Ice and water with no transparency (ATLID is not seeing aerosol)

Let’s see the other three

array([0, 1, 2, 3, 4], dtype=int32)
(0.0, 0.1)
<Figure size 640x480 with 1 Axes>

Now we plot the data points by their latitude and longitude, to understand the spatial distribution of the clusters

<Figure size 640x480 with 1 Axes>
<Figure size 640x480 with 1 Axes>

Explore the classification differences among the clusters at different heights

Loading...
<Figure size 2400x2000 with 40 Axes>

References

References
  1. Heikenfeld, M., White, B., Labbouz, L., & Stier, P. (2019). Aerosol effects on deep convection: the propagation of aerosol perturbations through convective cloud microphysics. Atmospheric Chemistry and Physics, 19(4), 2601–2627. 10.5194/acp-19-2601-2019
  2. Grabowski, W. W. (2015). Untangling Microphysical Impacts on Deep Convection Applying a Novel Modeling Methodology. Journal of the Atmospheric Sciences, 72(6), 2446–2464. 10.1175/jas-d-14-0307.1
  3. Igel, M. R., & van den Heever, S. C. (2015). The relative influence of environmental characteristics on tropical deep convective morphology as observed by CloudSat. Journal of Geophysical Research: Atmospheres, 120(9), 4304–4322. 10.1002/2014jd022690