Skip to content

Commit

Permalink
added section numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
VisheshSaluja committed Aug 16, 2024
1 parent f2a746d commit ff3465c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions book/chapters/ghcnd.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# GHCNd: Global Historical Climatology Network Daily\n"
"# 3.4 GHCNd: Global Historical Climatology Network Daily\n"
]
},
{
Expand All @@ -18,7 +18,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Overview\n",
"## 3.4.1 Overview\n",
"\n",
"The GHCNd dataset provides daily climate records from numerous weather stations worldwide. This script specifically targets snow depth data (SNWD) from active ground stations within a defined geographical area. The process involves several key steps:\n",
"\n",
Expand All @@ -31,7 +31,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### What data is being downloaded?\n",
"### 3.4.1.1 What data is being downloaded?\n",
" - **Source:** The data is sourced from the Global Historical Climatology Network Daily (GHCNd), a comprehensive dataset managed by the National Centers for Environmental Information (NCEI). It provides historical daily climate data from thousands of stations worldwide.\n",
" - **Features:** The key feature targeted by this script is Snow Depth (SNWD), which is the depth of snow on the ground at the time of observation, typically measured in millimeters.\n",
" - **Station Metadata:** Additional metadata about each station includes the station ID, geographical coordinates (latitude and longitude), and the operational period of the station (start and end years)."
Expand All @@ -41,7 +41,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Downloading and Filtering Data\n",
"## 3.4.2 Downloading and Filtering Data\n",
"\n",
"The first step in this process is to download the list of all GHCNd stations and filter them based on geographical and operational criteria. This ensures that only active stations within the region of interest are considered."
]
Expand All @@ -50,7 +50,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Downloading and Converting Station Data\n",
"### 3.4.2.1 Downloading and Converting Station Data\n",
"\n",
"The script begins by downloading the GHCNd station inventory file and converting it into a usable format. The relevant stations are then filtered based on their operational status (active in 2024) and location."
]
Expand Down Expand Up @@ -131,7 +131,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Filtering and Saving Active Stations"
"### 3.4.2.2 Filtering and Saving Active Stations"
]
},
{
Expand All @@ -150,7 +150,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Retrieving Snow Depth Observations\n",
"## 3.4.3 Retrieving Snow Depth Observations\n",
"\n",
"With the relevant stations identified, the next step is to retrieve snow depth observations from the GHCNd dataset for the specified training period. This involves downloading snow depth data from each station and processing it to ensure it is suitable for model training."
]
Expand All @@ -159,7 +159,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Processing Snow Depth Data\n",
"### 3.4.3.1 Processing Snow Depth Data\n",
"\n",
"The script uses Dask to parallelize the data retrieval process, efficiently downloading snow depth records from each station within the defined period. Dask is a powerful tool for handling large datasets, allowing for the concurrent execution of multiple data retrieval tasks."
]
Expand Down Expand Up @@ -265,7 +265,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Saving the Processed Data"
"### 3.4.3.2 Saving the Processed Data"
]
},
{
Expand All @@ -279,7 +279,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Masking Non-Snow Days\n",
"## 3.4.4 Masking Non-Snow Days\n",
"\n",
"To refine the dataset further, the script masks out days with no snow depth observations. This step is important for focusing the analysis on days where snow depth measurements are meaningful, excluding days with zero or missing data."
]
Expand Down

0 comments on commit ff3465c

Please sign in to comment.