# Typhoons (https://nolantw.github.io/cwa/en/guides/typhoons/)

`cwa.typhoons.active()` returns the typhoons and tropical depressions the CWA is tracking, with their current position, strength and forecast track.

```python
import cwa

for cyclone in cwa.typhoons.active():
    print(cyclone.name, cyclone.classification, cyclone.position, cyclone.max_wind_speed)
    for point in cyclone.forecast_track:
        print(point.valid_at, point.position)
```

With no active typhoon, the result is an empty tuple. The CWA keeps a typhoon's last entry after it dissipates; the SDK leaves out any typhoon last analyzed more than 12 hours ago.

A tracked typhoon does not necessarily affect Taiwan. Whether the CWA has issued a sea or land typhoon warning is in [Warnings](/en/guides/alerts), under `AlertType.TYPHOON`.

## Typhoon fields

| Field | Meaning |
| --- | --- |
| `name` | Chinese name; `None` for an unnamed tropical depression |
| `international_name` | International name |
| `classification` | `CycloneClassification.TYPHOON` or `TROPICAL_DEPRESSION` |
| `analyzed_at` | Time of the latest analysis |
| `position` | Center coordinates |
| `pressure` | Central pressure (hPa) |
| `max_wind_speed`, `max_gust_speed` | Maximum sustained wind and gust near the center (m/s) |
| `moving_speed`, `moving_direction` | Speed and direction of movement |
| `forecast_track` | Forecast track, in time order |

Each forecast track point has `valid_at` (the forecast time), `position`, `pressure`, `max_wind_speed` and `max_gust_speed`. Anything the CWA does not provide is `None`.