<?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 Derya Gumustel on Medium]]></title>
        <description><![CDATA[Stories by Derya Gumustel on Medium]]></description>
        <link>https://medium.com/@deryagumustel?source=rss-600ae2752310------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*YSkj6OAPJDkLHDj-gqloXA.jpeg</url>
            <title>Stories by Derya Gumustel on Medium</title>
            <link>https://medium.com/@deryagumustel?source=rss-600ae2752310------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 02:44:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@deryagumustel/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[Data Shows How Coastal Upwelling Affects Sea Surface Temperature in Oregon]]></title>
            <link>https://medium.com/geekculture/data-shows-how-coastal-upwelling-affects-sea-surface-temperature-in-oregon-30761986eec9?source=rss-600ae2752310------2</link>
            <guid isPermaLink="false">https://medium.com/p/30761986eec9</guid>
            <category><![CDATA[oceans]]></category>
            <category><![CDATA[oceanography]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[data]]></category>
            <dc:creator><![CDATA[Derya Gumustel]]></dc:creator>
            <pubDate>Wed, 09 Jun 2021 22:32:03 GMT</pubDate>
            <atom:updated>2021-06-09T22:32:03.936Z</atom:updated>
            <content:encoded><![CDATA[<h4>Data Science Capstone Project Series</h4><h4>Capstone Series Part 2: Sea Surface Data Analysis</h4><p>If you’ve ever poured cold milk into a steaming hot cup of coffee or tea before, you’ve probably noticed that the milk sinks straight to the bottom before it starts mixing in. Despite being much more enormous than your cup of coffee, the oceans are structured in much the same way: <strong>cold seawater sinks to the bottom</strong>, where it may spend centuries slinking around the seafloor as a deep ocean current before it finally resurfaces. This post is going to be all about ocean temperatures, so here’s a global snapshot of sea surface temperatures to help you start generating some questions:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fzQnYtBiT105jySqHreK8Q.png" /><figcaption>Monthly averaged sea surface temperature of the globe in March 2021, collected by the <a href="https://neo.sci.gsfc.nasa.gov/view.php?datasetId=MYD28M">NASA Aqua/MODIS satellite</a>. The white areas are landmasses, ice, and cloud cover, and the colored areas are sea surface temperatures. Yellow is warmer, and blue is colder.</figcaption></figure><p>Keeping to the coffee analogy, when you blow on your coffee to cool it down, your breath pushes the surface of the drink away from you, and more liquid moves in from the sides and bottom to replace it. This, too, happens in the oceans! When the wind blows in just the right direction along a coastline, surface water gets pushed away from shore, and deep ocean water moves up to replace. This is called <strong>coastal upwelling</strong>, and we can see it occurring in satellite imagery, like below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/864/1*7umovru600cbBcdodbs_UA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/864/1*FkgyrdgLwsEHS5NOqtkKJQ.png" /><figcaption>Monthly averaged sea surface temperature data off the coasts of Washington and Oregon collected by the <a href="https://neo.sci.gsfc.nasa.gov/view.php?datasetId=MYD28M&amp;year=2017">NASA Aqua/MODIS satellite</a>. The white area is the west coast of North America, and the colored area is the Pacific Ocean, colored according to its temperature (yellow is warmer, blue is colder). The white circle is the OOI Oregon Offshore site that I’m studying, and the red star is Yaquina Bay at Newport, OR.</figcaption></figure><p>These are maps of the sea surface temperature off the Oregon coast; the cyan circle is where one of the OOI sites I study is located (more on this next), and the red star is Yaquina Bay in Newport, OR. The white area represents the North American continent, and the colored region is the Pacific Ocean. The first panel is from April, when no upwelling is occurring. Notice how the seawater directly touching the coast has a similar temperature to the water further away from shore. The second panel shows how sea surface temperature changes under upwelling conditions in August: southward wind pushes surface water away from shore, and <strong>cold water from the deep sea moves up to replace it</strong>. As a result, the coast is lined with water that’s several degrees colder than the open-ocean temperatures — brrr! These two panels look so different because <strong>upwelling occurs seasonally on the Oregon coast</strong>, beginning in late spring and growing in strength and consistency throughout summer before tapering off again in the fall.</p><p>We can also detect coastal upwelling when sensors in the ocean record unseasonably cold seawater temperatures. For example, I’ve spent the last two months looking at seawater data from a site in the Ocean Observatories Initiative (OOI) Coastal Endurance array called the Oregon Offshore site (the cyan circle in the maps above), located about 40 miles west of Newport, OR (the red star in the maps above). This study site has a surface mooring (like a buoy) covered in sensors and electronics that gathers atmospheric and oceanographic data at the <strong>air-sea interface </strong>and transmits it back to researchers on land.</p><h4>Sea Surface Temperature</h4><p>Using that surface mooring data, we can plot sea surface temperature off the Oregon coast in 2017. I selected 2017 data to avoid any signals from the marine heatwave events of 2014 and 2019.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ezpJSFSGGYhUWlAOyYV1Vw.png" /><figcaption>Sea surface temperature off the coast of Oregon.</figcaption></figure><p>You can quickly observe that temperatures are cold in the winter, around 10–11° C, and warm up in the summer. This pattern isn’t surprising because it matches the typical Northern Hemisphere seasons. What you might notice next is how erratic the temperature is in the summer months, especially compared to how stable it was during the winter months. For example, in the middle of July, the sea surface water drops from a high of 17.5° C to below 11° C, as cold as the middle of January! My oceanographer brain looks at this plot and exclaims, “Upwelling!” but how do we know that upwelling is truly causing these cold spikes in temperature?</p><h4>Northward Wind Velocity</h4><p>Coastal upwelling of deep water is a <strong>wind-driven process</strong>, so we should consider wind speed and direction to explain some of the cold sea surface measurements. For that, we turn to the “air” half of that air-sea interface buoy. The graph here shows wind data in the north/south direction — values are positive when the wind blows to the north and negative when the wind blows to the south. I added a red horizontal line to make it easier to see which way the wind is blowing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*knSP1LiT1gUdRX8JR3yRxA.png" /><figcaption>Northward wind velocity from the Oregon Offshore METBK package. The red horizontal line sits at 0 (no northward or southward blowing wind), positive values represent northward blowing wind, negative values represent southward blowing wind.</figcaption></figure><p>You should note that there’s also seasonality in this data: the wind blows south more in the summer than in winter. Oceanographers know that <strong>southward blowing winds cause upwelling</strong> in this region, so we would expect this seasonality to match the trends we saw in the sea surface temperature data, and it does!</p><p>If we plot these two lines on top of each other and zoom in on the summer months, we can see days where cold spikes in the surface water directly follow strong southward gusts of wind.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ku__F5DyaMiKumLrt5G2TQ.png" /><figcaption>Sea surface temperatures are shown in blue (right y-axis), and northward wind velocities are shown in green (left y-axis). The red line represents a northward wind velocity of 0.</figcaption></figure><p>However, you might notice a lag between these trends. This is because even though northward wind velocity is a major driver of the process, it isn’t a perfect indicator of upwelling. To see whether there were favorable upwelling conditions on any given day in this region, we can check the <a href="https://oceanview.pfeg.noaa.gov/products/upwelling/cutibeuti">Coastal Upwelling Transport Index</a> or CUTI.</p><h4>Coastal Upwelling Transport Index (CUTI)</h4><p>This index value is unique to the west coast of North America and is calculated as the total volume of water movement caused by upwelling. Fortunately, the CUTI is straightforward to interpret: when it’s positive, there’s upwelling; when it’s negative, there’s downwelling. The greater the magnitude of the value, the greater the magnitude of the water transport. So if we view the sea surface temperature data in the context of the CUTI values, the alignment between them is much better than it was with the wind data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pGgxCnMvO5SQzjaium7z0g.png" /><figcaption>Top panel: sea surface temperature. Bottom panel: Coastal Upwelling Transport Index. Annual-scale trends are visible in both panels, and we can see short-lived upwelling events between May and November. The red box highlights one potential upwelling event: sustained positive CUTI values are aligned with a dramatic decrease in sea surface temperature.</figcaption></figure><p>In this plot, I hope you can see that when the CUTI (bottom panel) is a large positive value, the sea surface temperature (top panel) on the same day decreases sharply. I put a red box around one potential upwelling event, but if you look closely, you can spot similar ones in late May, late June, throughout July and August, and even into the fall!</p><p>This data analysis aimed to use this data to build a machine learning model that could identify upwelling based on environmental variables like sea surface temperature. Based on the plots you saw here, <strong>do you think a model could tell whether upwelling occurred on a certain day</strong>, looking only at seawater data from a couple of locations in the water column? Let me know what you think in the comments!</p><p>My short answer to that question is yes, and my long answer will come in a future post. However, using only two locations in the water column doesn’t show us the full picture, which is why I’ll discuss water column data collected by a shallow profiler in my next piece of writing.</p><p>If you want to read more about upwelling and my capstone project, you can read my previous blog post about <a href="https://medium.com/geekculture/classifying-coastal-upwelling-using-environmental-variables-8e648d909170">how strong winds carry water from the deep sea to the ocean’s surface</a> and all the cool sensors in the ocean that track this water movement. Then, check back soon for more data analysis and my model results. Thanks for reading!</p><p>I created all of the visuals in this post using Python; see GitHub for the <a href="https://github.com/dgumustel/blog_visualizations/blob/main/SST/modis-sst.ipynb">maps of sea surface temperature</a> and the <a href="https://github.com/dgumustel/coastal-upwelling/blob/main/notebooks/02_data_analysis_2017.ipynb">line plots of sea surface temperature, wind velocity, and CUTI data</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=30761986eec9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/geekculture/data-shows-how-coastal-upwelling-affects-sea-surface-temperature-in-oregon-30761986eec9">Data Shows How Coastal Upwelling Affects Sea Surface Temperature in Oregon</a> was originally published in <a href="https://medium.com/geekculture">Geek Culture</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Classifying Coastal Upwelling Using Environmental Variables]]></title>
            <link>https://medium.com/geekculture/classifying-coastal-upwelling-using-environmental-variables-8e648d909170?source=rss-600ae2752310------2</link>
            <guid isPermaLink="false">https://medium.com/p/8e648d909170</guid>
            <category><![CDATA[classification]]></category>
            <category><![CDATA[scikit-learn]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[oceanography]]></category>
            <dc:creator><![CDATA[Derya Gumustel]]></dc:creator>
            <pubDate>Mon, 24 May 2021 20:53:56 GMT</pubDate>
            <atom:updated>2021-06-01T06:39:19.732Z</atom:updated>
            <content:encoded><![CDATA[<h4>Data Science Capstone Project Series</h4><h4>Part 1: Project Design and Background</h4><p>This is the first part of a short series of posts where I plan to discuss the capstone project I recently completed for General Assembly’s Data Science Immersive program. I collaborated with members of the acoustics team from the University of Washington (UW) Applied Physics Lab to choose a project topic that could add value to the work of the UW ocean data science community. The goal of my capstone project was to build a model that could<strong> identify coastal upwelling using environmental variables</strong>, and I’ll be writing about the project design and background, the data analysis and findings, the models and results, and a lot of potential improvements! I love teaching people about the oceans, so I’m going to thoroughly explain the oceanography side of my project for all of you non-ocean folks. Still, it’ll help if you have a bit of a data science background when I begin discussing the model-building details. On that note, I hope you’re ready to dive in!</p><h3>Project Background</h3><p>As I said, my problem statement for this capstone was to build a model that could identify coastal upwelling using environmental variables. This project really had two conceptual halves: the oceanography side, where we use sensors, data, and physics to study natural processes in the oceans, and the data science side, where we collect and process data to create machine learning models to make predictions and infer relationships between our variables. In the case of my capstone, the oceanography side was all about focusing on signals of coastal upwelling in environmental variables, and the data science side was about focusing on a binary classification problem, i.e., building a model to identify whether upwelling occurred in a simple yes/no format.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/1*jkMzrVb7Uiyz-kFudzcvfQ.jpeg" /><figcaption>A photo of the Pacific that I took from the Birch Aquarium at Scripps Institution of Oceanography in California, 2020</figcaption></figure><p>To my readers who don’t know what coastal upwelling is, let me fill you in. Imagine that you’re standing on a sandy California beach on a bright, windy day. You’re looking at the Pacific Ocean and, more specifically, at the <a href="https://en.wikipedia.org/wiki/California_Current">California Current System</a>, which is famous in the oceanography scene for its <strong>strong upwelling of deep ocean water</strong>. When the wind blows to the South in this region, the surface water along the coast gets pushed away from the shore, and deep ocean water is pulled up to the surface to replace it — this is called upwelling. Downwelling describes the opposite — when the wind blows to the North in this system, the surface water is pushed towards shore until it can go no further and must move down toward the seafloor. The California coastline sees upwelling of deep water nearly year-round, while the coasts of Oregon and Washington swap between upwelling and downwelling seasonally when the winds change direction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/796/1*nuk6F3dm1bvO6-RvoHjdcw.jpeg" /><figcaption>Diagram from Karen Lewis’s presentation on <a href="https://slideplayer.com/slide/4279467/">Oceanic Circulation</a>, slide 49</figcaption></figure><p>Since upwelling is a wind-driven process, a scientist creating a forecasting model (trying to predict when upwelling will occur) would probably choose to use data describing the local wind velocity and weather patterns to make their predictions. However, my project is even simpler — trying to predict <strong>whether upwelling occurred</strong> by searching the water column for changes in <strong>seawater temperature and salinity</strong> that might have been produced by upwelling. But how do you tell if water that passes by a sensor in the ocean has been upwelled from the deep sea?</p><p>There are a lot of differences between surface water and deep water. In the oceans, different water bodies organize themselves according to density. Cold water is denser than warm water, and saltwater is denser than freshwater. The densest water sinks to the bottom, and the least dense water stays at the surface, so deep ocean water is colder and more saline than the surface water, and we can look for those differences in the data we collect. The image below shows satellite imagery of the California Current System around Monterey Bay, CA. In the left-hand panel, cold water (purple) has been upwelled at the coastline and has a significantly different temperature than surface water further offshore (red and orange). As I mentioned, deep water is more saline, so we can see a similar pattern in seawater salinity data. The deep ocean also doesn’t have direct access to the atmosphere, which means the amount of dissolved oxygen in deep water is very different from surface water.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lZrkwWRkVX6cd1vEEAAdag.png" /><figcaption>Source: <a href="https://www.researchgate.net/publication/239589926_Physical-biological_coupling_in_Monterey_Bay_California_Topographic_influences_on_phytoplankton_ecology">Physical-biological coupling in Monterey Bay, California: Topographic influences on phytoplankton ecology.</a></figcaption></figure><p>Now you understand coastal upwelling, but why should you care? Well, deep ocean water isn’t just cold and salty; it’s also full of <strong>nutrients,</strong> like nitrogen and phosphorous! When this nutrient-rich water is pulled to the surface, it becomes food for phytoplankton, reflected in the satellite imagery of chlorophyll concentrations in the right-hand panel above. Coastal upwelling isn’t unique to the California Current System and occurs along several other coastlines worldwide. In systems like Monterey Bay, upwelling can account for a large fraction of the local primary productivity, which feeds the rest of the food web (including us) so researchers study coastal processes like upwelling to best serve and inform their local and global coastal communities.</p><h3>Project Design</h3><p>To give you a better idea of the data I used for this project, imagine that you have a sensor floating around in the water column near the Oregon coast. It’s somewhere in the top 200 meters of the water column, measuring seawater temperature 24/7. Let’s say the temperature is consistently 15° C. One day, the wind starts blowing to the South, and the water temperature decreases until it reaches 8° C, leading you to say, “Hey, I think this water was upwelled from the deep sea!” Then you look up the upwelling index for that day — I used the <a href="https://oceanview.pfeg.noaa.gov/products/upwelling/cutibeuti">CUTI index</a>, calculated as the total water transport due to upwelling based on Ekman transport and cross-shore geostrophic transport. If the index indicates favorable upwelling conditions, you can look for similar patterns in salinity or dissolved oxygen, knowing that upwelled water from the deep sea will be more saline and have less dissolved oxygen than the surface water.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*honIRCUR0FD0E-q3" /><figcaption><a href="https://oceanobservatories.org/research-arrays/">A map of the ocean observatory arrays maintained by the OOI</a></figcaption></figure><p>The data in the scenario I just described is exactly what the Ocean Observatories Initiative, or OOI, collects using various oceanographic sensors. The OOI has several observatory arrays located worldwide, and each array has a unique collection of oceanographic sensors placed at the sea surface, seafloor, and throughout the water column. I focused on the Coastal Endurance array (see map left) off the coast of Oregon, specifically the Oregon Offshore site (see map below), located 40 miles west of Newport with a max depth of about 600 meters. This site is in a well-studied area where upwelling is known to occur seasonally, giving me a good mix of upwelling and downwelling conditions to use in my model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/582/1*AbPVAd1VZE9YrQnyjxYfFw.png" /><figcaption>Source: <a href="https://www.researchgate.net/publication/323345105_Warm_Blobs_Low-Oxygen_Events_and_an_Eclipse_The_Ocean_Observatories_Initiative_Endurance_Array_Captures_Them_All">Warm Blobs, Low-Oxygen Events, and an Eclipse: The Ocean Observatories Initiative Endurance Array Captures Them All</a></figcaption></figure><p>As cool as these sensors are, they aren’t always entirely functional. Have you ever tried putting delicate electronics into a sealed container and dropping it 600 meters into the ocean? It can be challenging! Sensors in the ocean can malfunction in all kinds of ways and are destined to lose their calibration over time. In addition, the scientists and engineers who maintain these sensors need access to a research vessel to fix instruments when they break, which means a sensor can be malfunctioning for months at a time while the ships are busy doing work elsewhere. This leads to unfortunate restraints when trying to analyze lengthy time periods using these sensors, which I’ll get into next.</p><h3>Data Collection</h3><p>My ambitious goal was to include one year of data collected at the Oregon Offshore site by three different sensor platforms: a surface mooring that sits at the sea surface, a shallow profiler that moves up and down through the top 200 meters of the water column, and a stationary platform that sits at a depth of 200 meters. I used the <a href="https://datalab.marine.rutgers.edu/2020/05/data-requests-the-easy-way-with-the-ooi-api/">OOI’s API</a> to pull data collected by these platforms from 2017 to avoid using data potentially impacted by the <a href="https://www.fisheries.noaa.gov/feature-story/new-marine-heatwave-emerges-west-coast-resembles-blob">2014 and 2019 marine heatwaves</a> (such as the <a href="https://en.wikipedia.org/wiki/The_Blob_(Pacific_Ocean)">Blob</a>). When I got my hands on the data, I was excited to see that the surface mooring had nearly all 12 months of 2017 covered and that the shallow profiler’s CTD (a sensor that measures conductivity, temperature, and pressure) appeared functional from January 1st to mid-September. Unfortunately, the shallow profiler had stayed near the 200-meter platform for several months instead of exploring the water column like it was made to do, which meant I was missing a full view of the upper water column for most of 2017.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/542/1*-J9wEMKAoyajcmjdCBkMZQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1012/1*BREYo3QnXVXEdjy6HJpypQ.jpeg" /><figcaption>Images of OOI surface moorings. They’re decked out with environmental sensors from top to bottom, literally! Image sources — left: <a href="https://oceanobservatories.org/2019/09/ooi-achieves-milestone-with-irminger-sea-deployment/">OOI achieves milestone with Irminger Sea deployment</a>, right: <a href="https://twitter.com/HilaryPalevsky/status/1158122464263790592">Dr. Hilary Palevsky on Twitter</a>.</figcaption></figure><p>I pulled in data from the same platforms from 2018 to see if it was any different, and it was — the profiler was more functional, but the 200-meter platform data had large chunks missing. How would I use all of this data if none of it was consistently collected over the same time period? The simple solution: create two different sets of models, each informed by a different selection of platforms, and compare their results to see which platforms are most informative for machine learning models. The first set of models I created used the sea surface temperature collected by the surface mooring and the seawater temperature and salinity collected by the 200-meter platform in 2017. The second set of models used the shallow profiler seawater temperature data from 2018, covering the top 200 meters of the water column. This means we can see how well models perform when informed by just two locations in the water column — the surface and 200 meters — versus these two locations and every depth in between.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y2aDogtC0-ekMpsKAH_2YQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/460/1*KkFQkpaes216PRMXZKgFPA.png" /><figcaption>Images showing a shallow profiler on deck (left) and attached to a submerged platform (right). Image sources: left — <a href="https://interactiveoceans.washington.edu/platform-winch_-deck_-082914_145722/">OOI Working on Oregon Offshore Shallow Profiler</a>, right —<a href="https://www.labmanager.com/labs-less-ordinary/ocean-observatories-initiatives-cabled-array-brings-the-ocean-to-your-living-room-24-7-3051">Ocean Observatories Initiatives’ Cabled Array Brings the Ocean to Your Living Room, 24/7</a>.</figcaption></figure><p>Since the goal of this project was to help us understand a natural process occurring in the real world, I wanted to use models that focused on inference rather than prediction. For many popular models used in data science, higher accuracies are obtained by letting models find complex relationships in the data that aren’t interpretable by humans. I cared more about interpretability than accuracy in this case, so I was limited to models that could provide interpretable results. Based on this, I chose to use two classifiers from the scikit-learn library: the <a href="https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html">logistic regression classifier</a> and the <a href="https://scikit-learn.org/stable/modules/generated/sklearn.tree.DecisionTreeClassifier.html?highlight=decision%20tree#sklearn.tree.DecisionTreeClassifier">decision tree classifier</a>. The logistic regression classifier returns coefficient values, and the decision tree classifier returns <a href="https://machinelearningmastery.com/calculate-feature-importance-with-python/">calculated feature importance</a> for each model feature. These coefficients and feature importances will tell us which locations in the water column are most informative when modeling coastal upwelling at the Oregon Offshore site.</p><p>My next blog post will discuss interesting findings in the data analysis, and after that, the data preprocessing and model results. I could write for ages about each of these things, but who wants to read a 30-minute blog post? Not me! So I hope you’ll look forward to the next one, and thanks for reading!</p><p>Special thanks to <strong>Wu-Jung Lee</strong> from the UW Applied Physics Lab and <strong>Valentina Staneva</strong> from the eScience Institute on the UW campus for their guidance in this project. They lead an ocean sonar data science team at the UW that created a Python package, <a href="https://echopype.readthedocs.io/en/latest/">echopype</a>, designed for processing ocean sonar data collected by sensors called <a href="https://en.wikipedia.org/wiki/Scientific_echosounder">echosounders</a>.</p><p>If you’d like to read more about coastal upwelling in the California Current System, check out these resources:</p><ul><li><a href="https://oceantracks.org/library/the-north-pacific-ocean/upwelling-and-the-california-current#:~:text=The%20California%20current%20is%20the,Canada%20to%20Baja%20California%2C%20Mexico.&amp;text=This%20results%20in%20the%20creation,such%20as%20the%20California%20Current">Upwelling and the California Current</a></li><li><a href="https://caseagrant.ucsd.edu/project/discover-california-commercial-fisheries/the-ocean-environment">The ocean environment</a></li><li><a href="https://oceanexplorer.noaa.gov/explorations/02quest/background/upwelling/upwelling.html">NOAA Ocean Explorer: Sanctuary Quest: Background</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8e648d909170" width="1" height="1" alt=""><hr><p><a href="https://medium.com/geekculture/classifying-coastal-upwelling-using-environmental-variables-8e648d909170">Classifying Coastal Upwelling Using Environmental Variables</a> was originally published in <a href="https://medium.com/geekculture">Geek Culture</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mapping Sea Surface Chlorophyll in Python]]></title>
            <link>https://medium.com/geospatial-analytics/mapping-sea-surface-chlorophyll-in-python-35bf1e8a7eeb?source=rss-600ae2752310------2</link>
            <guid isPermaLink="false">https://medium.com/p/35bf1e8a7eeb</guid>
            <category><![CDATA[xarray]]></category>
            <category><![CDATA[oceanography]]></category>
            <category><![CDATA[nasa]]></category>
            <category><![CDATA[chlorophyll]]></category>
            <category><![CDATA[data-visualization]]></category>
            <dc:creator><![CDATA[Derya Gumustel]]></dc:creator>
            <pubDate>Sun, 11 Apr 2021 00:27:23 GMT</pubDate>
            <atom:updated>2022-06-20T19:20:24.012Z</atom:updated>
            <content:encoded><![CDATA[<h4>A Python tutorial</h4><h4>Using MODIS-Aqua satellite data and xarray</h4><p><strong>Phytoplankton</strong> are single-celled plants found in waters worldwide, from lakes to oceans and from the equator to the poles. As tiny as they are magnificent, they spend their lives floating near the surface of the water, where they bask in the sun’s rays to photosynthesize. Despite their small size, they play an enormous role in regulating the planet’s atmosphere, easily producing as much oxygen as their terrestrial counterparts and acting as a sink for carbon dioxide (CO₂), a greenhouse gas. They also make up the base of many food webs in the oceans, which means marine researchers who study ecology want to know when and where phytoplankton are thriving.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/827/1*zxyQOJBcRC-3eCXuMnOfBA.png" /><figcaption>An image of various phytoplankton species from Puget Sound, 2017. Photo taken through the viewer of a light microscope at 400x zoom. Image source: me!</figcaption></figure><p>I want to share a photo taken through a microscope of some of the plankton I caught for a year-long study of plankton species and seasonality in Puget Sound. I hope this gives you an idea of the crowded and varied world of these wonderful organisms!</p><p>You may have heard about “harmful algae blooms” or “red tides” in the news. The algae involved in these events are phytoplankton, but not all phytoplankton are harmful! Phytoplankton “blooms” occur when several environmental variables that control phytoplankton populations align in a way that allows for explosive growth. These factors include the level of light exposure, the concentrations of nutrients in the water, and the presence of zooplankton, tiny animals that feed on phytoplankton.</p><p>In many environments worldwide, these controlling factors change seasonally, producing annual cycles of high and low productivity in phytoplankton populations. I’ve included a simplified diagram below that shows how phytoplankton and zooplankton populations change throughout the year in temperate seas. In early spring, sunlight increases, and the water is full of nutrients, which encourages phytoplankton to reproduce rapidly, producing a <strong>spring bloom</strong>. This bloom will use up most of the water&#39;s nutrients and act as a feast to the local zooplankton, encouraging them to start reproducing, too. As zooplankton numbers grow, they eat up all the phytoplankton, reducing their numbers back down to a minimum. The summer months have low phytoplankton populations, but a spike in nutrient levels in the fall encourages a second, smaller bloom to occur. This diagram is extremely simplified; in reality, environmental conditions can be unpredictable and might add a lot of variation to this cycle from year to year.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rZCYQYjGGgEV9JKPbmwbcw.png" /><figcaption>The seasonal cycle of phytoplankton relative to variations in sunlight, nutrients, and zooplankton (copyright 2004 Pearson Prentice Hall, Inc.)</figcaption></figure><p>Researchers can get estimates of phytoplankton abundance over large areas by measuring <strong>sea surface chlorophyll concentrations</strong> through satellites. One example is the MODIS (Moderate Resolution Imaging Spectroradiometer) instrument aboard NASA’s Aqua satellite. The MODIS instrument measures light intensity ratios at various wavelengths reflected by the ocean surface. The data it collects is passed through algorithms to tease out an approximate measure of chlorophyll concentration, which is then used to calculate phytoplankton abundance. Some limitations of this technology are cloud cover that can block the satellite’s view of the oceans or sediment in the water that muddies (pun-intended) the relationship between the reflections and chlorophyll concentrations.</p><p>Now that we’ve covered the basics of phytoplankton and satellites, let’s jump into some code! For this tutorial, I wanted to map chlorophyll concentrations in Puget Sound, but the Pacific Northwest has enough cloudy weather to interfere with several visualizations. Instead, I chose to map the Gulf of California because it has strong seasonality in phytoplankton populations, without Washington’s frequent cloudy weather.</p><p>First, if you’ve never run any code in Python or Jupyter before, you can learn how to get started at <a href="https://jupyter.org/">Project Jupyter’s website</a>. If you’d rather download and run the notebook containing the code that I wrote for these visualizations, you can find it in the chlorophyll folder in my <a href="https://github.com/dgumustel/blog_visualizations">blog visualizations repository</a> on GitHub. The README there has instructions on how to get this code up and running on your machine, but I’ll also walk through the steps here.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1013/1*2SxHQp0ayUgiRzE9S9P1Vg.png" /></figure><p>You can get chlorophyll concentration data from the Aqua satellite from the <a href="https://neo.gsfc.nasa.gov/view.php?datasetId=MY1DMM_CHLORA">NASA Earth Observations website</a>. I included a screenshot of the website here with two boxes and arrows. On the left, I’ve outlined the options for time periods; you can get an 8-day average or a 1-month average (I’ll be using a 1-month average for every month from the year 2019 for this tutorial). On the right side, I’ve outlined the button that will download a <strong>NetCDF (.nc) file</strong> containing the chlorophyll data for the time period you’ve selected. If you’ve never worked with <a href="https://en.wikipedia.org/wiki/NetCDF">NetCDF files</a> before, they store metadata variables, like the time and location of data collection, and array-oriented scientific data, like the chlorophyll concentrations we’ll be looking at. They’re the standard data format for many fields in environmental research. Using a Python package called <a href="http://xarray.pydata.org/en/stable/"><strong>xarray</strong></a>, mapping data in this format is delightfully easy! To look at seasonality in chlorophyll concentrations, you can download data files from multiple times of the year, put them into a new folder called ‘data,’ and start writing your code in the same directory as your new ‘data’ folder. I wrote the code here to work with 12 data files (one for every month of the year), but you can alter the grid size and axes names if you want to plot more or fewer files. Alternatively, you could plot 3 or 4 months from 3 or 4 different years to look at variation across an even greater time span.</p><p>To start, you’ll need to import a handful of packages. If one of them isn’t already installed on your machine, you can install it with a simple pip install.</p><pre><strong># Imports</strong><br>import netCDF4                        # pip install netCDF4<br>import xarray as xr                   # pip install xarray<br>import cmocean                        # pip install cmocean<br>import os<br>import numpy as np<br>import matplotlib.pyplot as plt</pre><p>Next, pull in your files from that ‘data’ folder and turn them into a list of opened xarray datasets. List comprehension comes in handy for these tasks!</p><pre><strong># Get file path and create list of data files</strong><br>parent_dir = os.getcwd()<br>file_path = os.path.join(parent_dir, &#39;data&#39;)<br>files = [item for item in os.listdir(file_path) if not item.startswith(&#39;.&#39;)]<br></pre><pre><strong># Open the datasets with xarray</strong><br>datasets = [xr.open_dataset(&#39;./data/&#39; + file) for file in files]</pre><p>The variable that we’re going to plot is called ‘chlor_a’ in our datasets, but if you aren’t sure what your variable names are, you can use xarray’s .data_vars method to find out.</p><pre><strong># Use .data_vars to find variable names</strong><br>datasets[0].data_vars</pre><p>If you’re like me, you’ll want to make sure you can plot one dataset before you try plotting a whole collection of them. Plotting with xarray is so easy that it only takes one line of code! We can also make use of the <a href="https://matplotlib.org/cmocean/">cmocean Python package</a> that contains colormaps tailored specifically to oceanographers; I’ll be using the <strong>algae</strong> option, which is a collection of greens. If we don’t specify any coordinates, the code below will generate a map of the whole planet by default.</p><pre><strong># Generate global snapshot </strong><br>datasets[0].chlor_a.plot(x=&#39;lon&#39;, y=&#39;lat&#39;, figsize=(26,12), vmin=0, vmax=5, cmap=cmocean.cm.algae);</pre><pre><strong># Add a title showing the year and month of data collection</strong><br>plt.title(datasets[0].attrs[&#39;time_coverage_start&#39;][:7])</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5MRUaDUeAGhwJdfiaIvHkA.png" /></figure><p>This map of the world’s oceans shows that chlorophyll is sparse in the open ocean and highly concentrated around coastlines and lakes. The white on the map represents land, clouds, or ice. The green represents chlorophyll concentrations in units of milligrams per meter cubed (mg/m³). Next, let’s zoom in on our area of interest: the Gulf of California. If you’d like to plot a different region of the planet, change the values of site_lat and site_lon below to be the latitude and longitude coordinates of the region you’re interested in. Note that this method requires values between -90 and 90 for latitude and -180 to 180 for longitude.</p><pre><strong># Enter coordinates of the Gulf of California</strong><br>site_lat = 26.7<br>site_lon = -110.7</pre><pre><strong># Slice the data using the coordinates so that our computer doesn&#39;t have to process so much information</strong><br>ds_slice = datasets[0].sel(lat=slice(site_lat+10, site_lat-10), lon=slice(site_lon-10, site_lon+10))</pre><pre><strong># Create a plot</strong><br>ds_slice.chlor_a.plot(x=&#39;lon&#39;, y=&#39;lat&#39;, figsize=(12,12), vmin=0, vmax=3, cmap=cmocean.cm.algae);</pre><pre><strong># Add a title showing the year and month of data collection</strong><br>plt.title(&#39;Gulf of California, &#39; + datasets[0].attrs[&#39;time_coverage_start&#39;][:7])</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/864/1*Ng2RXpYF7HYhNm7K1aG4Lg.png" /></figure><p>This plot shows us that the Gulf of California has higher chlorophyll concentrations than the waters offshore. Now that we know how to plot a single month of chlorophyll data, let’s plot 12 months and see how chlorophyll concentrations in the Gulf of California change throughout a single year!</p><pre><strong># Set colorbar values. May take trial and error to get the level of detail you are aiming for.</strong><br>vmin = 0.0<br>vmax = 3.0</pre><pre><strong># Set the lat/lon distance from site location to plot </strong><br>box_lim = 7</pre><pre><strong># Set levels for resolution of colorbar. Change the 0.01 value for higher or lower resolution. </strong><br>lvl = np.arange(vmin, vmax, 0.01).tolist()</pre><pre><strong># Create a grid of subplots, 3 rows x 4 columns</strong><br>f, ((ax1, ax2, ax3, ax4), (ax5, ax6, ax7, ax8), (ax9, ax10, ax11, ax12)) = plt.subplots(3, 4, figsize=(24,16))<br>ax_list = [ax1, ax2, ax3, ax4, ax5, ax6, ax7, ax8, ax9, ax10, ax11, ax12]</pre><pre><strong># Loop through the subplot axes</strong><br>for i in range(len(ax_list)):<br>    ds = datasets[i]<br>    <br>    <strong># Slice the data using previous coordinates</strong><br>    ds_slice = ds.sel(lat=slice(site_lat+box_lim, site_lat-box_lim), lon=slice(site_lon-box_lim, site_lon+box_lim))<br>    <br>    <strong># Generate plot and title</strong><br>    ds_slice.chlor_a.plot.contourf(x=&#39;lon&#39;, y=&#39;lat&#39;, ax=ax_list[i], vmin=vmin, vmax=vmax, levels=lvl, cmap=cmocean.cm.algae)<br>    ax_list[i].set_title(&#39;Gulf of California, &#39; + ds.attrs[&#39;time_coverage_start&#39;][:7])</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j1NKMMSLft5NtWYHfCG1jg.png" /></figure><p>Excellent! This visual shows us that chlorophyll concentrations appear to ramp up in January and February before the large spring bloom in March and April. Phytoplankton populations are lowest in the Gulf of California from June to September, and smaller blooms appear in October, November, and December. I hope this leaves you with more questions than you started with and encourages you to think about the seasonality of other ecosystems around you!</p><p>There are a couple of ways this code could be improved. For instance, the website that hosts this data makes beautiful visualizations using a logarithmic color scale. I believe they use the ‘deep’ cmocean colormap reversed (you can pass cmap=cmocean.cm.deep_r as a plotting parameter) on a log scale from 0.01 to 60 mg/m³; I would love to replicate this! They also fill the land, cloud, and ice cover with the color black instead of the default white. In addition, the color bar really only needs to be displayed once since it’s the same for each of the 12 subplots. Also, I noticed that my visualizations have transparent backgrounds, making the titles, axis marks, and labels impossible to read when you click an image on the iPhone Medium app. Apologies to any mobile viewers; I will try to correct this for visualizations in future posts!</p><p>Much work goes into polishing the data collection, processing, and distribution pipelines that make this data easy to use for public citizens like me. Still, there are so many wonderful, untapped resources like this that the general public is unaware of. I hope to make more tutorials like this in the future to make it easier for entry-level oceanographers and programmers to explore all of the data available to them.</p><p>Keep in mind that the visualizations created here are just a few snapshots of one little piece of the Earth, taken through the lens of a radiance-tracking satellite. There are countless more regions to investigate and many other variables to consider, and I hope we can uncover a few gems as we continue to explore environmental data together. As long as satellites are orbiting the Earth, we won’t be running out of work anytime soon — what a wonderful reality!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G6DvgVmy4NinNG2HvR393g.png" /><figcaption>Chlorophyll concentrations of the Earth’s waters, collected by the NASA MODIS-Aqua satellite. This image was generated by the NEO website using measurements from February 2021, downloaded <a href="https://neo.sci.gsfc.nasa.gov/view.php?datasetId=MY1DMM_CHLORA">here</a>. Lighter colors indicate higher chlorophyll concentrations (up to 60 mg/m³), dark blue indicates low concentration (as low as 0.01 mg/m³), and black represents land, ice, or cloud cover.</figcaption></figure><p>Thanks for reading! Here are a few resources if you’d like to read more about phytoplankton and how satellites help researchers understand the ocean surface:</p><ul><li><a href="https://www.whoi.edu/know-your-ocean/ocean-topics/ocean-life/phytoplankton/">Phytoplankton - A Simple Guide | WHOI</a></li><li><a href="https://modis.gsfc.nasa.gov/about/design.php">MODIS Web</a></li><li><a href="https://science.nasa.gov/earth-science/oceanography/living-ocean/remote-sensing">Remote Sensing</a></li></ul><p>Edit: updated broken link to Nasa Earth Observations Chlorophyll Concentration.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=35bf1e8a7eeb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/geospatial-analytics/mapping-sea-surface-chlorophyll-in-python-35bf1e8a7eeb">Mapping Sea Surface Chlorophyll in Python</a> was originally published in <a href="https://medium.com/geospatial-analytics">Geospatial Analytics</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[An Introduction to Ocean Data]]></title>
            <link>https://deryagumustel.medium.com/an-introduction-to-ocean-data-6081b56e12f9?source=rss-600ae2752310------2</link>
            <guid isPermaLink="false">https://medium.com/p/6081b56e12f9</guid>
            <category><![CDATA[ocean-data]]></category>
            <category><![CDATA[oceanography]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[ocean-data-challenge]]></category>
            <dc:creator><![CDATA[Derya Gumustel]]></dc:creator>
            <pubDate>Sat, 27 Mar 2021 04:57:07 GMT</pubDate>
            <atom:updated>2021-03-28T16:37:37.184Z</atom:updated>
            <content:encoded><![CDATA[<h4>And a brief description of oceanography</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UxoJWeG2enGagWEkDgPLZg.jpeg" /><figcaption>Portside view of NOAA Ship RAINIER at anchor. Image from NOAA.</figcaption></figure><p>When I tell people that I majored in oceanography, I get responses that range anywhere from “That sounds amazing, and I need to hear more!” to “I don’t know what that is, so I’ll just remember that you like ocean stuff.” These days, I tell people that I’m studying ocean data science, but not many people know what that means, so I thought I would write about it here. My goal here is to explain why data science is necessary for the grand exploration of the world’s oceans as the start of my own personal blog series about ocean data science.</p><p>I want to start by answering one glaringly obvious question: <strong>what is oceanography?</strong> Many people think that oceanographers are like marine biologists who study marine organisms and ecology. In addition to studying the organisms that live in the oceans, oceanographers also study the oceans themselves. And I mean yes, literally, we study all of the seawater in all of the planet’s oceans, seas, estuaries, and more (we even work with astronomers to study oceans on other worlds!).</p><p>Oceanography lives at the intersection of multiple scientific disciplines. Many oceanographers focus on one discipline for most of their research. There are four main disciplines in oceanography —<strong> biological, chemical, geological, and physical</strong>—which I’ll dive into below (pun intended). These disciplines sometimes hog the spotlight, but there are also many marine technicians and engineers who devote their lives to building oceanographic sensors that can collect data in some of the most extreme environments on our planet, like on the seafloor! They make all of our research possible.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ra7TD_mAr6UkObfGLBWz2g.jpeg" /><figcaption>The JSL submersible offers a panoramic view of the underwater world. This is a view of dense coral development off North Carolina in about 400meters. Life on the Edge 2005 Expedition. Image source: NOAA</figcaption></figure><p>Many oceanographers will spend their career studying one of the following:</p><ul><li>the <strong>biology, </strong>life cycles, and ecology of marine organisms, especially the diverse group of microorganisms called plankton that feed many of the ocean’s inhabitants</li><li>the <strong>chemical</strong> composition of seawater and the global-scale biogeochemical cycles of its components (such as carbon, nitrogen, and sulfur)</li><li>the <strong>geology</strong> and formation of the seafloor, the geochemistry of hydrothermal circulation, and tectonic plate activity</li><li>the <strong>physics </strong>of ocean waves, currents, tides, gyres, eddies, air-sea interactions, deepwater formation, and underwater acoustics</li></ul><p>In addition, modern research includes the study of many anthropogenic issues, such as ocean warming, ocean acidification, plastic pollution, overfishing, and oil spills. The field of oceanography expands quite far beyond this short list, and I will be happy to write about these topics in the future!</p><p>From here, we can see that there are many aspects of our planet’s oceans that we want to learn more about, but how do we measure any of these things? The short answer is, lots of ways!</p><p>Satellites are great for measuring large regions of the sea surface. There are currently several orbiting Earth that can get us snapshots of the entire planet every few days. Satellites measure chlorophyll levels (a metric for estimating plankton abundance), salinity, temperature, and sea surface height, but they struggle to see through cloud cover and are limited to the top few centimeters of the oceans. Fleets of remotely operated vehicles (ROVs) can gather data in areas that are difficult, dangerous, or impossible to navigate by ship. To get measurements below the surface, various free-floating sensors have been released at sea to drift along currents and send data to land via satellite transmission. Many of these floating sensor packages are even capable of changing their buoyancy and can take measurements as they move up or down the water column. One of the most well-known programs in oceanography is the <strong>Argo program</strong>, which has been deploying its drifting instruments for 20 years!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CIMJuQNzM_32JezhrKSXFA.png" /><figcaption>A diagram depicting the work cycle of an Argo float. Image source: <a href="https://argo.ucsd.edu/how-do-floats-work/">https://argo.ucsd.edu/how-do-floats-work/</a></figcaption></figure><p>There are also sensor packages placed on the seafloor that passively measure seawater components, acoustics from marine organisms and passing ships, and seismic activity from submarine volcanoes. With the implementation of fiber optic cables, these seafloor packages can stream data back to servers on land with breakneck speed, 24/7. Of course, countless oceanographers still collect data the old-fashioned way: by hand, on ships!</p><p>The image below shows all the various floats, buoys, and stations deployed and active as of February 2021 — it turns out the ocean is quite populated with our technology!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8clIW3SaZGklY3HA" /><figcaption>You can play with some interactive maps like this here: <a href="https://www.ocean-ops.org/board">https://www.ocean-ops.org/board</a></figcaption></figure><p>After seeing this map, you might be thinking, “Wow, all of those sensors must be collecting so much data!” And you’d be right! In fact, we’re currently collecting so much data that we can’t even process and analyze all of it with the current systems we have in place. This is becoming more and more true with every additional float and vehicle we deploy. Fortunately, many folks are already tackling this problem by working towards innovative solutions in data science to allow researchers to make full use of their ever-expanding datasets.</p><p>The above is only one way that data science and programming are useful to oceanographers, but, in reality, every research study requires data collection and statistical analysis, which means every oceanographer needs to have some analytical skills. Additionally, as data collection techniques become more efficient and inclusive, the field as a whole is shifting to be more quantitative. This means that intuitive, open-source programming languages like Python will see more use in marine research.</p><p>This is where my passion for <strong>ocean data science</strong> was born and why I’m pursuing data science for environmental good. Just like oceanography, many other disciplines in the environmental sciences are becoming more quantitative. Developing new techniques to process, integrate, and analyze enormous datasets will be vital for furthering our understanding of the amazing planet we live on. In this world, we’re fortunate enough to go on exciting voyages at sea and watch the teeming life at hydrothermal vents through camera feeds. Still, a lot more computer work needs to be done to get the most out of our growing collection of oceanographic datasets. I’ve got my work cut out for me, and I’m looking forward to bringing the results of it to you here.</p><p>Until then!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v4g-lEvQfHnwfL93T8JjPQ.jpeg" /><figcaption>Image source: <a href="https://unsplash.com/@jbcreate_">Joseph Barrientos</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6081b56e12f9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Domain Knowledge: An Essential First Step to Data Analysis Projects.]]></title>
            <link>https://deryagumustel.medium.com/domain-knowledge-an-essential-first-step-to-data-analysis-projects-7c6f1a73b5?source=rss-600ae2752310------2</link>
            <guid isPermaLink="false">https://medium.com/p/7c6f1a73b5</guid>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[domain-knowledge]]></category>
            <dc:creator><![CDATA[Derya Gumustel]]></dc:creator>
            <pubDate>Sat, 13 Mar 2021 00:32:29 GMT</pubDate>
            <atom:updated>2021-03-13T00:32:29.547Z</atom:updated>
            <content:encoded><![CDATA[<p>By far, the coolest job I had in college was working as a part-time data analyst with a member of the University of Washington’s eScience Institute. As an undergraduate, I majored in oceanography and my degree required me to take courses that taught me how to use Python programming to analyze environmental data. My first Python class wasn’t great, but the code appealed to me so much that I signed up for a second class, and then a third, and even decided to attend a hack week! The classes were a good start, but the data analyst position I found at eScience offered me my first opportunity to apply my programming knowledge to look for oceanographic concepts in real-world data. Needless to say, I absolutely loved it and quickly thereafter decided to pursue a career in data science for environmental good.</p><p>Fast forward to today and I’m enrolled in a remote data science intensive program offered by General Assembly. Again, I’m thriving in an environment where I can apply my python skills to real-world data projects. However, instead of doing projects about the oceans, I’m now doing data analysis on topics that I have no background in. For instance, our first project involved analyzing statewide trends in SAT and ACT participation in the United States. I haven’t taken either of these exams, and I’ve been a student long enough to know that standardized tests are not fun, but I quickly found that I lacked something called “domain knowledge” — defined below:</p><blockquote>“Domain knowledge is knowledge of a specific, specialized discipline or field, in contrast to general knowledge, or domain-independent knowledge.” https://en.wikipedia.org/wiki/Domain_knowledge</blockquote><p>For this project, lacking domain knowledge ultimately meant that I didn’t have any questions prepared when I started my exploratory data analysis (EDA). Identifying the questions that you hope to answer is vital to the start of an analytical project. Unfortunately, I didn’t realize this until I had already spent three days creating data visualizations only to step back and ask myself, ‘Wait, what questions do these visualizations even answer?’</p><p>Honestly? That felt pretty bad.</p><p>So how do you gain a little domain knowledge and identify some good questions to give your EDA purpose? If your project is entirely your own and the goals and audience are up to you, then you might try reading about your study topic in the context of your existing bias or opinion. This might help you identify a personal attachment to the topic, which can fuel your questions and analysis and lead to some fun discoveries. Or, if your project was assigned to you with a particular question or if it’s for a predetermined audience, you can search up articles about those specifics.</p><p>In the example of my SAT project, I could have read about whether standardized testing should be kept or abolished, or found some research on the ways in which the SAT is unfair to certain demographics (aligning with my bias). Or, I could have read about the College Board that administers the SAT, looked into why some students might prefer the ACT over the SAT, and investigated how we could encourage more students to take the SAT (presenting to a predetermined audience, the College Board). Even reading some high-level opinion pieces can provide inspiration for a data analysis project, and maybe I would have found a great goal to pursue if I had looked through some of the interesting analyses that were already out there. Dry, objective articles like research papers or Wikipedia pages are great when you have a specific question in mind, but can be difficult to navigate otherwise. Personally, I find that I’m best able to stay motivated and on-target throughout a project by finding ways to get invested and engaged in the topic at hand.</p><p>In the end, I’m fortunate to have only spent a week on my SAT project and not a moment longer. It was much better to learn that lesson quickly instead of losing more time to it. My next project has already begun and my first steps are to read, read, read, and I’m sure my analysis will go just a little bit smoother this time around. I hope yours will, too!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7c6f1a73b5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>