Skip to content

Commit 1d9ea3e

Browse files
committed
adding new fig for readme
1 parent b7bdfdc commit 1d9ea3e

File tree

3 files changed

+36
-3
lines changed

3 files changed

+36
-3
lines changed

glacier_image_correlation/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ This set of Github Actions workflows allows you to measure horizontal glacier su
66
## Usage
77
We use three workflows to batch process image pairs for glacier surface velocity. For demonstration purposes the workflows are only set up to work over the [Yazghil Glacier](https://earth.google.com/earth/d/1myewNJrDEM0tW1_xdpWCYaRCGDcOBwiy?usp=drive_link) in Pakistan. To run the workflows, simply fork this repository, visit the "Actions" tab, and choose the `batch_image_correlation` workflow (which runs the other two workflows as well).
88

9+
![plot](./images/workflow_diagram.png)
10+
911
### 1. `image_correlation_pair`
1012
This workflow calls a Python script (image_correlation.py) that runs autoRIFT on a pair of spatially overlapping [Sentinel-2 L2A](https://docs.sentinel-hub.com/api/latest/data/sentinel-2-l2a/) images. It requires the [product names](https://sentiwiki.copernicus.eu/web/s2-products) of the two images. The images are downloaded from aws using the [Element 84 Earth Search API](https://element84.com/earth-search/). Only the near infrared band (NIR, B08) is used which has a spatial resolution of 10 m. autoRIFT is used to perform image correlation. Search distances are scaled with temporal baseline assuming a maximum surface velocity of 1000 m/yr, so images acquired farther apart in time take longer to process. Surface velocity maps are saved as geotifs and uploaded as [Github Artifacts](https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts).
1113

Loading

glacier_image_correlation/notebooks/image_correlation.ipynb

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,37 @@
3737
"import dask"
3838
]
3939
},
40+
{
41+
"cell_type": "code",
42+
"execution_count": 2,
43+
"id": "5e29df75-0cc3-4a3a-be88-e033efcae477",
44+
"metadata": {},
45+
"outputs": [],
46+
"source": [
47+
"test = '10'"
48+
]
49+
},
50+
{
51+
"cell_type": "code",
52+
"execution_count": 4,
53+
"id": "056d94b6-f173-489b-b43a-fec10d59bf6f",
54+
"metadata": {},
55+
"outputs": [
56+
{
57+
"data": {
58+
"text/plain": [
59+
"10.0"
60+
]
61+
},
62+
"execution_count": 4,
63+
"metadata": {},
64+
"output_type": "execute_result"
65+
}
66+
],
67+
"source": [
68+
"float(test)"
69+
]
70+
},
4071
{
4172
"cell_type": "markdown",
4273
"id": "4d85ece7-e479-4e7e-8bf1-ade9d71734e7",
@@ -1806,9 +1837,9 @@
18061837
],
18071838
"metadata": {
18081839
"kernelspec": {
1809-
"display_name": "image-correlation",
1840+
"display_name": "Python 3 (ipykernel)",
18101841
"language": "python",
1811-
"name": "image-correlation"
1842+
"name": "python3"
18121843
},
18131844
"language_info": {
18141845
"codemirror_mode": {
@@ -1820,7 +1851,7 @@
18201851
"name": "python",
18211852
"nbconvert_exporter": "python",
18221853
"pygments_lexer": "ipython3",
1823-
"version": "3.12.3"
1854+
"version": "3.11.9"
18241855
}
18251856
},
18261857
"nbformat": 4,

0 commit comments

Comments
 (0)