diff --git a/metar.html b/metar.html
index e19daa1..5bb2e9a 100644
--- a/metar.html
+++ b/metar.html
@@ -465,6 +465,9 @@
} else if (mod === 'TR') {
text = ` - ${cloudCode} TR: ${cloudName} clouds are translucent (thin)`;
consumed = 2;
+ } else if (mod === 'TOP' && p.length > 2 && isDirection(p[2])) {
+ text = ` - ${cloudCode} TOP ${p[2]}: ${cloudName} cloud tops to the ${decodeDirection(p[2])}`;
+ consumed = 3;
} else if (mod === 'DSNT' && p.length > 2 && isDirection(p[2])) {
text = ` - ${cloudCode} DSNT ${p[2]}: ${cloudName} distant ${decodeDirection(p[2])}`;
consumed = 3;