Skip to content

Commit 60e7e4c

Browse files
authored
small fix (#22)
1 parent 3a5ef47 commit 60e7e4c

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

book/background/context_motivation.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# Context & Motivation
22

3-
:::{admonition} Motivation
43
This book demonstrates scientific workflows using publicly-available, cloud-optimized geospatial datasets and open-source scientific software tools in order to address the need for educational resources related to new technologies and reduce barriers to entry to working with earth observation data. The tutorials in this book focus on the complexities inherent to working with n-dimensional, gridded datasets and use the core stack of software packages built on and around the Xarray data model.
5-
:::
64

75
### *I. Moving away from the 'download model' of scientific data analysis*
86

book/intro/open_source_setting.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ scale: 5%
88
align: right
99
---
1010
```
11-
**[Xarray](https://docs.xarray.dev/en/stable/#)** is a Python library and open-source project that introduces a data structure with named dimensions, coordinates and attributes that wrap NumPy-like arrays. This allows the co-location of raw data and metadata for complex, n-dimensional datasets in ways that streamline scientific analysis, enabling more consise, readable and intuitive workflows.
1211

1312
```{figure} zarr_logo.png
1413
---
@@ -17,7 +16,6 @@ align: right
1716
---
1817
```
1918

20-
**[Zarr](https://zarr.readthedocs.io/en/stable/#)** is a Python library for reading and writing data stored as Zarr groups and arrays. Zarr is built for array-like data and has flexible storage backends making it suitable data stored in local file systems as well as cloud object storage.
2119

2220
```{figure} logos/pangeo_logo.png
2321
---

book/tutorial2/nbs/5_comparing_s1_rtc_datasets.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@
519519
"source": [
520520
"fig, axs = plt.subplots(ncols=3, nrows=2, figsize=(12,5), layout='constrained')\n",
521521
"\n",
522-
"backscatter_kwargs = {'cmap':'Greys_r', 'cbar_kwargs':{'label':'backscatter'}}\n",
522+
"backscatter_kwargs = {'cmap':'Greys_r', 'cbar_kwargs':{'label':'dB'}}\n",
523523
"ls_kwargs = {'cmap':'tab20b', 'vmin':0, 'vmax':32, 'cbar_kwargs':{'label':'layover-shadow map'}}\n",
524524
"\n",
525525
"s1_tools.power_to_db(pc_subset.isel(time=1).sel(band='vv')).plot(ax=axs[0][0], **backscatter_kwargs)\n",
@@ -729,7 +729,7 @@
729729
"fig.suptitle(f'{date_actual}: Comparing backscatter images ' + r\"$\\bf{after}$\" + ' masking')\n",
730730
"s1_tools.power_to_db(asf_da.sel(band='vv').sel(time=date_target, method='nearest')).plot(cmap=plt.cm.Greys_r, ax=ax[0])\n",
731731
"ax[0].set_title('ASF')\n",
732-
"s1_tools.power_to_db(pc_mask.sel(band='vv').sel(time=date_target, method='nearest')).plot(cmap=plt.cm.Greys_r,ax=ax[1], cbar_kwargs={'label':'backscatter'})\n",
732+
"s1_tools.power_to_db(pc_mask.sel(band='vv').sel(time=date_target, method='nearest')).plot(cmap=plt.cm.Greys_r,ax=ax[1], cbar_kwargs={'label':'dB'})\n",
733733
"ax[1].set_title('PC')\n",
734734
"\n",
735735
"ax[0].set_ylabel(None)\n",

0 commit comments

Comments
 (0)