<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Marco Hening Tallarico on Medium]]></title>
        <description><![CDATA[Stories by Marco Hening Tallarico on Medium]]></description>
        <link>https://medium.com/@marcoheningtallarico?source=rss-a712ecb3ab76------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*0qgdKrLgXS5nKWsQQPUzbg.png</url>
            <title>Stories by Marco Hening Tallarico on Medium</title>
            <link>https://medium.com/@marcoheningtallarico?source=rss-a712ecb3ab76------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 06:26:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@marcoheningtallarico/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Poema Carioca]]></title>
            <link>https://medium.com/the-silicate-suns/poema-carioca-71a9caa1dc3a?source=rss-a712ecb3ab76------2</link>
            <guid isPermaLink="false">https://medium.com/p/71a9caa1dc3a</guid>
            <category><![CDATA[poema-brasileiro]]></category>
            <category><![CDATA[rio-de-janeiro]]></category>
            <category><![CDATA[literatura-brasileira]]></category>
            <category><![CDATA[poema]]></category>
            <dc:creator><![CDATA[Marco Hening Tallarico]]></dc:creator>
            <pubDate>Mon, 05 Oct 2026 22:12:06 GMT</pubDate>
            <atom:updated>2026-10-05T22:16:08.305Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*izWdc56_5HYcwQr5" /><figcaption>Photo by <a href="https://unsplash.com/@jottasilvas?utm_source=medium&amp;utm_medium=referral">JOTTA SILVA</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>A luz <br>é nada mais <br>que a porra <br>do sol</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=71a9caa1dc3a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-silicate-suns/poema-carioca-71a9caa1dc3a">Poema Carioca</a> was originally published in <a href="https://medium.com/the-silicate-suns">the Silicate Suns</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using Transformers to Forecast Incredibly Rare Solar Flares]]></title>
            <link>https://levelup.gitconnected.com/using-transformers-to-forecast-incredibly-rare-solar-flares-9db215b71515?source=rss-a712ecb3ab76------2</link>
            <guid isPermaLink="false">https://medium.com/p/9db215b71515</guid>
            <category><![CDATA[forecasting]]></category>
            <category><![CDATA[transformers]]></category>
            <category><![CDATA[astronomy]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Marco Hening Tallarico]]></dc:creator>
            <pubDate>Mon, 11 May 2026 17:41:35 GMT</pubDate>
            <atom:updated>2026-08-07T15:46:07.786Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction (X-45)</h3><p>forecasting fundamentally changes whenever we try to predict a very rare event. We must fundamentally shift what we are modelling to focus on tail events. From model performance metrics and target definition to the tail model and the transformer output heads, rare-event forecasting is difficult. Difficult yet worth it.</p><p>The Halloween storms of 2003 began as a disturbance on the Sun, a single dark spot that created one of the strongest space weather events of the satellite era. Through late October to early November, a series of enormous active regions churned across the solar disk. This released powerful flares and clouds of magnetized plasma towards Earth. This event presented a uniquely aesthetic flair-up with radio-wave implications.</p><p>Satellites malfunctioned, GPS and radio were disrupted, and airlines rerouted polar flights. According to NOAA, power grids worldwide were affected, with some currents exceeding 100 amps, leading to the Malmö Blackout in Sweden. At 20:07 UT, a power outage hit the region, leaving approximately 50,000 customers without electricity for 20 to 50 minutes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UjHrAnbsEXX5-WbM.jpg" /></figure><p>An international shock, the event saturated GOES X-ray sensors, so the true size of the flare could be calculated only through reconstruction. Often called X-45, after its Magnitude, 450 times larger than M-1, a medium flare. The table below shows the Flare Richter Scale.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SB-fUdaxzh0o98Kn.png" /></figure><h3>The Prediction Problem</h3><p>A paradoxical problem with catastrophes is that the more catastrophic they are, the rarer they tend to be. Think floods, snow-storms and avalanches. Every 50-year story happens once in fifty years. This is usually a good thing, but because of their rarity, they become incredibly hard to predict.</p><p>There are several things that make predicting rare-events a particularly interesting challenge in machine learning:</p><ol><li>Our metrics for model evaluation must change</li><li>Features need to be engineered from magnetism data</li><li>Make a tail model to specifically capture rare events</li><li>Combine the tail model with the full distribution model using a transformer</li></ol><p>A note on accuracy, which is typically a good metric for binary classification. We could achieve 99% accuracy by missing every single solar flare in 10,000 forecasts if we had only 100 major flares. We could simply guess. It won’t happen every single time.</p><blockquote><em>Accuracy = (10,000–100)/10,000 = 9900/10,000 = 0.99 = 99%</em></blockquote><blockquote><em>True Positives = 0</em></blockquote><h3>The Data</h3><p>If you’re interested in where this data comes from, all the data we have on solar flares comes from an altogether different layer of the sun than where the flare occurs. The data we have on solar flares comes from the Photosphere, the sun’s first visible layer.</p><p>Flares occur in the Corona and Chromosphere. The data is collected by the Solar Dynamics Observatory (SDO), a NASA spacecraft that continuously observes the Sun to monitor its activity. Using the Helioseismic and Magnetic Imager (HMI).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dbpf7rzyRv7YjL5S.png" /></figure><h3>Model Input</h3><p>Fortunately, thanks to NASA, our satellite’s construction, deployment, and voyage to the Sun have already been completed, and we can now focus on our model input. A vector magnetogram estimates the magnetic field vector <strong>B</strong>. First observations come in two flavours:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/636/0*yFIsyfdqausUlrN1.png" /></figure><p>From this starting point, the Space Weather HMI Active Region Patch does two things:</p><ol><li>Localization</li><li>Feature engineering</li></ol><p>means selecting active regions on the Sun (Localization) and computing magnetic parameters that better describe the solar and magnetic structure (feature engineering).</p><p>The important lesson here is that, to address how rare the event we are trying to predict is, we focus on gathering data from locations where it is most likely to happen. We take our starting measurement data on the magnetic fields and compute different features like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/916/0*5L6jmj7G9rnzyy9R.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FJuYecbiMu8NH_4I.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*AQdxATwaXSHV1Zcr.png" /></figure><p>Our input data become a function of time and engineered features:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/354/0*vfAX0NTxidiHVFAx.png" /></figure><p>If our model uses the past 24 hours, and 9 engineered features our input would be</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/348/0*kcz6OZj2hWOCXj7K.png" /></figure><h3>Model Target</h3><p>We might as well make our target more precise now. We define it as the probability of observing an M-1 class event in the next 24 hours, given the magnetic history. Here, the magnetic history would be our entire input data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*clfEejhFmfRnHA3u.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VxkwVyGCXTWenvU6.png" /></figure><p>But there are many implicit design decisions we’ve made that the following table makes explicit.</p><p>Notice that there are many options when constructing our target. This is a major problem when comparing different models. It’s worth noting that simply taking more data is not better, as events that happened further in the past tend to be less powerful predictors of future events. This introduces a noise-to-signal problem with regards to your training window.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UUowTVKfeEQ_mvCT.png" /></figure><h3>The Metric TSS</h3><p>To solve the problem presented earlier of having a model with 99% accuracy and zero recall, we introduce a new statistic called the True Skill Statistic (TSS), defined as the difference between the true positive rate and the false positive rate. TSS rewards true positives while also punishing false positives.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/796/0*m40wcJ5BuHfMAXCL.png" /></figure><h3>Making a tail model</h3><p>Because of flare rarity, if we use the following risk objective, we will find that common events, where no solar flare was present, dominate the loss term. Rare events barely contribute, as they happen so little, even though they are the most relevant to what we are trying to predict. The model can become very good at the bulk of the distribution while learning very little about the extreme events, which we are interested in. This is why it makes sense to consider tailoring.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/834/0*d0hqcbIsEckdDHuv.png" /></figure><p>We can more accurately describe the problem by saying that our objective is frequency-weighted, meaning that frequent events dominate the loss term, while less frequent (rare) events contribute the least, even though that is what our model needs to learn.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RdwJxv-k9MdGMeRq.jpg" /></figure><p>So our model can learn from mostly rare events. We choose a constant threshold for a continuous variable, such as soft X-ray flux, anything that measures flare severity could work. We set our target to the difference between the threshold and our observed flare-severity variable, and use only data from the tail of the distribution<em>.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dqI7APyVbV0dICSL.png" /></figure><p>Then the data we model is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5120SjsCVXotdcSf.png" /></figure><h3>Using Transformers</h3><p>We can now combine our original model and tail model using a transformer to achieve a more robust solution, which ideally learns what happens both below the threshold for a rare event and above it. In other words, we would like the model to learn the origin of the discrete function as well as the shape of excess risk defined by the tail model. For this, we can use transformers with different heads. A model can begin with magnetic history data and encode it into a representation <em>h</em>; separate heads can estimate different quantities like flare probability, uncertainty tail exceedance and precursor signal.</p><p>The classification head, which estimates the probability that our target is one given our data, is often trained with the binary cross-entropy, perhaps weighted to account for class imbalance.</p><p>We can use the Generalized Pareto Distribution (GPD), which provides a compact model for the excesses (our tail distribution). Here, σ controls the scale, and ξ controls the tail heaviness. The transformer produces a representation of the recent solar states <em>h</em> maps that representation into GPD parameters, so different magnetic histories imply different tail distributions for one active region (sunspot).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*RCynd4IDthO_PA8B.png" /></figure><p>The full objective combines two forecasting tasks. The classification term teaches the model to estimate whether a flare crosses the chosen threshold, while the tail term teaches it what the excess severity looks like after that threshold has been crossed. This matters because the model should not only learn “flare or no flare.” It should also learn how large the event might be once it enters the dangerous part of the distribution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WAQqKYYQQFjq-5WS.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zkv4SZvHXowg3mnE.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bQm_p-MuG9RYHUXV.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/0*xLLsaosc_P17-GFV.jpg" /></figure><h3>Conclusion</h3><p>When it comes to getting a good forecast for a very rare event using a transformer, it’s not enough to just plug in the data and minimize the loss function. When it comes to predicting solar flares, localization and feature engineering techniques must first be applied to our data. Then we need to specify a model target that can distinguish between positive and negative events. We have to choose an appropriate metric that both rewards true positives and penalizes false positives. Also, because of the huge class imbalance, it makes sense to make a tail model which uses the generalized Pareto distribution to model exceedances beyond a threshold. These techniques and loss functions can be used as different heads of a transformer that is capable of both prediction and estimation, and also learns how large an event might be once it enters a dangerous part of a distribution. What we get from this is improved predictive performance and a better-specified model.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9db215b71515" width="1" height="1" alt=""><hr><p><a href="https://levelup.gitconnected.com/using-transformers-to-forecast-incredibly-rare-solar-flares-9db215b71515">Using Transformers to Forecast Incredibly Rare Solar Flares</a> was originally published in <a href="https://levelup.gitconnected.com/">Level Up Coding</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Access NASA’s Climate Data]]></title>
            <link>https://levelup.gitconnected.com/how-to-access-nasas-climate-data-a9cec8e7b36f?source=rss-a712ecb3ab76------2</link>
            <guid isPermaLink="false">https://medium.com/p/a9cec8e7b36f</guid>
            <category><![CDATA[data]]></category>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[nasa]]></category>
            <category><![CDATA[satelite-data]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Marco Hening Tallarico]]></dc:creator>
            <pubDate>Mon, 23 Feb 2026 17:32:59 GMT</pubDate>
            <atom:updated>2026-02-23T17:32:59.772Z</atom:updated>
            <content:encoded><![CDATA[<h4>NASA POWER Python API</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GsWEwxigru_TuwbE_YcY_g.jpeg" /></figure><p>I can’t think of a more important dataset. Just today, I saw a headline like this<strong>: ‘Heat Waves Are Getting More Dangerous with Climate Change.’ </strong>You can’t say we haven’t been warned. In 1988, we saw headlines like this: <strong>‘Global Warming Has Begun, Expert Tells Senate</strong>.’ And while data science has played its role in revealing that we will likely surpass the 1.5 °C target set by the Paris Agreement, there is far more we could be doing. For one, people don’t believe it, yet the data is readily available, free, and easy to access. You can check it yourself! So in this episode, we will. We’ll also talk about the surprising and interesting ways this data is currently being utilized to combat the effects of climate change.</p><p>But climate data is also incredibly interesting. You’ve probably also seen headlines like: <strong>Blue Origin launch of 6 people to suborbital space delayed again due to weather. </strong>Which makes you think, if we can send someone to the moon, then why can’t we be sure about the weather? If difficult doesn’t describe it, then a <em>multidimensional stochastic process</em> might. From a data science perspective, this is our Riemann Hypothesis, our P vs NP problem. How well we can model and understand climate data will shape our next decades on this earth. This is the most important problem we could be working on.</p><p>And while New York just went through a heat wave, it’s necessary to note that climate change is worse than just hotter weather.</p><ul><li>Failing harvests undermine global food security, especially in vulnerable regions.</li><li>Vector-borne diseases expand into new regions as temperatures rise.</li><li>Mass extinctions disrupt ecosystems and erode planetary resilience.</li><li>Ocean acidification unravels marine food chains, threatening fisheries and biodiversity.</li><li>Freshwater supplies dwindle under the pressure of drought, pollution, and overuse.</li></ul><p>But not all is lost; we will talk about some of the ways data has been used to address these problems. Here’s a summary of some of the data NASA keeps track of. We will access some of these parameters.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VtH3HSjc4Icb26M2.png" /></figure><h3>Getting the data</h3><p>We’ll start by picking some interesting locations we’ll examine in this series. All we need are their coordinates — a click away on Google Maps. I use quite a bit of decimal places here, but the meteorological data source resolution is ½° x ⅝°, so there’s no need to be this accurate.</p><pre>interesting_climate_sites = {<br>    &quot;Barrow, Alaska (Utqiaġvik)&quot;: (71.2906, -156.7886),    # Arctic warming, permafrost melt<br>    &quot;Greenland Ice Sheet&quot;: (72.0000, -40.0000),            # Glacial melt, sea level rise<br>    &quot;Amazon Rainforest (Manaus)&quot;: (-3.1190, -60.0217),     # Carbon sink, deforestation impact<br>    &quot;Sahara Desert (Tamanrasset, Algeria)&quot;: (22.7850, 5.5228),  # Heat extremes, desertification<br>    &quot;Sahel (Niamey, Niger)&quot;: (13.5128, 2.1127),            # Precipitation shifts, droughts<br>    &quot;Sydney, Australia&quot;: (-33.8688, 151.2093),             # Heatwaves, bushfires, El Niño sensitivity<br>    &quot;Mumbai, India&quot;: (19.0760, 72.8777),                   # Monsoon variability, coastal flooding<br>    &quot;Bangkok, Thailand&quot;: (13.7563, 100.5018),              # Sea-level rise, heat + humidity<br>    &quot;Svalbard, Norway&quot;: (78.2232, 15.6469),                # Fastest Arctic warming<br>    &quot;McMurdo Station, Antarctica&quot;: (-77.8419, 166.6863),   # Ice loss, ozone hole proximity<br>    &quot;Cape Town, South Africa&quot;: (-33.9249, 18.4241),        # Water scarcity, shifting rainfall<br>    &quot;Mexico City, Mexico&quot;: (19.4326, -99.1332),            # Air pollution, altitude-driven weather<br>    &quot;Reykjavík, Iceland&quot;: (64.1355, -21.8954),             # Glacial melt, geothermal dynamics<br>}</pre><p>Next, let’s select some parameters. You can flip through them in the Parameter Dictionary <a href="https://power.larc.nasa.gov/parameters/">https://power.larc.nasa.gov/parameters/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BWQChHs3KcXVuhZT.png" /></figure><p>You can only request from one community at a time, so we group the parameters by community.</p><pre>community_params = {<br>    &quot;AG&quot;: [&quot;T2M&quot;,&quot;T2M_MAX&quot;,&quot;T2M_MIN&quot;,&quot;WS2M&quot;,&quot;ALLSKY_SFC_SW_DWN&quot;,&quot;ALLSKY_SFC_LW_DWN&quot;,<br>           &quot;CLRSKY_SFC_SW_DWN&quot;,&quot;T2MDEW&quot;,&quot;T2MWET&quot;,&quot;PS&quot;,&quot;RAIN&quot;,&quot;TS&quot;,&quot;RH2M&quot;,&quot;QV2M&quot;,&quot;CLOUD_AMT&quot;],<br>    &quot;RE&quot;: [&quot;WD2M&quot;,&quot;WD50M&quot;,&quot;WS50M&quot;],<br>    &quot;SB&quot;: [&quot;IMERG_PRECTOT&quot;]<br>}</pre><h3>How is this data used?</h3><ul><li><strong>AG = Agricultural</strong>. Agroeconomists typically use this community in crop growth models, such as DSSAT and APSIM, as well as in irrigation planners, such as FAO CROPWAT. It’s also used for livestock heat-stress assessment and for building <strong>early warning systems for food security</strong>. This helps mitigate food insecurity due to climate change. This data follows agroeconomic conventions, allowing it to be ingested directly by agricultural decision-support tools.</li><li><strong>RE = Renewable Energy. </strong>Given the name and the availability of wind speed data here, you might be able to guess its purpose. This data is primarily used to forecast long-term energy yields. Wind speed for turbines, solar radiation for solar farms. This data can be fed into PVsyst, NREL-SAM and WindPRO to estimate annual energy yields and costs. This data supports everything from rooftop array design to national clean energy targets.</li><li><strong>SB = Sustainable Buildings. </strong>Architects and HVAC engineers use this data to ensure their buildings comply with energy performance regulations, such as the IECC or ASHRAE 90.1. It can be directly dropped into EnergyPlus, OpenStudio, RETScreen, or LEED/ASHRAE compliance calculators to verify buildings are up to code.</li></ul><p>Now we pick a start and end date.</p><pre>start_date = &quot;19810101&quot; <br>end_date = &quot;20241231&quot;</pre><p>To make the API call something repeatable, we use a function. We will work with daily data, but if you prefer yearly, monthly, or even hourly data, you just need to change the URL to</p><p>…/temporal/{resolution}/point.</p><pre>import requests<br>import pandas as pd<br><br>def get_nasa_power_data(lat, lon, parameters, community, start, end):<br>    &quot;&quot;&quot;<br>    Fetch daily data from NASA POWER API for given parameters and location.<br>    Dates must be in YYYYMMDD format (e.g., &quot;20100101&quot;, &quot;20201231&quot;).<br>    &quot;&quot;&quot;<br>    url = &quot;https://power.larc.nasa.gov/api/temporal/daily/point&quot;<br>    params = {<br>        &quot;parameters&quot;: &quot;,&quot;.join(parameters),<br>        &quot;community&quot;: community,<br>        &quot;latitude&quot;: lat,<br>        &quot;longitude&quot;: lon,<br>        &quot;start&quot;: start,<br>        &quot;end&quot;: end,<br>        &quot;format&quot;: &quot;JSON&quot;<br>    }<br>    response = requests.get(url, params=params)<br>    data = response.json()<br>    if &quot;properties&quot; not in data:<br>        print(f&quot;Error fetching {community} data for lat={lat}, lon={lon}: {data}&quot;)<br>        return pd.DataFrame()<br>    # Build one DataFrame per parameter, then combine<br>    param_data = data[&quot;properties&quot;][&quot;parameter&quot;]<br>    dfs = [<br>        pd.DataFrame.from_dict(values, orient=&quot;index&quot;, columns=[param])<br>        for param, values in param_data.items()<br>    ]<br>    df_combined = pd.concat(dfs, axis=1)<br>    df_combined.index.name = &quot;Date&quot;<br>    return df_combined.sort_index().astype(float)</pre><p>This function retrieves the requested parameters from the specified community. It also converts JSON into a dataframe. Each response always contains a property key — if it’s missing, we print an error. Let’s call this function in a loop to fetch the data for all our locations.</p><pre>all_data = {}<br>for city, (lat, lon) in interesting_climate_sites.items():<br>    print(f&quot;Fetching daily data for {city}...&quot;)<br>    city_data = {}<br>    for community, params in community_params.items():<br>        df = get_nasa_power_data(lat, lon, params, community, start_date, end_date)<br>        city_data[community] = df<br>    all_data[city] = city_data</pre><p>Right now, our data is a dictionary where the values are also dictionaries. It looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/778/1*miZn0DM4SCtZ2VHNpr87Xw.png" /><figcaption>Dataframe insde a dataframe.</figcaption></figure><p>This makes using the data complicated. Next, we combine these into one dataframe. We join on the data and then concatenate. Since there were no missing values, an inner join would yield the same result.</p><pre># 1) For each city, join its communities on the date index<br>city_dfs = {<br>    city: comms[&quot;AG&quot;]<br>                .join(comms[&quot;RE&quot;], how=&quot;outer&quot;)<br>                .join(comms[&quot;SB&quot;], how=&quot;outer&quot;)<br>    for city, comms in all_data.items()<br>}<br><br># 2) Concatenate into one MultiIndexed DF: index = (City, Date)<br>combined_df = pd.concat(city_dfs, names=[&quot;City&quot;, &quot;Date&quot;])<br># 3) Reset the index so City and Date become columns<br>combined_df = combined_df.reset_index()<br># 4) Bring latitude/longitude in as columns<br>coords = pd.DataFrame.from_dict(<br>    interesting_climate_sites, orient=&quot;index&quot;, columns=[&quot;Latitude&quot;, &quot;Longitude&quot;]<br>).reset_index().rename(columns={&quot;index&quot;: &quot;City&quot;})<br>combined_df = combined_df.merge(coords, on=&quot;City&quot;, how=&quot;left&quot;)<br># then save into your Drive folder<br>combined_df.to_csv(&#39;/content/drive/MyDrive/climate_data.csv&#39;, index=False)</pre><p>If you’re tired of coding for the day, you can also use their <strong>data access tool.</strong> Just click anywhere on the map to retrieve the data. Here I clicked on Venice. Then just select a Community, Temporal Average, and your preferred file type, CSV, JSON, ASCII, NETCDF, and hit submit. A couple of clicks and you can get all the weather data in the world.</p><p><a href="https://power.larc.nasa.gov/data-access-viewer">https://power.larc.nasa.gov/data-access-viewer</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s_ZkA6shP5tBBrn9kiGfCA.png" /></figure><h3>Sanity check</h3><p>Now, let’s perform a quick sanity check to verify that the data we have makes sense.</p><pre>import matplotlib.pyplot as plt<br>import seaborn as sns # Import seaborn<br><br># Load data<br>climate_df = pd.read_csv(&#39;/content/drive/MyDrive/TDS/Climate/climate_data.csv&#39;)<br>climate_df[&#39;Date&#39;] = pd.to_datetime(climate_df[&#39;Date&#39;].astype(str), format=&#39;%Y%m%d&#39;)<br># Filter for the specified cities<br>selected_cities = [<br>    &#39;McMurdo Station, Antarctica&#39;,<br>    &#39;Bangkok, Thailand&#39;,<br>]<br>df_selected_cities = climate_df[climate_df[&#39;City&#39;].isin(selected_cities)].copy()<br># Create a scatter plot with different colors for each city<br>plt.figure(figsize=(12, 8))<br># Use a colormap for more aesthetic colors<br>colors = sns.color_palette(&quot;Set2&quot;, len(selected_cities)) # Using a seaborn color palette<br>for i, city in enumerate(selected_cities):<br>    df_city = df_selected_cities[df_selected_cities[&#39;City&#39;] == city]<br>    plt.scatter(df_city[&#39;Date&#39;], df_city[&#39;T2M&#39;], label=city, s=2, color=colors[i]) # Using T2M for temperature and smaller dots<br>plt.xlabel(&#39;Date&#39;)<br>plt.ylabel(&#39;Temperature (°C)&#39;)<br>plt.title(&#39;Daily Temperature (°C) for Selected Cities&#39;)<br>plt.legend()<br>plt.grid(alpha=0.3)<br>plt.tight_layout()<br>plt.show()</pre><p>Yes, temperatures in Bangkok are much higher than in the Arctic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9_ioLlrstTPsbHCTG_Cucw.png" /></figure><pre># Filter for the specified cities<br>selected_cities = [<br>    &#39;Cape Town, South Africa&#39;,<br>    &#39;Amazon Rainforest (Manaus)&#39;,<br>]<br>df_selected_cities = climate_df[climate_df[&#39;City&#39;].isin(selected_cities)].copy()<br><br># Set pup the color palette<br>colors = sns.color_palette(&quot;Set1&quot;, len(selected_cities))<br># Create vertically stacked subplots<br>fig, axes = plt.subplots(nrows=2, ncols=1, figsize=(12, 10), sharex=True)<br>for i, city in enumerate(selected_cities):<br>    df_city = df_selected_cities[df_selected_cities[&#39;City&#39;] == city]<br>    axes[i].scatter(df_city[&#39;Date&#39;], df_city[&#39;PRECTOTCORR&#39;], s=2, color=colors[i])<br>    axes[i].set_title(f&#39;Daily Precipitation in {city}&#39;)<br>    axes[i].set_ylabel(&#39;Precipitation (mm)&#39;)<br>    axes[i].grid(alpha=0.3)<br># Label x-axis only on the bottom subplot<br>axes[-1].set_xlabel(&#39;Date&#39;)<br>plt.tight_layout()<br>plt.show()</pre><p>Yes, it’s raining more in the Amazon Rainforest than in South Africa. South Africa experiences droughts, which place a significant burden on the agricultural sector.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uN3xj35yFXr9JIWmnyf2Kg.png" /></figure><pre># Filter for Mexico City<br>df_mexico = climate_df[climate_df[&#39;City&#39;] == &#39;Mexico City, Mexico&#39;].copy()<br># Create the plot<br>plt.figure(figsize=(12, 6))<br>sns.set_palette(&quot;husl&quot;)<br>plt.scatter(df_mexico[&#39;Date&#39;], df_mexico[&#39;WS2M&#39;], s=2, label=&#39;WS2M (2m Wind Speed)&#39;)<br>plt.scatter(df_mexico[&#39;Date&#39;], df_mexico[&#39;WS50M&#39;], s=2, label=&#39;WS50M (50m Wind Speed)&#39;)<br>plt.xlabel(&#39;Date&#39;)<br>plt.ylabel(&#39;Wind Speed (m/s)&#39;)<br>plt.title(&#39;Daily Wind Speeds at 2m and 50m in Mexico City&#39;)<br>plt.legend()<br>plt.grid(alpha=0.3)<br>plt.tight_layout()<br>plt.show()</pre><p>Yes, wind speeds at 50 meters are much higher than at 2 meters. Typically, the higher you go, the faster the wind moves. At flight altitude, the wind can reach speeds of 200 km/h. That is, until you reach space at 100,000 meters.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vry1os4JqDABZw0LucSv9w.png" /></figure><p>We’ll take a much closer look at this data in the following chapters.</p><h3>It’s heating up</h3><p>We just went through a heat wave here in Toronto. By the sounds my AC made, I think it nearly broke. But in a temperature graph, you need to look quite carefully to see that they are rising. This is because there is seasonality and significant variability. Things become clearer when we look at the yearly average. We call an anomaly the difference between the average for a specific year and the baseline. Given the baseline as the average temperature over 1981–2024, we can see that the recent yearly average is significantly higher than the baseline, primarily because earlier years were cooler. The converse is equally true: the early-year average is significantly lower than the baseline due to hotter temperatures in recent years.</p><p>With all the technical articles present here, headlines like ‘ <strong>Grammar as an Injectable: A Trojan Horse to NLP Natural Language Processing’.</strong> I hope you’re not disappointed by a simple linear regression. But that’s all it takes to show that temperatures are rising. Yet people don’t believe.</p><pre># 1) Filter for Sahara Desert and exclude 2024<br>city = &#39;Sahara Desert (Tamanrasset, Algeria)&#39;<br>df = (<br>    climate_df<br>    .loc[climate_df[&#39;City&#39;] == city]<br>    .set_index(&#39;Date&#39;)<br>    .sort_index()<br>)<br># 2) Compute annual mean &amp; anomaly<br>annual = df[&#39;T2M&#39;].resample(&#39;Y&#39;).mean()<br>baseline = annual.mean()<br>anomaly = annual - baseline<br># 3) 5-year rolling mean<br>roll5 = anomaly.rolling(window=5, center=True, min_periods=3).mean()<br># 4) Linear trend<br>years = anomaly.index.year<br>slope, intercept = np.polyfit(years, anomaly.values, 1)<br>trend = slope * years + intercept<br># 5) Plot<br>plt.figure(figsize=(10, 6))<br>plt.bar(years, anomaly, color=&#39;lightgray&#39;, label=&#39;Annual Anomaly&#39;)<br>plt.plot(years, roll5, color=&#39;C0&#39;, linewidth=2, label=&#39;5-yr Rolling Mean&#39;)<br>plt.plot(years, trend, color=&#39;C3&#39;, linestyle=&#39;--&#39;, linewidth=2,<br>         label=f&#39;Trend: {slope:.3f}°C/yr&#39;)<br>plt.axhline(0, color=&#39;k&#39;, linewidth=0.8, alpha=0.6)<br>plt.xlabel(&#39;Year&#39;)<br>plt.ylabel(&#39;Temperature Anomaly (°C)&#39;)<br>plt.title(f&#39;{city} Annual Temperature Anomaly&#39;)<br>plt.legend()<br>plt.grid(alpha=0.3)<br>plt.tight_layout()<br>plt.show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/790/1*znyMsGLppjd8JsC1Cekp6w.png" /></figure><p>The Sahara is getting hotter by 0.03°C per year. That’s the hottest desert in the world. We can even check every location we picked and see that not a single one has a negative trend.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/753/1*lwemLsw81CRs11FEVZiSBQ.png" /></figure><p>So yes, Temperatures are rising.</p><h3>The forest for the trees</h3><p>A major reason NASA makes this data open source is to combat the effects of Climate Change. We’ve mentioned modelling crop yields, renewable energy, and sustainable building compliance. However, there are additional ways data can be utilized to address climate change in a scientific and mathematically grounded manner. If you’re interested in this topic, this video by Luis Seco covers things I did not get to address in this article, like</p><ul><li>The carbon trade and the price of carbon</li><li>Predictive biomass tool optimizing tree planting</li><li>Safe drinking water in Kenya</li><li>The socioeconomic costs of emissions</li><li>Controlled burning of forests</li></ul><p>I hope you will join me on this journey. In the next episode, we will discuss how <strong>differential equations</strong> have been used to model climate. And while much is being done to address climate change, the earlier list of effects was not exhaustive.</p><ul><li>Melting ice sheets destabilize global climate regulation and accelerate sea-level rise.</li><li>Climate-related damages cripple economies through escalating infrastructure and health costs.</li><li>Rising numbers of climate refugees strain borders and fuel geopolitical instability.</li><li>Coastal cities face submersion as seas rise relentlessly</li><li>Extreme weather events shatter records, displacing millions.</li></ul><p>But there’s noise, and there’s signal, and they can be separated.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6lyJzFDZ2V6Yeyqd.png" /></figure><p>My Next Article:</p><p>Tallarico, M. H. (2025, July 29). Physics-informed neural networks for inverse PDE problems: Solving the heat equation using DeepXDE. Towards Data Science. <a href="https://towardsdatascience.com/physics-informed-neural-networks-for-inverse-pde-problems/">Link</a>. <a href="https://scholar.google.com/citations?view_op=view_citation&amp;hl=en&amp;user=uCZbo_kAAAAJ&amp;citation_for_view=uCZbo_kAAAAJ:d1gkVwhDpl0C">Google Scholar</a>.</p><p>My Previous Article:</p><p>Tallarico, M. H. (2025, June 2). Grammar as an injectable: A Trojan horse to NLP: How machines make sense of sentence structure: Combinatory Categorial Grammar. Towards Data Science. <a href="https://towardsdatascience.com/grammar-as-a-trojan-horse-to-nlp-and-computer-science/">Link</a>. <a href="https://scholar.google.com/citations?view_op=view_citation&amp;hl=en&amp;user=uCZbo_kAAAAJ&amp;citation_for_view=uCZbo_kAAAAJ:zYLM7Y9cAGgC">Google Scholar</a>.</p><p>NASA Climate Data on GitHub:</p><p><a href="https://github.com/marco-hening-tallarico/Nasa-Climate-Data">https://github.com/marco-hening-tallarico/Nasa-Climate-Data</a></p><p>Code on GitHub:</p><p><a href="https://github.com/marco-hening-tallarico/How-to-Access-NASA-s-Climate-Data-And-How-It-s-Powering-the-Fight-Against-Climate-Change-Pt.-1">https://github.com/marco-hening-tallarico/How-to-Access-NASA-s-Climate-Data-And-How-It-s-Powering-the-Fight-Against-Climate-Change-Pt.-1</a></p><h3>Sources</h3><ul><li>Climate change impacts | National Oceanic and Atmospheric Administration. (n.d.). <a href="https://www.noaa.gov/education/resource-collections/climate/climate-change-impacts">https://www.noaa.gov/education/resource-collections/climate/climate-change-impacts</a></li><li>Freedman, A. (2025, June 23). <em>Heat waves are getting more dangerous with climate change — and we may still be underestimating them</em>. CNN. <a href="https://www.cnn.com/2025/06/23/climate/heat-wave-global-warming-links">https://www.cnn.com/2025/06/23/climate/heat-wave-global-warming-links</a></li><li><em>Global climate predictions show temperatures expected to remain at or near record levels in coming 5 years</em>. World Meteorological Organization. (2025, May 26). <a href="https://wmo.int/news/media-centre/global-climate-predictions-show-temperatures-expected-remain-or-near-record-levels-coming-5-years">https://wmo.int/news/media-centre/global-climate-predictions-show-temperatures-expected-remain-or-near-record-levels-coming-5-years</a></li><li><em>Global warming has begun, expert tells Senate (published 1988)</em>. The New York Times. (1988, June 24). <a href="https://web.archive.org/web/20201202103915/https:/www.nytimes.com/1988/06/24/us/global-warming-has-begun-expert-tells-senate.html">https://web.archive.org/web/20201202103915/https:/www.nytimes.com/1988/06/24/us/global-warming-has-begun-expert-tells-senate.html</a></li><li>NASA. (n.d.). <em>NASA LARC POWER Project</em>. NASA. <a href="https://power.larc.nasa.gov/">https://power.larc.nasa.gov/</a></li><li>Wall, M. (2025, June 20). <em>Blue Origin to launch 6 people to Suborbital Space June 29 after weather delay</em>. Space. <a href="https://www.space.com/space-exploration/private-spaceflight/watch-blue-origin-launch-6-people-to-suborbital-space-on-june-21">https://www.space.com/space-exploration/private-spaceflight/watch-blue-origin-launch-6-people-to-suborbital-space-on-june-21</a></li></ul><p><a href="https://marcoheningtallarico.com/">Website</a> | <a href="https://www.linkedin.com/in/marco-hening-tallarico/">LinkedIn</a> | <a href="https://github.com/marco-hening-tallarico?tab=repositories">GitHub</a></p><p>You can also download it from my GitHub <a href="https://github.com/marco-hening-tallarico/Nasa-Climate-Data">LINK</a></p><p><em>Originally published at </em><a href="https://towardsdatascience.com/how-to-access-nasas-climate-data-and-how-its-powering-the-fight-against-climate-change-pt-1/"><em>https://towardsdatascience.com</em></a><em> on July 1, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a9cec8e7b36f" width="1" height="1" alt=""><hr><p><a href="https://levelup.gitconnected.com/how-to-access-nasas-climate-data-a9cec8e7b36f">How to Access NASA’s Climate Data</a> was originally published in <a href="https://levelup.gitconnected.com/">Level Up Coding</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Submissions to the Silicate Suns]]></title>
            <link>https://medium.com/the-silicate-suns/submissions-to-the-silicate-suns-4add7df8b261?source=rss-a712ecb3ab76------2</link>
            <guid isPermaLink="false">https://medium.com/p/4add7df8b261</guid>
            <category><![CDATA[fiction-on-medium]]></category>
            <category><![CDATA[poets-on-medium]]></category>
            <category><![CDATA[writers-on-medium]]></category>
            <category><![CDATA[writer]]></category>
            <category><![CDATA[flash-fiction]]></category>
            <dc:creator><![CDATA[Marco Hening Tallarico]]></dc:creator>
            <pubDate>Mon, 23 Feb 2026 16:43:20 GMT</pubDate>
            <atom:updated>2026-02-23T16:43:20.302Z</atom:updated>
            <content:encoded><![CDATA[<h4>Publishing Poetry and Flash Fiction</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fM5fA08-eLH9J36DqQ_reA.jpeg" /></figure><p>Please send an email title “I want to write for the Silicate Suns” to marcohtallarico@gmail.com with an unpublished draft, and I will add you to the publication if it meets our quality standards.</p><p>Please keep any self-promotion to two lines as such:</p><p><a href="https://marcoheningtallarico.com/">Website</a> | <a href="https://www.linkedin.com/in/marco-hening-tallarico/">LinkedIn</a> | <a href="https://github.com/marco-hening-tallarico?tab=repositories">GitHub</a> | <a href="https://www.instagram.com/marco.hening.tallarico/">Instagram</a></p><p><a href="https://scholar.google.com/citations?user=uCZbo_kAAAAJ&amp;hl=en">Google Scholar</a> | <a href="https://towardsdatascience.com/author/marco-heningtallarico/">TDS</a> | <a href="https://www.risklab.ca/marco-hening-tallarico/">RiskLab</a> | <a href="https://x.com/marcohtallarico">Twitter</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4add7df8b261" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-silicate-suns/submissions-to-the-silicate-suns-4add7df8b261">Submissions to the Silicate Suns</a> was originally published in <a href="https://medium.com/the-silicate-suns">the Silicate Suns</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ulysses’ Lotus Eaters]]></title>
            <link>https://medium.com/never-stop-writing/ulysses-lotus-eaters-b5300d0170d7?source=rss-a712ecb3ab76------2</link>
            <guid isPermaLink="false">https://medium.com/p/b5300d0170d7</guid>
            <category><![CDATA[history]]></category>
            <category><![CDATA[poems-on-medium]]></category>
            <category><![CDATA[odyssey]]></category>
            <category><![CDATA[painting]]></category>
            <category><![CDATA[poetry]]></category>
            <dc:creator><![CDATA[Marco Hening Tallarico]]></dc:creator>
            <pubDate>Sun, 22 Feb 2026 16:03:36 GMT</pubDate>
            <atom:updated>2026-02-22T16:03:36.844Z</atom:updated>
            <content:encoded><![CDATA[<h4>A poem</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*YtSmXFzFU2Y8PbGQNsch4g.jpeg" /><figcaption>William Etty’s <em>The Sirens and Ulysses, </em>1837</figcaption></figure><p>Miss by miss<br>I know today two records skipped<br>Wind-chaing <br>Lotus-eating<br>A sybaritic life<br>Can fall to muted notes</p><blockquote>In The Odyssey, Homer describes the Lotus-Eaters as people whose lotus makes travelers forget their home and lose the desire to return. Today, “lotus-eating” means slipping into comfortable pleasure or distraction that numbs your ambition and keeps you from moving forward.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b5300d0170d7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/never-stop-writing/ulysses-lotus-eaters-b5300d0170d7">Ulysses’ Lotus Eaters</a> was originally published in <a href="https://medium.com/never-stop-writing">Never Stop Writing</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Country Road]]></title>
            <link>https://medium.com/illumination/country-road-c23f65241e0b?source=rss-a712ecb3ab76------2</link>
            <guid isPermaLink="false">https://medium.com/p/c23f65241e0b</guid>
            <category><![CDATA[poetry]]></category>
            <category><![CDATA[poems-on-medium]]></category>
            <category><![CDATA[poetry-on-medium]]></category>
            <category><![CDATA[poems-and-stories]]></category>
            <dc:creator><![CDATA[Marco Hening Tallarico]]></dc:creator>
            <pubDate>Sun, 22 Feb 2026 01:02:40 GMT</pubDate>
            <atom:updated>2026-02-22T11:00:46.477Z</atom:updated>
            <content:encoded><![CDATA[<h4>A poem</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oZHxoTHs6IldAQRowqAsHw.jpeg" /><figcaption>Aert van der Neer, Moonlit Landscape With Bridge. Souce: <a href="https://commons.wikimedia.org/wiki/File:Van_der_Neer_-_Moonlit_Landscape_with_Bridge.jpg">Wikipedia Commons</a></figcaption></figure><p>Streets<br>Like splitting streams from a cigarette<br>Coughing up smoke, you<br>Talk of north in an ash bowl</p><p>I remember a fragment<br>The nauseating geometry<br>A memory of a child<br>Driving due west<br>To realize you are south</p><p>Canopies can close in<br>And blot out the sun<br>Marcescents hold rope<br>The swing of a childhood</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c23f65241e0b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/illumination/country-road-c23f65241e0b">Country Road</a> was originally published in <a href="https://medium.com/illumination">ILLUMINATION</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Presentiments Past]]></title>
            <link>https://medium.com/illumination/presentiments-past-4bc337d26b1d?source=rss-a712ecb3ab76------2</link>
            <guid isPermaLink="false">https://medium.com/p/4bc337d26b1d</guid>
            <category><![CDATA[poetry-on-medium]]></category>
            <category><![CDATA[poems-on-medium]]></category>
            <category><![CDATA[poetry]]></category>
            <category><![CDATA[poem]]></category>
            <dc:creator><![CDATA[Marco Hening Tallarico]]></dc:creator>
            <pubDate>Thu, 19 Feb 2026 00:41:45 GMT</pubDate>
            <atom:updated>2026-02-19T00:41:45.023Z</atom:updated>
            <content:encoded><![CDATA[<h4>A Poem</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5QeNK0o0E3HSuf6tPfV_jQ.jpeg" /><figcaption>Picture my Author</figcaption></figure><pre>Chiasmic dreams sometimes repeat <br>      Only in old life <br>Then in old life you&#39;re free to love <br>The dream you never knew <br>As beautiful as a cross <br>As sweet as desert rain<br>Chimeric as the time, but<br>The wind could chime, and<br>Stones could float<br>      On draining seas <br>Mistakes could lead to yellow fields<br>      But I warn<br>      Presentiments past<br>Life is like a very bell</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4bc337d26b1d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/illumination/presentiments-past-4bc337d26b1d">Presentiments Past</a> was originally published in <a href="https://medium.com/illumination">ILLUMINATION</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Swiming Thoughts]]></title>
            <link>https://medium.com/never-stop-writing/swiming-thoughts-51f09d483937?source=rss-a712ecb3ab76------2</link>
            <guid isPermaLink="false">https://medium.com/p/51f09d483937</guid>
            <category><![CDATA[poetry-writing]]></category>
            <category><![CDATA[poetry-on-medium]]></category>
            <category><![CDATA[poem]]></category>
            <category><![CDATA[poetry]]></category>
            <dc:creator><![CDATA[Marco Hening Tallarico]]></dc:creator>
            <pubDate>Mon, 16 Feb 2026 19:11:43 GMT</pubDate>
            <atom:updated>2026-02-21T21:50:24.001Z</atom:updated>
            <content:encoded><![CDATA[<h3>Swimming Thoughts</h3><h4>A poem</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-WPrbSiFSvQxZex1" /><figcaption>Photo by <a href="https://unsplash.com/@toddquackenbush?utm_source=medium&amp;utm_medium=referral">Todd Quackenbush</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Sandbar far from shore<br>Is quick to disappear<br>Leaving you astray</p><p>Reeded ocean mouth<br>Could drink a million lives<br>Could swim right through your veins</p><p>But the concertina wire of a mouth<br>Bitting in the dark<br>Pushing into lungs</p><p>I’d love to touch the sand</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=51f09d483937" width="1" height="1" alt=""><hr><p><a href="https://medium.com/never-stop-writing/swiming-thoughts-51f09d483937">Swiming Thoughts</a> was originally published in <a href="https://medium.com/never-stop-writing">Never Stop Writing</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Two Years in Data Science]]></title>
            <link>https://medium.com/illumination/two-years-in-data-science-2c7d5b78021a?source=rss-a712ecb3ab76------2</link>
            <guid isPermaLink="false">https://medium.com/p/2c7d5b78021a</guid>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Marco Hening Tallarico]]></dc:creator>
            <pubDate>Sat, 14 Feb 2026 17:22:58 GMT</pubDate>
            <atom:updated>2026-02-14T17:22:58.750Z</atom:updated>
            <content:encoded><![CDATA[<h4>18 lessons, 9 publications, 4 minutes.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qEAazb5Vgnf41V8Ck67mOw.jpeg" /><figcaption><em>Pinhão</em> tree, scientifically known as <strong>Araucaria angustifolia</strong>, or Parana pine, is a critically endangered tree. Picture by Author.</figcaption></figure><p>Over the past two years, I have started my master&#39;s, completed my thesis, published a research paper, got cited, published in Towards Data Science, Towards AI, and AI Advances, started working at RiskLab, and I’m currently working on a secret project.</p><p>This is some of what I’ve learned. I’ve tried to condense these as much as possible. 18 lessons, 9 publications, 4 minutes.</p><h4>One</h4><p>In multiple-hypothesis testing, pick your p-value correction based on your risk tolerance.</p><ul><li>Want to admit no False Positives, more strict, leads to more false negatives → Bonferroni Correction.</li><li>Okay with some False Positives, less strict, leads to fewer false negatives → Benjamini-Hochberg.</li></ul><p><a href="https://towardsdatascience.com/the-time-10-99-was-too-big-superheavy-elements-and-deceit/">Bonferroni vs. Benjamini-Hochberg: Choosing Your P-Value Correction | Towards Data Science</a></p><h4>Two</h4><ul><li>Temperature data can be highly heteroskedastic: volatility changes over time, making the GARCH family of models suitable.</li><li>Models that account for changing volatility include Markov-switching models, Dynamic Linear Models, HAR-RV, ARFIMA, and Stochastic Volatility (SV) models.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sMMH2CJCZ8lKK3uOF8s5Mg.png" /><figcaption>Illustration by Author</figcaption></figure><ul><li>Log-stabilizing error terms ensure your model doesn&#39;t learn mostly from a few bad days.</li><li>Log stabilization can make estimates of volatility σ(t) more robust, but it may also introduce bias.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ySUjZ7wwrBXE-0fw.png" /><figcaption>Illustration by Author</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Cn1_OYlATG0WcvgXWJKSAA.png" /><figcaption>Illustration by Author</figcaption></figure><p><a href="https://towardsdatascience.com/stochastic-differential-equations-and-temperature-nasa-climate-data-pt-2/">Stochastic Differential Equations and Temperature - NASA Climate Data pt. 2 | Towards Data Science</a></p><h4>Three</h4><ul><li>Physics-informed deep learning is particularly good at estimating coefficients in partial differential equations. This is known as the inverse problem.</li><li>PINNs can address both forward and inverse problems and are particularly useful in data-scarce scenarios, such as inside a reactor.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/702/1*EwCVWxnk1VF_P__kM_0NMA.png" /><figcaption>Illustration by Author</figcaption></figure><p><a href="https://towardsdatascience.com/physics-informed-neural-networks-for-inverse-pde-problems/">Physics-Informed Neural Networks for Inverse PDE Problems | Towards Data Science</a></p><h4>Four</h4><ul><li>You <em>can</em> nest DataFrames, but in practice it’s usually cleaner (and faster) to keep a dict/list of DataFrames or use a MultiIndex.</li><li>NASA has open-source climate data. It’s also on my <a href="https://github.com/marco-hening-tallarico/Nasa-Climate-Data">GitHub</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/778/1*w6NmwPIGjYrem8rOoL79mQ.png" /><figcaption>Image by author</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9_ioLlrstTPsbHCTG_Cucw.png" /><figcaption>Image by Author</figcaption></figure><p><a href="https://towardsdatascience.com/how-to-access-nasas-climate-data-and-how-its-powering-the-fight-against-climate-change-pt-1/">How to Access NASA&#39;s Climate Data - And How It&#39;s Powering the Fight Against Climate Change Pt. 1 | Towards Data Science</a></p><h4>Five</h4><ul><li>It’s computationally more costly to parse Swiss-German because of cross-serial dependencies; this puts parsing it higher up on the Chomsky hierarchy, so you need a more expressive (mildly context-sensitive) grammar to capture it cleanly.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*9yzXAVURqT8CpFq885zKYw.png" /><figcaption>Wikipedia commons, open source</figcaption></figure><p><a href="https://towardsdatascience.com/grammar-as-a-trojan-horse-to-nlp-and-computer-science/">Grammar as an Injectable: A Trojan Horse to NLP | Towards Data Science</a></p><h4>Six</h4><ul><li>When you’re making a predictive model, consider where your data will be at the time of prediction. You can’t use black-box data to predict plane crashes.</li><li>Don’t trust aggregates. They could be computed using data in the testing set.</li></ul><p><a href="https://towardsdatascience.com/will-you-spot-the-leaks-a-data-science-challenge/">Will You Spot the Leaks? A Data Science Challenge | Towards Data Science</a></p><h4>Seven</h4><ul><li>Generative adversarial networks (GANs) use an L1/MAE reconstruction loss that targets the conditional median, which discourages averaging across multiple plausible outputs (the “mean” effect of L2/MSE), thereby reducing image blur.</li><li>L∞ is the absolute value of largerst element in a vector, this way to measure distance.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_HVAEBVJBZ6uDzqc8HHOsQ.png" /><figcaption>Image by Author</figcaption></figure><p><a href="https://towardsdatascience.com/from-a-point-to-l%e2%88%9e/">From a Point to L∞: How to Abstract Distance | Towards Data Science</a></p><h4>Eight</h4><ul><li>Feeding data with a very low signal-to-noise ratio can increase your model&#39;s volatility without any performance gain.</li><li>Selecting only the S&amp;P500 stocks that survive to the present day introduces significant selection bias and results in data leakage.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PtgCoD8ls8Q82EZiGqfltQ.jpeg" /><figcaption>Image by Author</figcaption></figure><p>medium.com/ai-advances/storm-or-signal-a-trading-agent-showdown-5f3d662b2cef</p><h4>Nine</h4><ul><li>You can use a CNN to estimate the parameters of any distribution by simulating data from it and treating the chosen parameters as a supervised task.</li></ul><p><a href="https://arxiv.org/abs/2411.12013">Neural and Time-Series Approaches for Pricing Weather Derivatives: Performance and Regime Adaptation Using Satellite Data</a></p><blockquote>The end.</blockquote><p><a href="https://marcoheningtallarico.com/">Website</a> | <a href="https://www.linkedin.com/in/marco-hening-tallarico/">LinkedIn</a> | <a href="https://github.com/marco-hening-tallarico?tab=repositories">GitHub</a> | <a href="https://www.risklab.ca/marco-hening-tallarico/">RiskLab</a> | <a href="https://scholar.google.com/citations?user=uCZbo_kAAAAJ&amp;hl=en">Google Scholar</a> | <a href="https://www.instagram.com/marco.hening.tallarico/">Instagram</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2c7d5b78021a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/illumination/two-years-in-data-science-2c7d5b78021a">Two Years in Data Science</a> was originally published in <a href="https://medium.com/illumination">ILLUMINATION</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Second Self]]></title>
            <link>https://medium.com/illumination/second-self-bf2d141e4493?source=rss-a712ecb3ab76------2</link>
            <guid isPermaLink="false">https://medium.com/p/bf2d141e4493</guid>
            <category><![CDATA[flash-fiction]]></category>
            <category><![CDATA[relationships]]></category>
            <category><![CDATA[fiction]]></category>
            <category><![CDATA[writing]]></category>
            <category><![CDATA[college]]></category>
            <dc:creator><![CDATA[Marco Hening Tallarico]]></dc:creator>
            <pubDate>Wed, 11 Feb 2026 19:14:36 GMT</pubDate>
            <atom:updated>2026-02-14T20:31:25.351Z</atom:updated>
            <content:encoded><![CDATA[<h4>keeping up with the other you.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DNYaChFckb7znMfBIK6-8w.png" /><figcaption>Image by Author</figcaption></figure><p>My name is Everett, and before leaving for Vancouver, I received some advice from my editor that would change my life. Walking into his office, a little box with stained glass and a velvet rug. A woman walked out in a rush; there had clearly been an argument. There were papers strewn on the leather chair and on the floor. It was a mess. Alanzo looked embarrassed. He said, “Everett, never, I mean <em>never</em>, listen to a reader&#39;s opinion.”</p><p>Looking back, I can’t help but realize this had nothing to do with the present circumstance, just an attempt to save face. Of course, in this business, reputation is everything. I know that too well. “I mean, <em>really</em>,” He fumbled for words, finally finding his footing: “Some readers have all sorts of advice because they’ve watched a bunch of movies, read a bunch of books, even listened to some reviews on YouTube…. and they think they know.” He let go of the papers. “They don’t, just a bunch of armchair quarterbacks.”</p><p>I wanted to ask, “Divorce?” but I knew not to. That’s something altogether disjoint from intelligence. But nowadays, my opinion couldn&#39;t be more opposed. I’d never imagined I would ever be so fortunate to have a reader, never mind an advice-giving reader. But it just so happened that some weeks ago, at the start of my PhD, Anderson Gaads said, “Do you know what <em>I</em> think about your writing?” as he was sitting down.</p><p>I didn’t say anything.</p><p>I can tell when someone’s gonna give bad advice. Adeep inhale like ‘sorry’, the head tilt like ‘it’s for your own good’, ‘it’s gonna hurt me more than you’, Such charity, I never cared for. And I’d heard the saying just last month, so I really couldn’t help it.</p><p>“Do you know what an armchair quarterback is?” He didn&#39;t. The class was about to start.</p><p>“Well…” I said, “It’s when someone doesn’t actually <em>do it</em> but has a bunch of advice on <em>how</em> to do it.” Maybe this was crossing a line. The professor had walked in at that moment, and a bit louder, Anderson said, “Oh, so you’re saying I <em>don’t</em> actually <em>do it</em>?”</p><p>“Do you write?” I asked. “That’s what we were talking about.” I clarified, embarrassed.</p><p>He waved me off and looked up stoically. I thought that would be the end of it. Cut up to some awkwardness, a quick back and forth, left to settle by the new day. And of course, there was a double meaning behind it, and of course, he hadn’t done it. But I couldn’t have imagined just how motivated some people can be.</p><p>The next day, I overheard him having one of those tangential conversations people have that’s really for your ‘benefit’.</p><p>“I don’t know,” said Anderson, “I just think it&#39;s unprofessional to <em>not</em> listen to people becuase there not having sex. Don’t you think?” I thought it was a little on the nose, a little awkward, so much effort to unveil an innuendo.</p><p>I couldn’t imagine what Anderson had told Ian to get him on his side, but some people just flip a coin. Ian said, “Oh ya, my dad always told me you should listen to <em>everyone’s</em> advice,” and glanced at me.</p><p>This fell flat, but it was said with such intent I couldn&#39;t ignore it. He was in the PhD program. “If you’re supposed to hear <em>everyone&#39;s</em> advice, then I think you’d be out of a job. You listen to the experts. Shouldn&#39;t that be your position? But then again… what would you know about positions?”</p><p>I thought this was a little jab. It was ridiculous. To me, this seemed like a silly little feud. Looking back on the trouble he caused, I can’t help but rejoice in the writhing hatred he must have felt, to me, at the time, invisible.</p><p>My mind was on Pam, where we would go, and what we could do, what we could talk about. Espresso at Mercurio? But she didn’t like coffee. What’s it like in Vietnam? No, what a lame question. Where have you been in Toronto? What else could I say? The fear of silence leads only to cliché. Also, with the pressure of the new semester, I could not help but fall into an old habit that I certainly could not afford. A week later. I was pacing in my room, entangled by a conversation that didn’t seem real:</p><p>Felipe: “He lied about being disabled to get into the program.”</p><p>Ji-sung: “Are you sure?”</p><p>Felipe: “Well, I asked him, and he said ‘he’s <em>not schizophrenic</em>. Didn’t you study this? Aren’t there signs?”</p><p>Ji-sung: “If there are, he doesn&#39;t have <em>any!</em>”</p><p>This is in a graduate statistics class, between a professor and a student. The quick glance, the sudden exclamation directed at me, but so briefly before he walked out of the class. I couldn’t help but feel like it was about me. I couldn’t believe it. I had to confirm. To know when to check what people think of you, isn’t that an instinct? Triggered by what? the pilling of stick, the smell of flint?</p><p>I asked Evan, “Was this about me?” just silence. Then Ian said, “What happened?”</p><p>Over a week, I noticed sudden shifts, cold withdrawal, the pity in Pam&#39;s voice when she asked, ‘How are you?’, the sudden silence between us.</p><p>Then the talking behind my back started. In Applied Statistics conversations about me, talks of ice cream parlours I’d been to in high school. Phone calls, including names of relatives, talks of deceased family members, I had that, oh, they did too, what a coincidence. Talk of dark-haired, green-eyed, in statistics, crazy, but certainly not me? It was incredible how many people he’d managed to tangle up in this little game. People I’d never even talked to, Felipe, Ian. For what? Trying to check? That was the excuse I thought they would give. Cut to today, it’s “I didn’t know”, “I just thought it was funny.” “I’m so sorry”, still laughing.</p><p>But at the time, I only had a vague feeling that rumour was spreading, that I was schizophrenic, or that my publications were stolen, that I was a sham, a liar. Intricate questions, on the p-value corrections of a study I did years ago.</p><p>I messaged Pam, but she wouldn’t respond. I don’t know what business it was to anyone, if it was schizophrenic or not. It really takes a genius to mistake that for water-cooler talk.</p><p>Down the hall, I’d look behind my back, at the strange mention of the restaurant I’d been to just two days ago. Then Anderson “No! No! We’re not talking about him! Is he still looking at us?” Then so casually, “Hey Everett.” Back to cool, “Did you see the groundhogs?”</p><p>Then the next class, Evan would quietly narrate where I was looking in the room and my movements. “He’s picking up the pen. He’s thinking…” It’s so strange confronting people you don’t even know.</p><p>Even Ben Berger. In our few interactions, he’d made sure to point out that he was <em>older</em> than us, a dad, and excited to have a daughter. That’s what he told everyone. It feels strange repeating it. At 25, I wouldn’t go around trying to give people delusions to fit in. I couldn&#39;t imagine a 45-year-old man doing so, with so much joy at finally being included. One day in class, I had enough.</p><p>“Are you guys talking about me?” I asked. Ben put a sympathetic hand on my shoulder as if to say, you kind of deserve this. And then he tried to walk away.”</p><p>“No! I mean, <em>really</em>, have you been going around the past couple of weeks, what? trying to simulate what it’s like to have schizophrenia? He turned around with a smirk and said, “They told me what you did.” He tried to walk out, shaking his head.</p><p>I was angry, I said, “Do you realize how that could make it hard for a person with schizophrenia to control their medication?”</p><p>He turned around lauging. “Oh, what? You’re gonna lose control, go <em>crazy</em>!”</p><p>“They take medications based on delusional symptoms. If you pretend like it’s happening. How? Some of them already have a hard time distinguings whats real from what&#39;s not.”</p><p>“So you really <em>are</em> schizophrenic!” Zero remorse, a little joy.</p><p>It was such a clever little gambit; either I tell them I’m schizophrenic, and they tell the entire department. Or I tell them I’m not, and they keep whispering behind my back.</p><p>I guess, from their point of view, they formed a little Justice League around it. Because, of course, they <em>had</em> to do something, I might be stealing a spot from a <em>real</em> disabled person. Which, of course, they cared so much about.</p><p>I just walked out. I didn’t know what to say. I barely even knew them, but they seemed like such experts on it.</p><p>The next day, I came into the office looking for Pam. I walked by Ben Berger’s desk, and I overheard him talking to Jonah, completely avoiding eye contact with me. “Ya, I told her… I’m about to have a daughter, can you imagine…dating<em> that. </em>Yikes.”</p><p>“I told everybody!” Still looking at Jonah, he made some silly faces like he was also going crazy. Then looking at me like he didn’t even see me there. “Oh, hi Everett.”</p><p>During the class I TA’d, I had one of Ji-sung&#39;s graduate students follow me into my classroom, wearing a hoodie that covered his face. I wanted to ask Ji-sung if he’d sent his student to spy on me, to make it feel like I was being followed. I caught him during office hours. I’d also recently been to the ER, and I wanted to tell him that I wouldn’t be able to write the midterm. He was incredibly upset.</p><p>“Office hours are supposed to be for teaching. It’s not fair to the other students, who come here to learn about probability<em>.</em>” I tried to email him to talk about this, to see if he’d also notice this going on, but I got the following response, maybe copied and pasted from his notes app:</p><p><em>“I think that you and I should stick to the usual teaching-student interactions and should not meet for coffee. The reason is that I have to treat all students the same, so if I went for coffee with you, then I would have to go for coffee with every student. So, let’s just stick to our teaching-student interactions. Fair enough?”</em></p><p>Of course, he’d published a book in the 70s and gone to Yale, he was in the Canadian Mining Hall of Fame, so he was department-famous, maybe even Ontario-famous, so I gave up on it.</p><p>I messaged Pam again, but still nothing. I’ve become a ghost. Maybe somewhere, out there, another version of me, a second self, propelled their minds at work, another fiction in my own respect. All experts in their own right, Anderson Gaads, Evan Shimoff, Ben, Ian, Kaileb, Johna, Philp, or Felipe. I can’t even remember.</p><p>All I know is I never lied to get into any program, and I am not schizophrenic. But I gave up, I didn’t have time, and by the next semester, it had settled.</p><p>I was honestly unsure if this did happen or not. I don’t have time for gossip. But it was only yesterday I was in Allard Hall, and they have this room with blackboards on the ceiling, and I said, “The handyman might’ve been dyslexic.” An awkward silence, as I’d gone too far. Then Ian “Ya, either that or he was having <em>delusions</em>.”</p><p><a href="https://medium.com/u/560fd9ef9973">Debra G. Harman, MEd. Writer | Editor | Teacher</a></p><p><a href="https://medium.com/u/47a42cae4df6">Darren Weir</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bf2d141e4493" width="1" height="1" alt=""><hr><p><a href="https://medium.com/illumination/second-self-bf2d141e4493">Second Self</a> was originally published in <a href="https://medium.com/illumination">ILLUMINATION</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>