Skip to content

Commit

Permalink
update intro and headers
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfromearth authored Nov 13, 2024
1 parent 5652075 commit 98bd393
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 14 deletions.
6 changes: 3 additions & 3 deletions PREFIRE/PREFIRE-HyBIG.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"id": "feff6375",
"metadata": {},
"source": [
"# Setup \n",
"# 1. Setup \n",
"\n",
"We will use the `harmony-py` library."
]
Expand Down Expand Up @@ -92,7 +92,7 @@
"id": "3716416c-81e0-49a3-b1f4-7d2d64106622",
"metadata": {},
"source": [
"# Make the request to Harmony\n",
"# 2. Make the request to Harmony\n",
"\n"
]
},
Expand Down Expand Up @@ -187,7 +187,7 @@
"id": "ce842b5d",
"metadata": {},
"source": [
"# View the Result"
"# 3. View the result"
]
},
{
Expand Down
86 changes: 75 additions & 11 deletions TEMPO/earthaccess_harmony_01_2.ipynb
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
{
"cells": [
{
"cell_type": "markdown",
"id": "5fd080e1",
"metadata": {},
"source": [
"# Examining TEMPO data retrieved from NASA Earthdata"
]
},
{
"cell_type": "markdown",
"id": "7ab5d3c4",
"metadata": {},
"source": [
"# Overview\n",
"\n",
"## Table of Contents\n",
"\n",
"1. Setup\n",
"2. Search for data granules\n",
"3. Examining and downloading file results\n",
"4. Reading and inspecting the data\n",
"5. Working with the data to subset and plot\n",
"6. Using Harmony-py to pre-process and retrieve data\n",
"7. Plotting the data\n",
"\n",
"## Dataset Information\n",
"\n",
"This notebook uses data from the [Tropospheric Emissions: Monitoring of Pollution (TEMPO)](https://asdc.larc.nasa.gov/project/TEMPO) instrument."
]
},
{
"cell_type": "markdown",
"id": "a3b64c0a",
"metadata": {},
"source": [
"# 1. Setup"
]
},
{
"cell_type": "code",
"execution_count": 1,
Expand Down Expand Up @@ -55,7 +93,7 @@
"id": "95e551d3-0fcf-4a18-a657-d0593fe030a7",
"metadata": {},
"source": [
"# Logging in and creating local directory"
"## Logging in and creating local directory"
]
},
{
Expand Down Expand Up @@ -101,7 +139,9 @@
"id": "525385a3-170b-4145-8fef-6ac23f9ec6eb",
"metadata": {},
"source": [
"# Search for TEMPO nitrogen dioxide granules"
"# 2. Search for TEMPO granules\n",
"\n",
"We are going to search for data about nitrogen dioxide ($NO_2$) concentrations from TEMPO."
]
},
{
Expand Down Expand Up @@ -160,12 +200,20 @@
" , bounding_box = (POI_lon - dlon, POI_lat - dlat, POI_lon + dlon, POI_lat + dlat)) # search by bounding box"
]
},
{
"cell_type": "markdown",
"id": "5471bd8a",
"metadata": {},
"source": [
"# 3. Examining and downloading file results"
]
},
{
"cell_type": "markdown",
"id": "664b616b-2917-49ab-8568-55952707b08d",
"metadata": {},
"source": [
"## How does a result look like?"
"## What does a result look like?"
]
},
{
Expand Down Expand Up @@ -234,7 +282,7 @@
"id": "36ea97d7-a267-4c84-a5de-e2a844b40646",
"metadata": {},
"source": [
"## Getting actual link to a granule"
"Let's get the link to a granule"
]
},
{
Expand All @@ -260,7 +308,7 @@
"id": "bfceef7f-1f2e-423b-b272-5e35ca0bb994",
"metadata": {},
"source": [
"## file names"
"Let's examine the file names present in the results object."
]
},
{
Expand Down Expand Up @@ -305,7 +353,7 @@
"id": "459b851c-4ac6-4a83-95f2-ed5fa976b80a",
"metadata": {},
"source": [
"## downloading granulues"
"## Downloading granulues"
]
},
{
Expand Down Expand Up @@ -336,15 +384,15 @@
"id": "87eda9c9-4abe-4209-b862-671e7e49778b",
"metadata": {},
"source": [
"# dealing with the data"
"# 4. Reading and inspecting the data"
]
},
{
"cell_type": "markdown",
"id": "67f6f413-0ced-4104-9496-c3f8637ac1e7",
"metadata": {},
"source": [
"## define a function reading data from TEMPO_NO2_L3_V03 netCDF file"
"We first define a function for reading data from TEMPO_NO2_L3_V03 netCDF file."
]
},
{
Expand Down Expand Up @@ -384,7 +432,7 @@
"id": "b4125e14-534a-49ed-967a-52a9749e7b3c",
"metadata": {},
"source": [
"## read and examine data from a granulue"
"### Let's now examine the data in a granulue"
]
},
{
Expand Down Expand Up @@ -751,6 +799,14 @@
"len(best_trop_NO2_column)"
]
},
{
"cell_type": "markdown",
"id": "4d946d79",
"metadata": {},
"source": [
"# 5. Working with the data to subset and plot"
]
},
{
"cell_type": "markdown",
"id": "cc619a12-91ed-4105-852b-627a44ed10e5",
Expand Down Expand Up @@ -850,7 +906,7 @@
"id": "c0e39895-fb0f-4eac-a22f-76596796faef",
"metadata": {},
"source": [
"# Another way to get the data - HarmonyPy"
"# 6. Another way to get the data - HarmonyPy"
]
},
{
Expand All @@ -868,7 +924,7 @@
]
},
{
"name": "stdin",
"name": "stdout",
"output_type": "stream",
"text": [
"Username: alexrad71\n",
Expand Down Expand Up @@ -1169,6 +1225,14 @@
" ds_dict[r] = xr.merge([ds_root, ds_product])"
]
},
{
"cell_type": "markdown",
"id": "2917903c",
"metadata": {},
"source": [
"# 7. Plotting the data"
]
},
{
"cell_type": "markdown",
"id": "14879a63-ce9c-4bbe-b21a-d433841515a0",
Expand Down

0 comments on commit 98bd393

Please sign in to comment.