Skip to content

Commit 3a56af1

Browse files
[fix] linting fixes
1 parent ea74ba9 commit 3a56af1

File tree

10 files changed

+123
-96
lines changed

10 files changed

+123
-96
lines changed

.github/workflows/replace-links.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ jobs:
2828
exclude: ".github/workflows/replace-links.yaml"
2929

3030
- name: Push changes
31-
uses: stefanzweifel/git-auto-commit-action@v5
31+
uses: stefanzweifel/git-auto-commit-action@v5

.github/workflows/trigger-book-build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ jobs:
77
uses: ProjectPythia/cookbook-actions/.github/workflows/build-book.yaml@main
88
with:
99
artifact_name: book-zip-${{ github.event.number }}
10-
base_url: '/${{ github.event.repository.name }}/_preview/${{ github.event.number }}'
10+
base_url: "/${{ github.event.repository.name }}/_preview/${{ github.event.number }}"
1111
# Other input options are possible, see ProjectPythia/cookbook-actions/.github/workflows/build-book.yaml

.github/workflows/trigger-delete-preview.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ on:
66

77
jobs:
88
delete:
9-
uses: ProjectPythia/cookbook-actions/.github/workflows/delete-preview.yaml@main
9+
uses: ProjectPythia/cookbook-actions/.github/workflows/delete-preview.yaml@main

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,4 +137,4 @@ dmypy.json
137137

138138
# Data
139139
data/
140-
**/data/
140+
**/data/

CITATION.cff

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ authors:
3232
website: "https://github.com/TUW-GEO/eo-datascience-cookbook/graphs/contributors"
3333
title: "Earth Observation Data Science Cookbook"
3434
abstract: "Earth Observation Data Science Cookbook provides training material \
35-
centered around Earth Observation data while honoring the Pangeo Philosophy. \
36-
The examples used in the notebooks represent some of the main research lines \
37-
of the Remote Sensing Unit at the Department of Geodesy and Geoinformation at \
38-
the TU Wien (Austria). In addition, the content familiarizes the reader with \
39-
the data available at the EODC (Earth Observation Data Centre For Water \
40-
Resources Monitoring) as well as the computational resources to process
41-
large amounts of data."
35+
centered around Earth Observation data while honoring the Pangeo Philosophy. \
36+
The examples used in the notebooks represent some of the main research lines \
37+
of the Remote Sensing Unit at the Department of Geodesy and Geoinformation \
38+
at the TU Wien (Austria). In addition, the content familiarizes the reader \
39+
with the data available at the EODC (Earth Observation Data Centre For Water \
40+
Resources Monitoring) as well as the computational resources to process
41+
large amounts of data."

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ teardown:
5555
jupyter kernelspec uninstall -y $(f); \
5656
conda deactivate; \
5757
conda remove -n $(f) --all -y ; \
58-
conda deactivate; )
58+
conda deactivate; )

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ need to follow this workflow:
102102
```bash
103103
cd eo-datascience-cookbook
104104
```
105-
1. Create and activate your conda environment from the ``environment.yml`` file
105+
1. Create and activate your conda environment from the `environment.yml` file
106106
```bash
107107
conda env create -f environment.yml
108108
conda activate eo-datascience-cookbook-dev

_toc.yml

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
11
format: jb-book
22
parts:
3-
- caption: Preamble
4-
chapters:
5-
- file: notebooks/how-to-cite
6-
- caption: Courses
7-
chapters:
8-
- file: notebooks/courses/microwave-remote-sensing
9-
sections:
10-
- file: notebooks/courses/microwave-remote-sensing/unit_01/01_in_class_exercise
11-
- file: notebooks/courses/microwave-remote-sensing/unit_01/02_in_class_exercise
12-
- file: notebooks/courses/microwave-remote-sensing/unit_01/03_in_class_exercise
13-
- file: notebooks/courses/microwave-remote-sensing/unit_02/04_in_class_exercise
14-
- file: notebooks/courses/microwave-remote-sensing/unit_02/05_in_class_exercise
15-
- file: notebooks/courses/microwave-remote-sensing/unit_02/06_in_class_exercise
16-
- file: notebooks/courses/microwave-remote-sensing/unit_03/07_in_class_exercise
17-
- file: notebooks/courses/microwave-remote-sensing/unit_03/08_in_class_exercise
18-
- file: notebooks/courses/microwave-remote-sensing/unit_03/09_in_class_exercise
19-
- file: notebooks/courses/environmental-remote-sensing
20-
sections:
21-
- file: notebooks/courses/environmental-remote-sensing/mozambique-droughts
22-
- caption: Templates
23-
chapters:
24-
- file: notebooks/templates/prereqs-templates
25-
sections:
26-
- file: notebooks/templates/classification
27-
- caption: Tutorials
28-
chapters:
29-
- file: notebooks/tutorials/prereqs-tutorials
30-
sections:
31-
- file: notebooks/tutorials/floodmapping
32-
- file: notebooks/tutorials/harmonic-parameters
33-
- caption: References
34-
chapters:
35-
- file: notebooks/references
3+
- caption: Preamble
4+
chapters:
5+
- file: notebooks/how-to-cite
6+
- caption: Courses
7+
chapters:
8+
- file: notebooks/courses/microwave-remote-sensing
9+
sections:
10+
- file: notebooks/courses/microwave-remote-sensing/unit_01/01_in_class_exercise
11+
- file: notebooks/courses/microwave-remote-sensing/unit_01/02_in_class_exercise
12+
- file: notebooks/courses/microwave-remote-sensing/unit_01/03_in_class_exercise
13+
- file: notebooks/courses/microwave-remote-sensing/unit_02/04_in_class_exercise
14+
- file: notebooks/courses/microwave-remote-sensing/unit_02/05_in_class_exercise
15+
- file: notebooks/courses/microwave-remote-sensing/unit_02/06_in_class_exercise
16+
- file: notebooks/courses/microwave-remote-sensing/unit_03/07_in_class_exercise
17+
- file: notebooks/courses/microwave-remote-sensing/unit_03/08_in_class_exercise
18+
- file: notebooks/courses/microwave-remote-sensing/unit_03/09_in_class_exercise
19+
- file: notebooks/courses/environmental-remote-sensing
20+
sections:
21+
- file: notebooks/courses/environmental-remote-sensing/mozambique-droughts
22+
- caption: Templates
23+
chapters:
24+
- file: notebooks/templates/prereqs-templates
25+
sections:
26+
- file: notebooks/templates/classification
27+
- caption: Tutorials
28+
chapters:
29+
- file: notebooks/tutorials/prereqs-tutorials
30+
sections:
31+
- file: notebooks/tutorials/floodmapping
32+
- file: notebooks/tutorials/harmonic-parameters
33+
- caption: References
34+
chapters:
35+
- file: notebooks/references
3636
root: README

notebooks/courses/microwave-remote-sensing/_quarto.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ format:
4141
title-block-banner-color: white
4242

4343
execute:
44-
freeze: true
44+
freeze: true
Lines changed: 76 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,77 @@
11
{
2-
"land_cover": [
3-
{"value": 1, "color": "#e6004d", "label": "Continuous urban fabric"},
4-
{"value": 2, "color": "#ff0000", "label": "Discontinuous urban fabric"},
5-
{"value": 3, "color": "#cc4df2", "label": "Industrial or commercial units"},
6-
{"value": 4, "color": "#cc0000", "label": "Road and rail networks and associated land"},
7-
{"value": 5, "color": "#e6cccc", "label": "Port areas"},
8-
{"value": 6, "color": "#e6cce6", "label": "Airports"},
9-
{"value": 7, "color": "#a600cc", "label": "Mineral extraction sites"},
10-
{"value": 8, "color": "#a64d00", "label": "Dump sites"},
11-
{"value": 9, "color": "#ff4dff", "label": "Construction sites"},
12-
{"value": 10, "color": "#ffa6ff", "label": "Green urban areas"},
13-
{"value": 11, "color": "#ffe6ff", "label": "Sport and leisure facilities"},
14-
{"value": 12, "color": "#ffffa8", "label": "Non-irrigated arable land"},
15-
{"value": 13, "color": "#ffff00", "label": "Permanently irrigated land"},
16-
{"value": 14, "color": "#e6e600", "label": "Rice fields"},
17-
{"value": 15, "color": "#e68000", "label": "Vineyards"},
18-
{"value": 16, "color": "#f2a64d", "label": "Fruit trees and berry plantations"},
19-
{"value": 17, "color": "#e6a600", "label": "Olive groves"},
20-
{"value": 18, "color": "#e6e64d", "label": "Pastures"},
21-
{"value": 19, "color": "#ffe6a6", "label": "Annual crops associated with permanent crops"},
22-
{"value": 20, "color": "#ffe64d", "label": "Complex cultivation patterns"},
23-
{"value": 21, "color": "#e6cc4d", "label": "Agricultural land with natural vegetation"},
24-
{"value": 22, "color": "#f2cca6", "label": "Agro-forestry areas"},
25-
{"value": 23, "color": "#80ff00", "label": "Broad-leaved forest"},
26-
{"value": 24, "color": "#00a600", "label": "Coniferous forest"},
27-
{"value": 25, "color": "#4dff00", "label": "Mixed forest"},
28-
{"value": 26, "color": "#ccf24d", "label": "Natural grasslands"},
29-
{"value": 27, "color": "#a6ff80", "label": "Moors and heathland"},
30-
{"value": 28, "color": "#a6e64d", "label": "Sclerophyllous vegetation"},
31-
{"value": 29, "color": "#a6f200", "label": "Transitional woodland-shrub"},
32-
{"value": 30, "color": "#e6e6e6", "label": "Beaches - dunes - sands"},
33-
{"value": 31, "color": "#cccccc", "label": "Bare rocks"},
34-
{"value": 32, "color": "#ccffcc", "label": "Sparsely vegetated areas"},
35-
{"value": 33, "color": "#000000", "label": "Burnt areas"},
36-
{"value": 34, "color": "#a6e6cc", "label": "Glaciers and perpetual snow"},
37-
{"value": 35, "color": "#a6a6ff", "label": "Inland marshes"},
38-
{"value": 36, "color": "#4d4dff", "label": "Peat bogs"},
39-
{"value": 37, "color": "#ccccff", "label": "Salt marshes"},
40-
{"value": 38, "color": "#e6e6ff", "label": "Salines"},
41-
{"value": 39, "color": "#a6a6e6", "label": "Intertidal flats"},
42-
{"value": 40, "color": "#00ccf2", "label": "Water courses"},
43-
{"value": 41, "color": "#80f2e6", "label": "Water bodies"},
44-
{"value": 42, "color": "#00ffa6", "label": "Coastal lagoons"},
45-
{"value": 43, "color": "#a6ffe6", "label": "Estuaries"},
46-
{"value": 44, "color": "#e6f2ff", "label": "Sea and ocean"},
47-
{"value": 48, "color": "#ffffff", "label": "NODATA"}
48-
]
49-
}
50-
2+
"land_cover": [
3+
{ "value": 1, "color": "#e6004d", "label": "Continuous urban fabric" },
4+
{ "value": 2, "color": "#ff0000", "label": "Discontinuous urban fabric" },
5+
{
6+
"value": 3,
7+
"color": "#cc4df2",
8+
"label": "Industrial or commercial units"
9+
},
10+
{
11+
"value": 4,
12+
"color": "#cc0000",
13+
"label": "Road and rail networks and associated land"
14+
},
15+
{ "value": 5, "color": "#e6cccc", "label": "Port areas" },
16+
{ "value": 6, "color": "#e6cce6", "label": "Airports" },
17+
{ "value": 7, "color": "#a600cc", "label": "Mineral extraction sites" },
18+
{ "value": 8, "color": "#a64d00", "label": "Dump sites" },
19+
{ "value": 9, "color": "#ff4dff", "label": "Construction sites" },
20+
{ "value": 10, "color": "#ffa6ff", "label": "Green urban areas" },
21+
{
22+
"value": 11,
23+
"color": "#ffe6ff",
24+
"label": "Sport and leisure facilities"
25+
},
26+
{ "value": 12, "color": "#ffffa8", "label": "Non-irrigated arable land" },
27+
{ "value": 13, "color": "#ffff00", "label": "Permanently irrigated land" },
28+
{ "value": 14, "color": "#e6e600", "label": "Rice fields" },
29+
{ "value": 15, "color": "#e68000", "label": "Vineyards" },
30+
{
31+
"value": 16,
32+
"color": "#f2a64d",
33+
"label": "Fruit trees and berry plantations"
34+
},
35+
{ "value": 17, "color": "#e6a600", "label": "Olive groves" },
36+
{ "value": 18, "color": "#e6e64d", "label": "Pastures" },
37+
{
38+
"value": 19,
39+
"color": "#ffe6a6",
40+
"label": "Annual crops associated with permanent crops"
41+
},
42+
{
43+
"value": 20,
44+
"color": "#ffe64d",
45+
"label": "Complex cultivation patterns"
46+
},
47+
{
48+
"value": 21,
49+
"color": "#e6cc4d",
50+
"label": "Agricultural land with natural vegetation"
51+
},
52+
{ "value": 22, "color": "#f2cca6", "label": "Agro-forestry areas" },
53+
{ "value": 23, "color": "#80ff00", "label": "Broad-leaved forest" },
54+
{ "value": 24, "color": "#00a600", "label": "Coniferous forest" },
55+
{ "value": 25, "color": "#4dff00", "label": "Mixed forest" },
56+
{ "value": 26, "color": "#ccf24d", "label": "Natural grasslands" },
57+
{ "value": 27, "color": "#a6ff80", "label": "Moors and heathland" },
58+
{ "value": 28, "color": "#a6e64d", "label": "Sclerophyllous vegetation" },
59+
{ "value": 29, "color": "#a6f200", "label": "Transitional woodland-shrub" },
60+
{ "value": 30, "color": "#e6e6e6", "label": "Beaches - dunes - sands" },
61+
{ "value": 31, "color": "#cccccc", "label": "Bare rocks" },
62+
{ "value": 32, "color": "#ccffcc", "label": "Sparsely vegetated areas" },
63+
{ "value": 33, "color": "#000000", "label": "Burnt areas" },
64+
{ "value": 34, "color": "#a6e6cc", "label": "Glaciers and perpetual snow" },
65+
{ "value": 35, "color": "#a6a6ff", "label": "Inland marshes" },
66+
{ "value": 36, "color": "#4d4dff", "label": "Peat bogs" },
67+
{ "value": 37, "color": "#ccccff", "label": "Salt marshes" },
68+
{ "value": 38, "color": "#e6e6ff", "label": "Salines" },
69+
{ "value": 39, "color": "#a6a6e6", "label": "Intertidal flats" },
70+
{ "value": 40, "color": "#00ccf2", "label": "Water courses" },
71+
{ "value": 41, "color": "#80f2e6", "label": "Water bodies" },
72+
{ "value": 42, "color": "#00ffa6", "label": "Coastal lagoons" },
73+
{ "value": 43, "color": "#a6ffe6", "label": "Estuaries" },
74+
{ "value": 44, "color": "#e6f2ff", "label": "Sea and ocean" },
75+
{ "value": 48, "color": "#ffffff", "label": "NODATA" }
76+
]
77+
}

0 commit comments

Comments
 (0)