How to visualize typhoon tracks with JMP -with data processing-
May 11, 2023 09:44 PMLast Modified: May 11, 2023 9:44 PM
Visualization of typhoon occurrence in 2022
Many typhoons occur in Japan from the rainy season to summer and autumn, and when they land on the Japanese archipelago, they can cause great damage to people.
Typhoon No. 1 has already occurred in April this year, and it will increase in the future. When there is a typhoon, you must check the news and other information frequently and be prepared.
There were 25 typhoons in 2022, of which 3 made landfall in Japan and 8 approached Japan.
I used JMP's "Bubble Plot" to visualize how these typhoons traveled.
numbers displayed in bubbles : number of typhoon
bubble size : Proportional to wind speed
bubble color : Landed, approached or not (display the legend on the upper right)
typhoon2022.mp4
Video Player is loading.
Current Time 0:00
/
Duration 0:00
Loaded: 0%
0:00
Stream Type LIVE
Remaining Time -0:00
1x
Chapters
descriptions off, selected
captions settings, opens captions settings dialog
captions off, selected
This is a modal window.
Beginning of dialog window. Escape will cancel and close the window.
End of dialog window.
This is a modal window. This modal can be closed by pressing the Escape key or activating the close button.
Data table and data processing used
The graph above is available on the Japan Meteorological Agency website. Typhoon position table (2022) I am creating more. Here is a JMP import of this data.
Although the data is relatively clean, the above bubble plot cannot be drawn with this data. It is necessary to process the data to draw the bubble plot.
Here are 3 of them that are important and useful to remember. It's a quiz format, so please think about it a little.
① Create date and time (y/m/d h:m) data
(question) If you want to animate typhoon position information every 6 hours, you need to create a column that shows the date and time from "year", "month", "day", and "hour (UTC)". How can I create this column with a formula in JMP?
(Answer) As an example, this can be achieved by specifying the following formula for the new column. The value given by the formula is a JMP date value (seconds since January 1, 1904). Therefore, change the display format of this column to "y/m/dh:m" format.
The Date DMY(d,m,y) function converts the day (d), month (m), year (y) to a JMP date value.
The In Hours(hour) function converts the hour argument to seconds. For example In Hours(6) returns 21,600 (seconds).
②Extract the number of the typhoon from the typhoon number
(question) The column "Typhoon number" is written as "2201" for Typhoon No. 1 in 2022 and "2202" for No. 2. How can I simply extract the numbers 1, 2, etc. from this column?
(Answer) There are many ways to do this, but one example is to subtract 2200 from the typhoon number as shown below.
➂ For each number (of a typhoon), include information on whether the typhoon made landfall, approached, or did not approach
(question) Of the 25 typhoons, the typhoons that landed and approached are listed below.
Landing: 4,8,14
Approach: 1,5,6,11,12,15,17,18
How can I create a new column with this information and attach it to the data?
(Answer) There are several ways to do this, but here is an example using [Recode].
Select the column "No." Columns > Recode , and enter a new value as shown below.
Use the Ctrl key to select multiple applicable values, and from the right-click menu Group to new value It is efficient to choose
* Since the new value is a character string, first from the red triangle button on the upper left [Convert to String] is specified.
Animate typhoon tracks with bubble plots
This is a data table created by data processing. Create a bubble plot using the orange columns.
Graph > Bubble Plot , and select columns as follows:
To add a map around Japan to the graph, right-click the white area of the graph and click [Background map] , here as an image "Detailed Satellite Image" Choose.
This is a bubble plot report. Adjust the animation speed with "Speed" at the bottom left of the report, adjust the size of plot points with "Bubble size", and click the play animation button. Then you can perform the animation shown in the video at the beginning of this article.
by Naohiro Masukawa JMP Japan
This post originally written in Japanese and has been translated for your convenience. When you reply, it will also be translated back to Japanese.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.