Final project

The project consists of two tasks:

  • Task 1: add a blog post to your personal website based on one of your previous assignments and discussion sections. This task is 35% of the final project grade.
  • Task 2: create a presentation-ready GitHub repository featuring geospatial analysis in Python. This task is 65% of the final project grade.

Submission instructions

Due dates:

  • Task 1 (blog post) is due by 11:59 pm on Wednesday, December 2.

  • Task 2 (GitHub repo) is due by 11:59 pm on Saturday, December 5.

Feedback for both tasks will be given to students by Tuesday, December 8 and the final resubmission for both tasks is due by 5 pm on Friday, December 11 (last day of the quarter). Both a submission and a revised submission addressing all the feedback from the first submission will be needed to get a final grade for these two tasks. An assignment without a resubmission will get a 0 grade.

All tasks for this assignment should be submitted via Gradescope.

File formatting and uploading:

If you have any questions about assignment logistics, please reach out to Fatiq or Carmen by 5 pm on the day before the due dates.

To convert your notebook to PDF, we will first convert your notebook to HTML, and then save as PDF.

  1. Open your notebook in VS Code.

  2. Select the three dots at the top of your notebook.

  1. Select Export > HTML (not PDF)

  1. Choose where you want to save this HTML to your computer

  2. Open up the HTML and go to File > Print > Save as PDF

  3. Save your PDF and submit to Gradescope.

Task 1: Eaton and Palisades Fires analysis blog post

In this task, you will transform your presentation-ready repository from Homework 4 into a polished blog post for your personal website and compile and streamline all its supporting notebooks.

Purpose

Your blog post should showcase two out of the three data analysis exercises we did related to the Eaton and Palisades Fires:

Your audience is a fellow Python programmer with beginner-to-intermediate geospatial wrangling experience. This is an opportunity to highlight your skills and communicate your analysis in a clear and engaging way!

To help you understand the desired format and text-to-code ratio, review these examples:

Take note of how they balance explanations, code, and visualizations to communicate their analyses effectively.

In addition to the blog post, the notebooks used for the data analysis should be part of your presentation-ready GitHub repository. These notebooks contain work you have already completed and probably revised, so the effort should go into cleaning and streamlining them.

Setup

A Quarto personal website will be needed to submit the blog post. If you previously attended the MEDS Career & Professional Development Workshop Series then you’re all set! If you don’t have a website, this tutorial will smoothly guide you through creating one:

Customizing your website is optional. This is a tutorial to help you add customizations:

To create a blog post listing in your personal website you can follow this tutorial:

The tutorial assumes you will be writing your blog post as a Quarto (.qmd) file. You can:

  1. Directly add your Jupyter notebook (.ipynb file) to the appropriate website folder and Quarto should render it directly. These instructions will guide you on how to do it:

or

  1. If you want all your blog posts to be .qmd files, converting a Jupyter notebook into a Quarto file and vice versa can be done using the quarto convert command.

In addition to the blog post, in this task you will expand the GitHub repository you created for homework 4 by including the notebook with the other fire data analysis into it. Follow the repository structure below:

repo-name  # Consider renaming, e.g., "eaton-palisades-fires-analysis"
│   README.md
|   notebooks  # As needed per analysis, clean and streamlined
|   .gitignore
│
└── data  # If needed
    │   data-files  

Important notes:

  • Make sure no .DS_Store or .ipynb_checkpoints files are present in your repository.

  • All notebooks should be streamlined and will be checked using the “notebooks organization” rubric!

📋 Don’t forget to read the rubric for task 1 before you start working on it.

💡 For your first blog post submission, it’s normal to receive feedback and a “needs revision” rating. Implementing the requested changes during resubmission can earn you 100% of the points. However, if no revised blog post is submitted, this task will count as 0%. Revising will be a crucial part of this task!

Guidelines

This task builds on your previous work. Your first step should be to carefully review the feedback you received on your notebooks and Homework 4 repository and make all the necessary updates.

💡 If you have questions or need clarification on the feedback, don’t hesitate to ask!

Your post should be streamlined, focusing on key steps and results. Avoid lengthy print checks and intermediate outputs, favoring concise, well-explained code chunks.

Your post should include (at least) the following:

  • About section:
    • Provide context for the analysis. Introduce the Eaton and Palisades Fires, their significance, and the relevance of your analyses.
    • Include an image related to the analysis.
  • Highlights of analysis:
    • List of highlights of analysis (3 or 4 highlights). What do you consider to be the most important techniques used or insights from the analysis?
  • Dataset descriptions:
    • Describe the datasets you used and provide proper citations or references.
  • Link to GitHub repository:
    • Include a link to your GitHub repository at the top of the post. The repository should be presentation-ready and contain the full, detailed analysis.
  • Organized data analysis sections:
    • Break the analysis into logical sections.
    • Include only the most relevant code.
    • Aim for a clean, professional layout with properly formatted code snippets and images.
  • Final visualizations:
    • Showcase your main visualizations with clear captions. Follow each visualization with a description explaining takeaways and relevance.

Task 2: Urban heat around LA28 Olympic facilities

Los Angeles will host the 2028 Summer Olympic and Paralympic Games (LA28) in July and August, during peak summer heat. Many events will take place in existing stadiums, arenas and parks spread across the Los Angeles area, and heat is a major concern for athletes, workers and spectators. LA28 has pledged to include shade planning and heat mitigation in its preparations for the Games, and regional efforts such as ShadeLA aim to add shade around Olympic venues and in the city’s most heat-vulnerable neighborhoods [1].

In this task, you will do an analysis using Landsat surface temperature data: on a clear summer day, which LA28 facilities sit in areas hotter or cooler than the Los Angeles urban area as a whole, and by how much? You will answer this question in relative terms: how many degrees above or below the urban area’s average each facility is, on the same date.

Los Angeles Memorial Coliseum - MikeJiroch, CC BY-SA 3.0, via Wikimedia Commons

About the data

You will work with three datasets for this task:

  1. Landsat Collection 2 Level-2 surface temperature Access the landsat-c2-l2 collection from the Microsoft Planetary Computer STAC catalog [2]. You will use the surface temperature asset (lwir11). Pixels are 30 m, resampled from the thermal sensor’s native 100 m resolution.

  2. Los Angeles urban area The urban area polygons from the Census Bureau’s 2026 TIGER/Line shapefiles [3]. The Census defines urban areas as densely developed territory, so the average temperature over this polygon represents the city people live in, without the mountains, desert or ocean that a county or city boundary would include. This is the reference area you will compare each facility to. The name for the LA area is Los Angeles–Long Beach–Anaheim, CA.

  3. LA28 facilities A CSV file with the 19 permanent, on-land LA28 competition facilities in the Los Angeles area, with their approximate coordinates. The list comes from the official LA28 venue list [4], cross-referenced with the venue statuses on Wikipedia [5]. It includes stadiums and arenas (e.g. SoFi Stadium, Crypto.com Arena, the Rose Bowl, Dodger Stadium) and other permanent sites such as Riviera Country Club, Santa Anita Park and the Fairplex. It leaves out:

    • temporary venues (e.g. Venice Beach, Sepulveda Basin), since Landsat can only see what is built today;
    • water venues (e.g. the Port of Los Angeles, Long Beach Marine Stadium), since over water Landsat measures the water surface;
    • venues outside the Los Angeles area (e.g. Trestles, Oklahoma City, and the football stadiums in other cities).

    All 19 facilities are inside the Los Angeles urban area. You can find the CSV file la28-facilities.csv in the course data directory.

Surface temperature is not air temperature. Landsat measures the thermal radiation coming off the top millimeter of whatever it sees from above: roofs, pavement, treetops, grass, water. Dark pavement and roofs in full sun often reach 50 to 70 °C, while the air a few feet above them is much cooler. Air temperature (what a weather station reports) is measured in the shade, about 2 m above the ground, and changes much more slowly across a city. Keep in mind that surface temperature is a good indicator of where the built environment stores heat (and where shade or vegetation would help), but it is not a direct measure of how hot people feel.

Setup

  1. Read all the instructions and the rubric for this task.

  2. Create a new GitHub repository to house task 2 work. Choose an adequate, informative title for your repository (not EDS220-final-project). Your repository should have the a structure similar to this one:

repo-name
│   README.md
|   notebooks
|   .gitignore
│
└── data  # If needed
    │   data-files

In particular, there should be no .DS_Store or .ipynb_checkpoints files in your repository.

📋 Don’t forget to read the rubric for this task before you start working on it!

Instructions

1. Data analysis

  1. Explore the vector data. Explore the data and write a summary of the information you obtained from the preliminary exploration.

  2. STAC search. Use the Los Angeles urban area to search the Microsoft Planetary Computer STAC catalog for Landsat Collection 2 Level-2 scenes from June 1 to September 30, 2026. Your search should look similar to this:

search = catalog.search(
    collections=___,
    bbox=___,
    datetime=___,
    query={'eo:cloud_cover': {'lt': 10}},
)
items = search.item_collection()

The query parameter of catalog.search() filters items by any property in their metadata. Here we use eo:cloud_cover (a percentage) to keep only scenes with less than 10% cloud cover. Clouds hide the ground from the thermal sensor, so we only want nearly cloud-free scenes.

  1. Pick a scene. Landsat scenes are tiles, and the Los Angeles urban area sits near the corner of one, so not every scene covers all the facilities. Adapt the following code so you can run it, and explain in a markdown cell what it does and what its output shows:
from shapely.geometry import shape   # Move import to an adequate place

facilities_4326 = facilities.to_crs('epsg:4326')

for item in items:
    footprint = shape(item.geometry)
    print(item.id,
          item.properties['eo:cloud_cover'],
          'covers all facilities:', facilities_4326.within(footprint).all())

Then pick a scene to use for your analysis and, in a markdown cell, justify your choice.

  1. Access the raster. Retrieve the item byou selected and open its surface temperature asset (lwir11) as an xarray.DataArray. Plot the raster together with the facilities and the urban area polygon.
  • The surface temperature file uses 0 to mark pixels with no data. Open the raster with rioxr.open_rasterio(..., masked=True) so these pixels become NaN when the file is loaded and don’t sneak into your calculations.
  1. Convert to degrees Celsius. The values in the surface temperature raster are not temperatures. To save space, Landsat stores each temperature as an integer that needs to be converted back with

\[\text{temperature (K)} = \text{value} \times \text{scale} + \text{offset}.\]

The file itself doesn’t record the scale and offset (if you check the raster’s attributes you will see rioxarray’s defaults, a scale of 1 and an offset of 0). The real scale and offset are in the STAC metadata for the asset:

item.assets['lwir11'].extra_fields['raster:bands']

Clip the raster to the Los Angeles urban area and convert its values to degrees Celsius. Review your results.

  1. Facilities vs. the urban area. Calculate each facility’s average surface temperature within 500 m of it, and its difference from the average surface temperature over the whole urban area. Before you start coding, take a moment to write step-by-step instructions for yourself about how to get this result. You don’t need to include these in your notebook, but you should have a plan before starting your code.
  • The buffer() method of a geopandas.GeoDataFrame turns each point into a circle of a given radius, measured in the units of the geo-data frame’s CRS.
  • Do it for one facility first, then iterate.
  1. Difference plot. Make a bar plot showing each facility’s difference from the urban average. You can adapt this code to your results (results is a data frame with columns facility and diff_from_urban_c):
plot_data = results.set_index('facility').sort_values('diff_from_urban_c')
colors = ['tab:red' if d > 0 else 'tab:blue' for d in plot_data['diff_from_urban_c']]

ax = plot_data['diff_from_urban_c'].plot.barh(figsize=(7, 7), color=colors)
ax.axvline(0, color='black', linewidth=0.8)
ax.set_xlabel(f'Mean surface temperature within 500 m minus urban average ({urban_mean:.1f} °C)')
ax.set_ylabel('')
ax.set_title('Surface temperature around LA28 facilities\nDATE, TIME')
plt.show()
  1. Final map. Create a map of the facilities colored by their difference from the urban average, over a base map. Use the contextily package for the base map. Here’s an example:

Satellite basemap of the Los Angeles area with the LA28 facilities as small circles colored from blue (cooler than the urban average) to red (hotter than the urban average).

  1. Discussion. In markdown cells, answer the following questions (short answers):

    1. Which scene (date) did you use? Which facilities have the minimum and maximum difference from the urban average, and what are these values?
    2. Explain two limitations of the data.
    3. Explain two limitations of the methods.
    4. Discuss your results in relation to the facilities’ locations and the type of facility (and any other characteristics you think matter).
    5. LA28 is planning heat mitigation for the Games. Based on your map, which venue would you prioritize for heat mitigation and why? What would you need to know beyond this analysis to make that recommendation?

2. Clean notebook

The target audience for your notebook is a fellow EDS 220 student who is just learning geospatial wrangling using Python.

  • Add enough and appropriate comments to explain your code.
  • First cell in the notebook must be a markdown cell including:
  • At the top of the notebook, include an “About” section with the following subsections:
  • The rest of your notebook should have:

3. Clean repository

Same as the instructions for Homework 4. Update your repository’s README with (at least) the following (based on EDS 296):

Ready to submit your answers? Make sure your submission follows the checklist at the top of the assignment!

References

[1]
UCLA Luskin Center for Innovation, “UCLA teams up with USC and civic partners to cool the los angeles region.” UCLA Newsroom, Jul. 16, 2025. Available: https://newsroom.ucla.edu/releases/ucla-usc-civic-partners-shade-los-angeles
[2]
U.S. Geological Survey, “Landsat Collection 2 Level-2,” Microsoft Planetary Computer. 2026. doi: 10.5066/P9OGBGM6. Available: https://planetarycomputer.microsoft.com/dataset/landsat-c2-l2. [Accessed: Nov. 24, 2026]
[3]
U.S. Census Bureau, “TIGER/Line Shapefiles: 2020 Census Urban Areas (2026).” U.S. Census Bureau, 2026. Available: https://www.census.gov/geographies/mapping-files/time-series/geo/tiger-line-file.2026.html. [Accessed: Nov. 24, 2026]
[4]
LA28, “Venues,” LA28. 2026. Available: https://la28.org/en/games-plan/venues.html. [Accessed: Nov. 24, 2026]
[5]
Wikipedia contributors, “Venues of the 2028 Summer Olympics and Paralympics,” Wikipedia. 2026. Available: https://en.wikipedia.org/wiki/Venues_of_the_2028_Summer_Olympics_and_Paralympics. [Accessed: Nov. 24, 2026]