This commit is contained in:
Caleb Robinson 2021-06-22 23:38:43 +00:00
Родитель 0377de8291
Коммит ada61a91fd
1 изменённых файлов: 10 добавлений и 10 удалений

Просмотреть файл

@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "burning-thriller",
"id": "manufactured-thriller",
"metadata": {},
"source": [
"This example notebook shows how to use `rasterio` to align two spatially overlapping rasters.\n",
@ -12,13 +12,13 @@
"2. We would like to reproject the land cover data into the same coordinate system used by the aerial imagery\n",
"3. We would like to resample the land cover data to the same spatial resolution of the aerial imagery\n",
"\n",
"If we can do these three things, then we will have two raster layers that are aligned at the pixel level, and that can be trivially used in a variety of ML workflows (e.g. we could try to train a model to super resolve the land cover data given the aerial imagery)."
"If we can do these three things, then we will have two raster layers that are aligned at the pixel level, and that can be trivially used in a variety of ML workflows (e.g. we could try to train a model to super resolve the land cover data given the aerial imagery). `rasterio` makes it very easy to do all three of these in-memory with a `WarpedVRT`, see below!"
]
},
{
"cell_type": "code",
"execution_count": 1,
"id": "passing-trigger",
"id": "independent-tissue",
"metadata": {},
"outputs": [],
"source": [
@ -45,7 +45,7 @@
{
"cell_type": "code",
"execution_count": 2,
"id": "varying-behalf",
"id": "serial-bobby",
"metadata": {},
"outputs": [],
"source": [
@ -59,7 +59,7 @@
{
"cell_type": "code",
"execution_count": 3,
"id": "successful-commissioner",
"id": "rubber-logging",
"metadata": {},
"outputs": [
{
@ -89,7 +89,7 @@
{
"cell_type": "code",
"execution_count": 4,
"id": "final-blogger",
"id": "provincial-optics",
"metadata": {},
"outputs": [
{
@ -116,7 +116,7 @@
{
"cell_type": "code",
"execution_count": 5,
"id": "approximate-headline",
"id": "liable-power",
"metadata": {},
"outputs": [
{
@ -152,7 +152,7 @@
{
"cell_type": "code",
"execution_count": 6,
"id": "concrete-compound",
"id": "alpine-chicago",
"metadata": {},
"outputs": [],
"source": [
@ -190,7 +190,7 @@
{
"cell_type": "code",
"execution_count": 7,
"id": "inner-virginia",
"id": "comparable-kingdom",
"metadata": {},
"outputs": [
{
@ -217,7 +217,7 @@
{
"cell_type": "code",
"execution_count": 8,
"id": "expressed-adapter",
"id": "enabling-bouquet",
"metadata": {},
"outputs": [],
"source": [