Research Article
Spatiotemporal Exploration and Hazard Mapping of Tropical Cyclones along the Coastline of China
Table 3
Pseudocode for calculating the track density.
| | SumDensity = 0 | | For each Track | | { | | TrackDensity = 0 | | calculate NeighboringArea around the track | | for each Cell in the NeighboringArea | | { | | calculate DistanceToTrack | | TrackDensity = normalized DistanceToTrack | | } | | SumDensity = SumDensity + TrackDensity | | } | | normalize SumDensity with number of tracks |
|
|