Skip to content

Commit 1bad642

Browse files
author
Supratim Banik
committed
installation steps chnaged to code
1 parent 6d612e7 commit 1bad642

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed
Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"source": [
5353
"This notebook describes the different ways cloud masks can be generated from satellite imagery, in this instance using sentinel imagery.\n",
5454
"\n",
55-
"Cloud presence causes problems for remote sensing analysis of surface properties, for instance in analyses like land use and land cover classification, image compositing, or change detection . In cases of single scene image processing, it is relatively easy to manually filter out clouds; however, for studies that use a larger number of images, an automated approach for removing or masking out clouds is necessary.\n",
55+
"Cloud presence causes problems for remote sensing analysis of surface properties, for instance in analyses like land use and land cover classification, image compositing, or change detection. In cases of single scene image processing, it is relatively easy to manually filter out clouds; however, for studies that use a larger number of images, an automated approach for removing or masking out clouds is necessary.\n",
5656
"\n",
5757
"In parts 1 and 2 of this notebook series, we will demonstrate three methods of cloud mask extraction:\n",
5858
"\n",
@@ -113,8 +113,16 @@
113113
"id": "1a7afe18",
114114
"metadata": {},
115115
"source": [
116-
"The Sentinel cloudless package can be installed using the following commands:\n",
117-
"\n",
116+
"The Sentinel cloudless package can be installed using the following commands:"
117+
]
118+
},
119+
{
120+
"cell_type": "code",
121+
"execution_count": null,
122+
"id": "855756a4",
123+
"metadata": {},
124+
"outputs": [],
125+
"source": [
118126
"pip install sentinelhub --upgrade\n",
119127
"\n",
120128
"pip install s2cloudless"
@@ -1491,10 +1499,10 @@
14911499
},
14921500
{
14931501
"cell_type": "markdown",
1494-
"id": "a2056d93",
1502+
"id": "2b2774fb",
14951503
"metadata": {},
14961504
"source": [
1497-
"Here the imagery name is 'rgbnir_iowa.tif', following which the name of the 4 bands of blue, green, red, and near infrared bands would be 'small_rgb_iowa3','small_rgb_iowa3_1', 'small_rgb_iowa3_2', 'small_rgb_iowa3_3' respectively. These bands will be used for defining the preprocessors."
1505+
"Here, the imagery name is rgbnir_iowa.tif, and the name of the 4 bands of blue, green, red, and near infrared are small_rgb_iowa3, small_rgb_iowa3_1, small_rgb_iowa3_2, small_rgb_iowa3_3 respectively. These bands will be used for defining the preprocessors."
14981506
]
14991507
},
15001508
{
@@ -1523,7 +1531,7 @@
15231531
"id": "72c94843",
15241532
"metadata": {},
15251533
"source": [
1526-
"This is a four band imagery so the preprocessors are first defined for scaling it."
1534+
"This is a four band imagery, so the preprocessors are first defined for scaling."
15271535
]
15281536
},
15291537
{
@@ -1657,7 +1665,7 @@
16571665
"id": "bf3f990e",
16581666
"metadata": {},
16591667
"source": [
1660-
"Once the data is prepared, an unsupervised model of k-means clustering from scikit-learn can be used here for clustering the pixels into clouds and no clouds. Here, the clustering model is passed inside an MLModel, with number of clusters set as three representing no clouds, medium clouds and dense clouds."
1668+
"Once the data is prepared, an unsupervised model of k-means clustering from scikit-learn can be used for clustering the pixels into areas of clouds and no clouds. The clustering model is passed inside an MLModel, with the number of clusters set as three for the classes of no clouds, medium clouds, and dense clouds."
16611669
]
16621670
},
16631671
{
@@ -1885,7 +1893,7 @@
18851893
"source": [
18861894
"## Conclusion<a class=\"anchor\" id=\"19\"></a>\n",
18871895
"\n",
1888-
"In this sample notebook two methods has been described that can be used to create cloud masks from satellite images. A third method will be described in the second part of the notebook series.\n",
1896+
"In this sample notebook, two methods were described to create cloud masks from satellite images. A third method will be described in the second part of this notebook series.\n",
18891897
"\n",
18901898
"The cloudless sentinel package performed well in detecting clouds and provides flexibility to the user to detect different intensities of clouds by changing the model's initialization parameters. However, the core caveat of this model is that it can only be used on Sentinel imagery.\n",
18911899
"\n",

0 commit comments

Comments
 (0)