Skip to content

Commit

Permalink
Update baseline-change.ipynb (#291)
Browse files Browse the repository at this point in the history
Fix some typos
  • Loading branch information
clausmichele committed May 22, 2024
1 parent 77edb12 commit fd08d46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions datasets/sentinel-2-l2a/baseline-change.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"\n",
"> This evolution allows avoiding the loss of information due to clamping of negative values in the predefined range `[1-32767]` occurring over dark surfaces.\n",
"\n",
"The presence of this offset in newer data makes it inappropraite to (naively) compare data from before and after the baseline change. Trying to apply a machine learning model trained on the old baseline to (unadjusted) imagery from the new baseline will yield incorrect results. And trying to train a machine learning model on old and (unadjusted) new data will likely result in much worse performance.\n",
"The presence of this offset in newer data makes it inappropriate to (naively) compare data from before and after the baseline change. Trying to apply a machine learning model trained on the old baseline to (unadjusted) imagery from the new baseline will yield incorrect results. And trying to train a machine learning model on old and (unadjusted) new data will likely result in much worse performance.\n",
"\n",
"This notebook demonstrates how the change affects the Sentinel-2 L2A data hosted on the Planetary Computer and how to harmonize the new data to be comparable to the old data."
]
Expand All @@ -42,7 +42,7 @@
"id": "e4b0be43-3b54-4188-b2e6-6097838eade4",
"metadata": {},
"source": [
"The `harmonize_to_old` function harmonizes new (post January 25th, 2022) Sentinel 2 data to be compoarable to older data. It expects an xarray DataArray similar to those returned by `stackstac`."
"The `harmonize_to_old` function harmonizes new (post January 25th, 2022) Sentinel 2 data to be comparable to older data. It expects an xarray DataArray similar to those returned by `stackstac`."
]
},
{
Expand Down Expand Up @@ -699,7 +699,7 @@
"id": "ef0f882f-99e3-422a-8973-78d2ec999486",
"metadata": {},
"source": [
"If we plot the red, green, and blue bands of the two datetimes, we'll see that the \"old\" data looks relatively dark compared tot he \"new\" data."
"If we plot the red, green, and blue bands of the two datetimes, we'll see that the \"old\" data looks relatively dark compared to the \"new\" data."
]
},
{
Expand Down

0 comments on commit fd08d46

Please sign in to comment.