{"id":3830,"date":"2025-10-31T18:51:37","date_gmt":"2025-10-31T13:21:37","guid":{"rendered":"https:\/\/www.rangakrish.com\/?p=3830"},"modified":"2025-10-31T18:51:37","modified_gmt":"2025-10-31T13:21:37","slug":"analysing-weather-data-using-wolfram-mathematica","status":"publish","type":"post","link":"https:\/\/www.rangakrish.com\/index.php\/2025\/10\/31\/analysing-weather-data-using-wolfram-mathematica\/","title":{"rendered":"Analysing Weather Data Using Wolfram Mathematica"},"content":{"rendered":"<p>If you are interested in analysing weather data and making predictions such as rainfall, storm, etc., then <em><strong>Mathematica<\/strong><\/em> has nice functionality that you can use. In this article, let me cover a few basic functions in this category.<\/p>\n<p>Let us start by getting the coordinates of the place for which we wish to get the Weather data.<\/p>\n<figure id=\"attachment_3831\" aria-describedby=\"caption-attachment-3831\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/coord.png?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"3831\" data-permalink=\"https:\/\/www.rangakrish.com\/index.php\/2025\/10\/31\/analysing-weather-data-using-wolfram-mathematica\/coord\/\" data-orig-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/coord.png\" data-orig-size=\"1550,260\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Getting Location Coordinates\" data-image-description=\"&lt;p&gt;Getting Location Coordinates&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;Getting Location Coordinates&lt;\/p&gt;\n\" data-large-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/coord-1024x172.png\" class=\"wp-image-3831\" src=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/coord.png?resize=500%2C84&#038;ssl=1\" alt=\"Getting Location Coordinates\" width=\"500\" height=\"84\" srcset=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/coord.png?resize=300%2C50&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/coord.png?resize=1024%2C172&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/coord.png?resize=768%2C129&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/coord.png?resize=1536%2C258&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/coord.png?w=1550&amp;ssl=1 1550w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><figcaption id=\"caption-attachment-3831\" class=\"wp-caption-text\"><strong>Getting Location Coordinates<\/strong><\/figcaption><\/figure>\n<p>Although we can get the weather data using the above coordinates directly, we can also find out the weather stations near the location and use those.<\/p>\n<figure id=\"attachment_3833\" aria-describedby=\"caption-attachment-3833\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/station1.png?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"3833\" data-permalink=\"https:\/\/www.rangakrish.com\/index.php\/2025\/10\/31\/analysing-weather-data-using-wolfram-mathematica\/station1\/\" data-orig-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/station1.png\" data-orig-size=\"1558,150\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Locating Weather Stations\" data-image-description=\"&lt;p&gt;Locating Weather Stations&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;Locating Weather Stations&lt;\/p&gt;\n\" data-large-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/station1-1024x99.png\" class=\"wp-image-3833\" src=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/station1.png?resize=500%2C48&#038;ssl=1\" alt=\"Locating Weather Stations\" width=\"500\" height=\"48\" srcset=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/station1.png?resize=300%2C29&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/station1.png?resize=1024%2C99&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/station1.png?resize=768%2C74&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/station1.png?resize=1536%2C148&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/station1.png?w=1558&amp;ssl=1 1558w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><figcaption id=\"caption-attachment-3833\" class=\"wp-caption-text\"><strong>Locating Weather Stations<\/strong><\/figcaption><\/figure>\n<p>Here is another way:<\/p>\n<figure id=\"attachment_3834\" aria-describedby=\"caption-attachment-3834\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/station2.png?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"3834\" data-permalink=\"https:\/\/www.rangakrish.com\/index.php\/2025\/10\/31\/analysing-weather-data-using-wolfram-mathematica\/station2\/\" data-orig-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/station2.png\" data-orig-size=\"1558,306\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Another Way to Get Weather Stations\" data-image-description=\"&lt;p&gt;Another Way to Get Weather Stations&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;Another Way to Get Weather Stations&lt;\/p&gt;\n\" data-large-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/station2-1024x201.png\" class=\"wp-image-3834\" src=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/station2.png?resize=500%2C98&#038;ssl=1\" alt=\"Another Way to Get Weather Stations\" width=\"500\" height=\"98\" srcset=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/station2.png?resize=300%2C59&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/station2.png?resize=1024%2C201&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/station2.png?resize=768%2C151&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/station2.png?resize=1536%2C302&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/station2.png?w=1558&amp;ssl=1 1558w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><figcaption id=\"caption-attachment-3834\" class=\"wp-caption-text\"><strong>Another Way to Get Weather Stations<\/strong><\/figcaption><\/figure>\n<p>The last command above returns the 3 <em><strong>\u201cnearest\u201d<\/strong><\/em> weather stations close to the coordinates.<\/p>\n<p>Now that we have the coordinates and the weather station names, we can easily get the current weather data.<\/p>\n<figure id=\"attachment_3835\" aria-describedby=\"caption-attachment-3835\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/current.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"3835\" data-permalink=\"https:\/\/www.rangakrish.com\/index.php\/2025\/10\/31\/analysing-weather-data-using-wolfram-mathematica\/current\/\" data-orig-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/current.png\" data-orig-size=\"1572,404\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Current Weather Data\" data-image-description=\"&lt;p&gt;Current Weather Data&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;Current Weather Data&lt;\/p&gt;\n\" data-large-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/current-1024x263.png\" class=\"wp-image-3835\" src=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/current.png?resize=500%2C128&#038;ssl=1\" alt=\"Current Weather Data\" width=\"500\" height=\"128\" srcset=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/current.png?resize=300%2C77&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/current.png?resize=1024%2C263&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/current.png?resize=768%2C197&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/current.png?resize=1536%2C395&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/current.png?w=1572&amp;ssl=1 1572w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><figcaption id=\"caption-attachment-3835\" class=\"wp-caption-text\"><strong>Current Weather Data<\/strong><\/figcaption><\/figure>\n<p>Like the above properties, we can get data for <em><strong>\u201cVisibility\u201d<\/strong><\/em>, <em><strong>\u201cPressure\u201d<\/strong><\/em>, <em><strong>\u201cWindSpeed\u201d<\/strong><\/em>, etc.<span class=\"Apple-converted-space\">\u00a0<\/span><\/p>\n<p>Just as we can get the <em><strong>\u201ccurrent\u201d<\/strong><\/em> weather data, there is another interesting function called <em><strong>\u201cWeatherForecastData[]\u201d<\/strong><\/em> for forecasting the weather for 1 week starting <em><strong>\u201ctoday\u201d<\/strong><\/em>. The following gives <em><strong>\u201cTemperature\u201d<\/strong><\/em> data for the next week.<\/p>\n<figure id=\"attachment_3836\" aria-describedby=\"caption-attachment-3836\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/forecast1.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"3836\" data-permalink=\"https:\/\/www.rangakrish.com\/index.php\/2025\/10\/31\/analysing-weather-data-using-wolfram-mathematica\/forecast1\/\" data-orig-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/forecast1.png\" data-orig-size=\"1566,1290\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Forcasting Temperature\" data-image-description=\"&lt;p&gt;Forcasting Temperature&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;Forcasting Temperature&lt;\/p&gt;\n\" data-large-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/forecast1-1024x844.png\" class=\"wp-image-3836\" src=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/forecast1.png?resize=500%2C412&#038;ssl=1\" alt=\"Forcasting Temperature\" width=\"500\" height=\"412\" srcset=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/forecast1.png?resize=300%2C247&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/forecast1.png?resize=1024%2C844&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/forecast1.png?resize=768%2C633&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/forecast1.png?resize=1536%2C1265&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/forecast1.png?w=1566&amp;ssl=1 1566w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><figcaption id=\"caption-attachment-3836\" class=\"wp-caption-text\"><strong>Forcasting Temperature<\/strong><\/figcaption><\/figure>\n<p>Similarly, we can get 1 week\u2019s forecast for <em><strong>\u201cHumidity\u201d<\/strong><\/em>:<\/p>\n<figure id=\"attachment_3837\" aria-describedby=\"caption-attachment-3837\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/forecast2.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"3837\" data-permalink=\"https:\/\/www.rangakrish.com\/index.php\/2025\/10\/31\/analysing-weather-data-using-wolfram-mathematica\/forecast2\/\" data-orig-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/forecast2.png\" data-orig-size=\"1568,1302\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Forecasting Humidity\" data-image-description=\"&lt;p&gt;Forecasting Humidity&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;Forecasting Humidity&lt;\/p&gt;\n\" data-large-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/forecast2-1024x850.png\" class=\"wp-image-3837\" src=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/forecast2.png?resize=500%2C415&#038;ssl=1\" alt=\"Forecasting Humidity\" width=\"500\" height=\"415\" srcset=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/forecast2.png?resize=300%2C249&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/forecast2.png?resize=1024%2C850&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/forecast2.png?resize=768%2C638&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/forecast2.png?resize=1536%2C1275&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/forecast2.png?w=1568&amp;ssl=1 1568w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><figcaption id=\"caption-attachment-3837\" class=\"wp-caption-text\"><strong>Forecasting Humidity<\/strong><\/figcaption><\/figure>\n<p>Instead of a <em><strong>Table<\/strong><\/em>, we can represent as a graph as well:<\/p>\n<figure id=\"attachment_3839\" aria-describedby=\"caption-attachment-3839\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/plot.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"3839\" data-permalink=\"https:\/\/www.rangakrish.com\/index.php\/2025\/10\/31\/analysing-weather-data-using-wolfram-mathematica\/plot\/\" data-orig-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/plot.png\" data-orig-size=\"1572,562\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Plot of Humidity\" data-image-description=\"&lt;p&gt;Plot of Humidity&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;Plot of Humidity&lt;\/p&gt;\n\" data-large-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/plot-1024x366.png\" class=\"wp-image-3839\" src=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/plot.png?resize=500%2C179&#038;ssl=1\" alt=\"Plot of Humidity\" width=\"500\" height=\"179\" srcset=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/plot.png?resize=300%2C107&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/plot.png?resize=1024%2C366&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/plot.png?resize=768%2C275&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/plot.png?resize=1536%2C549&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/plot.png?resize=675%2C240&amp;ssl=1 675w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/plot.png?w=1572&amp;ssl=1 1572w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><figcaption id=\"caption-attachment-3839\" class=\"wp-caption-text\"><strong>Plot of Humidity<\/strong><\/figcaption><\/figure>\n<p>Finally, if you choose to, you can even render it on a map:<\/p>\n<figure id=\"attachment_3840\" aria-describedby=\"caption-attachment-3840\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/map.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"3840\" data-permalink=\"https:\/\/www.rangakrish.com\/index.php\/2025\/10\/31\/analysing-weather-data-using-wolfram-mathematica\/map\/\" data-orig-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/map.png\" data-orig-size=\"1698,1474\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Rendering as Map\" data-image-description=\"&lt;p&gt;Rendering as Map&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;Rendering as Map&lt;\/p&gt;\n\" data-large-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/map-1024x889.png\" class=\"wp-image-3840\" src=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/map.png?resize=500%2C434&#038;ssl=1\" alt=\"Rendering as Map\" width=\"500\" height=\"434\" srcset=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/map.png?resize=300%2C260&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/map.png?resize=1024%2C889&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/map.png?resize=768%2C667&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/map.png?resize=1536%2C1333&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/10\/map.png?w=1698&amp;ssl=1 1698w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><figcaption id=\"caption-attachment-3840\" class=\"wp-caption-text\"><strong>Rendering as Map<\/strong><\/figcaption><\/figure>\n<p>Isn\u2019t it nice?<\/p>\n<p>How can we use the Weather data (including forecast) for predicting rainfall, storm, etc? Obviously, we need a good, proven model that is based on the fundamental weather parameters, seasonality, altitude, etc. Such a model can then be implemented in <em><strong>Mathematica<\/strong><\/em> and used for prediction.<\/p>\n<p>You can download the <em><strong>Mathematica<\/strong><\/em> notebook <a href=\"https:\/\/www.rangakrish.com\/downloads\/WeatherData.nb\" target=\"_blank\" rel=\"noopener\"><em><strong>here<\/strong><\/em><\/a>.<\/p>\n<p>Have a nice weekend!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are interested in analysing weather data and making predictions such as rainfall, storm, etc., then Mathematica has nice functionality that you can use. In this article, let me cover a few basic functions in this category. Let us start by getting the coordinates of the place for which we wish to get the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[72,17],"tags":[438,439],"class_list":["post-3830","post","type-post","status-publish","format-standard","hentry","category-mathematica","category-programming","tag-weather-data","tag-weather-forecast"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9OLnF-ZM","jetpack-related-posts":[{"id":317,"url":"https:\/\/www.rangakrish.com\/index.php\/2016\/08\/31\/geo-computation-in-mathematica\/","url_meta":{"origin":3830,"position":0},"title":"Geo Computation in Mathematica","author":"admin","date":"August 31, 2016","format":false,"excerpt":"Mathematica has many useful features when it comes to Geo Computation. I wanted to check out some of these features for today's post. I travel between Chennai and Bengaluru on official work. So, let us start by determining the on-road distance between these cities. It turns out that this is\u2026","rel":"","context":"In &quot;Mathematica&quot;","block_context":{"text":"Mathematica","link":"https:\/\/www.rangakrish.com\/index.php\/category\/mathematica\/"},"img":{"alt_text":"Distance","src":"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2016\/08\/Fig-1.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2016\/08\/Fig-1.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2016\/08\/Fig-1.png?resize=525%2C300 1.5x"},"classes":[]},{"id":348,"url":"https:\/\/www.rangakrish.com\/index.php\/2016\/09\/26\/computer-vision-with-mathematica\/","url_meta":{"origin":3830,"position":1},"title":"Computer Vision with Mathematica","author":"admin","date":"September 26, 2016","format":false,"excerpt":"Over the past several weeks, I have been discussing many interesting features of Mathematica. As a continuation, today, I would like to show some cool functionality in the domain of computer vision and machine learning. The function ImageIdentify[] tries to identify the object in the given image. According to the\u2026","rel":"","context":"In &quot;Machine Learning&quot;","block_context":{"text":"Machine Learning","link":"https:\/\/www.rangakrish.com\/index.php\/category\/machine-learning\/"},"img":{"alt_text":"A Truck","src":"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2016\/09\/truck-fig.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":760,"url":"https:\/\/www.rangakrish.com\/index.php\/2018\/01\/01\/analysing-screenplay-with-mathematica\/","url_meta":{"origin":3830,"position":2},"title":"Analysing Screenplay with Mathematica","author":"admin","date":"January 1, 2018","format":false,"excerpt":"I have a close relative who is an aspiring movie screenplay writer. During one of our recent meetings, he shared with me with a lot of interesting information about screenplay writing and its challenges. He even lent me a few good books to read further. One of the books is\u2026","rel":"","context":"In &quot;Mathematica&quot;","block_context":{"text":"Mathematica","link":"https:\/\/www.rangakrish.com\/index.php\/category\/mathematica\/"},"img":{"alt_text":"Character Names","src":"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2018\/01\/Character-Names.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2018\/01\/Character-Names.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2018\/01\/Character-Names.png?resize=525%2C300 1.5x"},"classes":[]},{"id":783,"url":"https:\/\/www.rangakrish.com\/index.php\/2018\/01\/14\/analysing-screenplay-in-mathematica-part-2\/","url_meta":{"origin":3830,"position":3},"title":"Analysing Screenplay in Mathematica &#8211; II","author":"admin","date":"January 14, 2018","format":false,"excerpt":"In the previous post I showed how we can use Mathematica to analyse screenplays, and gave some interesting statistics about the various characters and scenes from the movie The Prestige. In today\u2019s post, I want to continue that discussion by sharing some more statistics, and then look at another movie,\u2026","rel":"","context":"In &quot;Mathematica&quot;","block_context":{"text":"Mathematica","link":"https:\/\/www.rangakrish.com\/index.php\/category\/mathematica\/"},"img":{"alt_text":"Characters vs. Scenes","src":"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2018\/01\/Num-Scenes.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":3794,"url":"https:\/\/www.rangakrish.com\/index.php\/2025\/08\/19\/stock-analysis-with-wolfram-mathematica-part-2\/","url_meta":{"origin":3830,"position":4},"title":"Stock Analysis with Wolfram Mathematica &#8211; Part 2","author":"admin","date":"August 19, 2025","format":false,"excerpt":"In the previous article, I had explained how to get started using Wolfram Mathematica\u2019s stock analysis features. The focus was on working with the exchanges supported by Mathematica, for example BSE India. What if we have stock data from a different source and want to analyze it in Mathematica? In\u2026","rel":"","context":"In &quot;Mathematica&quot;","block_context":{"text":"Mathematica","link":"https:\/\/www.rangakrish.com\/index.php\/category\/mathematica\/"},"img":{"alt_text":"Loading the CSV Data","src":"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/08\/processdata-fn-300x149.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/08\/processdata-fn-300x149.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2025\/08\/processdata-fn-300x149.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":443,"url":"https:\/\/www.rangakrish.com\/index.php\/2016\/12\/25\/checking-image-overlap-with-mathematica-part-2\/","url_meta":{"origin":3830,"position":5},"title":"Checking Image Overlap with Mathematica &#8211; Part 2","author":"admin","date":"December 25, 2016","format":false,"excerpt":"In the previous post, we discussed one technique to check the overlap between two given images of equal dimensions. In today\u2019s post, let us look at another idea that uses Mathematica\u2019s ImageCorrespondingPoints\u00a0function. As per the documentation, the ImageCorrespondingPoints function finds a set of matching interest points between two given images\u2026","rel":"","context":"In &quot;Image Processing&quot;","block_context":{"text":"Image Processing","link":"https:\/\/www.rangakrish.com\/index.php\/category\/image-processing\/"},"img":{"alt_text":"Corresponding Points","src":"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2016\/12\/CorrespondingPoints.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2016\/12\/CorrespondingPoints.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2016\/12\/CorrespondingPoints.png?resize=525%2C300 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.rangakrish.com\/index.php\/wp-json\/wp\/v2\/posts\/3830","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rangakrish.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rangakrish.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rangakrish.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rangakrish.com\/index.php\/wp-json\/wp\/v2\/comments?post=3830"}],"version-history":[{"count":5,"href":"https:\/\/www.rangakrish.com\/index.php\/wp-json\/wp\/v2\/posts\/3830\/revisions"}],"predecessor-version":[{"id":3843,"href":"https:\/\/www.rangakrish.com\/index.php\/wp-json\/wp\/v2\/posts\/3830\/revisions\/3843"}],"wp:attachment":[{"href":"https:\/\/www.rangakrish.com\/index.php\/wp-json\/wp\/v2\/media?parent=3830"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rangakrish.com\/index.php\/wp-json\/wp\/v2\/categories?post=3830"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rangakrish.com\/index.php\/wp-json\/wp\/v2\/tags?post=3830"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}