Skip to content

Commit aaa984d

Browse files
committed
updates to include the dsnr option in change mapping
1 parent 8b85ae5 commit aaa984d

18 files changed

+133
-106
lines changed

bookdown/09-api.Rmd

+3-2
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ print(ndviFTV);
463463
+ **checked (Boolean)**: `true` or `false` for whether to filter by magnitude. If `true`, then you must define `value` and `operator` described as follows.
464464
+ **value (Integer)**: The absolute value representing the spectral delta of change events to be compared against the following `operator` parameter. It is in the units of the spectral index defined by the `index` parameter in the `runLT` function described above. If the `index` is a normalized index like NBR or NDVI, the value should be multiplied by 1000. For instance, if you want to map NDVI delta segments greater than 0.4, the value here would be 400. If the `index` is a Landsat spectral band, like 'B5', the units are that of the USGS Collection 1 Surface Reflectance product.
465465
+ **operator (String)**: A comparative operator, either `'<'` or `'>'`, used to compare change event magnitude against the threshold `value` described previously. Only change segments resulting in a `true` condition will be included in the map
466-
+ **dsnr (Boolean)**: `true` or `false` for whether the magnitude should be standardized by the RMSE of the LandTrendr fit. If `true` then the `value` needs to be interpreted as a factor of RMSE. If you want to only include change that is greater than the RMSE of the fit, then `value` should be 1, if you only want change that is greater than 2 times the RMSE, then `value` should be 2.
466+
+ **dsnr (Boolean)**: `true` or `false` for whether the magnitude should be standardized by the RMSE of the LandTrendr fit. If `true` then the `value` needs to be interpreted as a factor of RMSE. If you want to only include change that is greater than the RMSE of the fit, then `value` should be 1, if you only want change that is greater than 2 times the RMSE, then `value` should be 2. More details on DSNR can be found here: Cohen, W. B., Yang, Z., Healey, S. P., Kennedy, R. E., & Gorelick, N. (2018). A LandTrendr multispectral ensemble for forest disturbance detection. Remote Sensing of Environment, 205, 131-140.
467467
+ **dur (Dictionary)**: Options for filtering change events by duration.
468468
+ **checked (Boolean)**: `true` or `false` for whether to filter by duration. If `true`, then you must define `value` and `operator` described as follows.
469469
+ **value (Integer)**: The number of years a change event took to complete to be compared against the following `operator` parameter. It is in units of years.
@@ -486,7 +486,8 @@ An ee.Image with bands for attributes of change events meeting filtering criteri
486486
+ **Magnitude of change event**: `'mag'` (absolute value of change event spectral delta)
487487
+ **Duration of change event**: `'dur'` (years)
488488
+ **Pre-change event spectral value**: `'preval'` (spectral value)
489-
+ **Rate of spectral change for event** `'rate'` (`mag/dur`)
489+
+ **Rate of spectral change for event** `'rate'` (`mag/dur`)
490+
+ **DSNR** `'dsnr'` (`mag/fit rmse`) multipled by 100 to retain two decimal precision with Int16 data. See the following for more information on the metric: Cohen, W. B., Yang, Z., Healey, S. P., Kennedy, R. E., & Gorelick, N. (2018). A LandTrendr multispectral ensemble for forest disturbance detection. Remote Sensing of Environment, 205, 131-140.
490491

491492
*Note:*
492493

bookdown/14-updates.Rmd

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
If you have questions or find that updates introduce errors, please post an issue in the [LT-GEE GitHub repository](https://github.com/eMapR/LT-GEE/issues) - if you don't have a GitHub account, email Justin at: [email protected]
44

5+
## 2018-12-02
6+
7+
+ Added the option to filter change maps by change magnitude standarized by the LandTrendr fit RMSE. This metric is refered to as DSNR. Please see the [getChangeMap](./api.html#getChangeMap) function for more details on using this option and for the metric reference. The change also included exporting the DSNR metric as an additional band to the change map attribute image stack.
8+
59
## 2018-11-07
610

711
+ Replaced the `disturbanceMap` API function with [getChangeMap](./api.html#getChangeMap), which fixes many logic problems and adds

docs/api.html

+9-7
Original file line numberDiff line numberDiff line change
@@ -173,12 +173,13 @@
173173
<li class="chapter" data-level="12" data-path="references.html"><a href="references.html"><i class="fa fa-check"></i><b>12</b> References</a></li>
174174
<li class="chapter" data-level="13" data-path="citation.html"><a href="citation.html"><i class="fa fa-check"></i><b>13</b> Citation</a></li>
175175
<li class="chapter" data-level="14" data-path="updates.html"><a href="updates.html"><i class="fa fa-check"></i><b>14</b> Updates</a><ul>
176-
<li class="chapter" data-level="14.1" data-path="updates.html"><a href="updates.html#section"><i class="fa fa-check"></i><b>14.1</b> 2018-11-07</a></li>
177-
<li class="chapter" data-level="14.2" data-path="updates.html"><a href="updates.html#section-1"><i class="fa fa-check"></i><b>14.2</b> 2018-10-09</a></li>
178-
<li class="chapter" data-level="14.3" data-path="updates.html"><a href="updates.html#section-2"><i class="fa fa-check"></i><b>14.3</b> 2018-10-08</a></li>
179-
<li class="chapter" data-level="14.4" data-path="updates.html"><a href="updates.html#section-3"><i class="fa fa-check"></i><b>14.4</b> 2018-07-25</a></li>
180-
<li class="chapter" data-level="14.5" data-path="updates.html"><a href="updates.html#section-4"><i class="fa fa-check"></i><b>14.5</b> 2018-06-26</a></li>
181-
<li class="chapter" data-level="14.6" data-path="updates.html"><a href="updates.html#section-5"><i class="fa fa-check"></i><b>14.6</b> 2018-06-13</a></li>
176+
<li class="chapter" data-level="14.1" data-path="updates.html"><a href="updates.html#section"><i class="fa fa-check"></i><b>14.1</b> 2018-12-02</a></li>
177+
<li class="chapter" data-level="14.2" data-path="updates.html"><a href="updates.html#section-1"><i class="fa fa-check"></i><b>14.2</b> 2018-11-07</a></li>
178+
<li class="chapter" data-level="14.3" data-path="updates.html"><a href="updates.html#section-2"><i class="fa fa-check"></i><b>14.3</b> 2018-10-09</a></li>
179+
<li class="chapter" data-level="14.4" data-path="updates.html"><a href="updates.html#section-3"><i class="fa fa-check"></i><b>14.4</b> 2018-10-08</a></li>
180+
<li class="chapter" data-level="14.5" data-path="updates.html"><a href="updates.html#section-4"><i class="fa fa-check"></i><b>14.5</b> 2018-07-25</a></li>
181+
<li class="chapter" data-level="14.6" data-path="updates.html"><a href="updates.html#section-5"><i class="fa fa-check"></i><b>14.6</b> 2018-06-26</a></li>
182+
<li class="chapter" data-level="14.7" data-path="updates.html"><a href="updates.html#section-6"><i class="fa fa-check"></i><b>14.7</b> 2018-06-13</a></li>
182183
</ul></li>
183184
<li class="divider"></li>
184185
<li><a href="https://github.com/rstudio/bookdown" target="blank">Published with bookdown</a></li>
@@ -579,7 +580,7 @@ <h3><span class="header-section-number">9.1.9</span> getChangeMap</h3>
579580
<li><strong>checked (Boolean)</strong>: <code>true</code> or <code>false</code> for whether to filter by magnitude. If <code>true</code>, then you must define <code>value</code> and <code>operator</code> described as follows.</li>
580581
<li><strong>value (Integer)</strong>: The absolute value representing the spectral delta of change events to be compared against the following <code>operator</code> parameter. It is in the units of the spectral index defined by the <code>index</code> parameter in the <code>runLT</code> function described above. If the <code>index</code> is a normalized index like NBR or NDVI, the value should be multiplied by 1000. For instance, if you want to map NDVI delta segments greater than 0.4, the value here would be 400. If the <code>index</code> is a Landsat spectral band, like ‘B5’, the units are that of the USGS Collection 1 Surface Reflectance product.</li>
581582
<li><strong>operator (String)</strong>: A comparative operator, either <code>'&lt;'</code> or <code>'&gt;'</code>, used to compare change event magnitude against the threshold <code>value</code> described previously. Only change segments resulting in a <code>true</code> condition will be included in the map</li>
582-
<li><strong>dsnr (Boolean)</strong>: <code>true</code> or <code>false</code> for whether the magnitude should be standardized by the RMSE of the LandTrendr fit. If <code>true</code> then the <code>value</code> needs to be interpreted as a factor of RMSE. If you want to only include change that is greater than the RMSE of the fit, then <code>value</code> should be 1, if you only want change that is greater than 2 times the RMSE, then <code>value</code> should be 2.<br />
583+
<li><strong>dsnr (Boolean)</strong>: <code>true</code> or <code>false</code> for whether the magnitude should be standardized by the RMSE of the LandTrendr fit. If <code>true</code> then the <code>value</code> needs to be interpreted as a factor of RMSE. If you want to only include change that is greater than the RMSE of the fit, then <code>value</code> should be 1, if you only want change that is greater than 2 times the RMSE, then <code>value</code> should be 2. More details on DSNR can be found here: Cohen, W. B., Yang, Z., Healey, S. P., Kennedy, R. E., &amp; Gorelick, N. (2018). A LandTrendr multispectral ensemble for forest disturbance detection. Remote Sensing of Environment, 205, 131-140.<br />
583584
</li>
584585
</ul></li>
585586
<li><strong>dur (Dictionary)</strong>: Options for filtering change events by duration.
@@ -609,6 +610,7 @@ <h3><span class="header-section-number">9.1.9</span> getChangeMap</h3>
609610
<li><strong>Duration of change event</strong>: <code>'dur'</code> (years)</li>
610611
<li><strong>Pre-change event spectral value</strong>: <code>'preval'</code> (spectral value)</li>
611612
<li><strong>Rate of spectral change for event</strong> <code>'rate'</code> (<code>mag/dur</code>)</li>
613+
<li><strong>DSNR</strong> <code>'dsnr'</code> (<code>mag/fit rmse</code>) multipled by 100 to retain two decimal precision with Int16 data. See the following for more information on the metric: Cohen, W. B., Yang, Z., Healey, S. P., Kennedy, R. E., &amp; Gorelick, N. (2018). A LandTrendr multispectral ensemble for forest disturbance detection. Remote Sensing of Environment, 205, 131-140.</li>
612614
</ul>
613615
<p><em>Note:</em></p>
614616
<p>Use the <a href="https://emaprlab.users.earthengine.app/view/lt-gee-change-mapper">LT-GEE Change Mapper App</a> as a test to determine parameter values.</p>

docs/citation.html

+7-6
Original file line numberDiff line numberDiff line change
@@ -173,12 +173,13 @@
173173
<li class="chapter" data-level="12" data-path="references.html"><a href="references.html"><i class="fa fa-check"></i><b>12</b> References</a></li>
174174
<li class="chapter" data-level="13" data-path="citation.html"><a href="citation.html"><i class="fa fa-check"></i><b>13</b> Citation</a></li>
175175
<li class="chapter" data-level="14" data-path="updates.html"><a href="updates.html"><i class="fa fa-check"></i><b>14</b> Updates</a><ul>
176-
<li class="chapter" data-level="14.1" data-path="updates.html"><a href="updates.html#section"><i class="fa fa-check"></i><b>14.1</b> 2018-11-07</a></li>
177-
<li class="chapter" data-level="14.2" data-path="updates.html"><a href="updates.html#section-1"><i class="fa fa-check"></i><b>14.2</b> 2018-10-09</a></li>
178-
<li class="chapter" data-level="14.3" data-path="updates.html"><a href="updates.html#section-2"><i class="fa fa-check"></i><b>14.3</b> 2018-10-08</a></li>
179-
<li class="chapter" data-level="14.4" data-path="updates.html"><a href="updates.html#section-3"><i class="fa fa-check"></i><b>14.4</b> 2018-07-25</a></li>
180-
<li class="chapter" data-level="14.5" data-path="updates.html"><a href="updates.html#section-4"><i class="fa fa-check"></i><b>14.5</b> 2018-06-26</a></li>
181-
<li class="chapter" data-level="14.6" data-path="updates.html"><a href="updates.html#section-5"><i class="fa fa-check"></i><b>14.6</b> 2018-06-13</a></li>
176+
<li class="chapter" data-level="14.1" data-path="updates.html"><a href="updates.html#section"><i class="fa fa-check"></i><b>14.1</b> 2018-12-02</a></li>
177+
<li class="chapter" data-level="14.2" data-path="updates.html"><a href="updates.html#section-1"><i class="fa fa-check"></i><b>14.2</b> 2018-11-07</a></li>
178+
<li class="chapter" data-level="14.3" data-path="updates.html"><a href="updates.html#section-2"><i class="fa fa-check"></i><b>14.3</b> 2018-10-09</a></li>
179+
<li class="chapter" data-level="14.4" data-path="updates.html"><a href="updates.html#section-3"><i class="fa fa-check"></i><b>14.4</b> 2018-10-08</a></li>
180+
<li class="chapter" data-level="14.5" data-path="updates.html"><a href="updates.html#section-4"><i class="fa fa-check"></i><b>14.5</b> 2018-07-25</a></li>
181+
<li class="chapter" data-level="14.6" data-path="updates.html"><a href="updates.html#section-5"><i class="fa fa-check"></i><b>14.6</b> 2018-06-26</a></li>
182+
<li class="chapter" data-level="14.7" data-path="updates.html"><a href="updates.html#section-6"><i class="fa fa-check"></i><b>14.7</b> 2018-06-13</a></li>
182183
</ul></li>
183184
<li class="divider"></li>
184185
<li><a href="https://github.com/rstudio/bookdown" target="blank">Published with bookdown</a></li>

docs/example-scripts.html

+7-6
Original file line numberDiff line numberDiff line change
@@ -173,12 +173,13 @@
173173
<li class="chapter" data-level="12" data-path="references.html"><a href="references.html"><i class="fa fa-check"></i><b>12</b> References</a></li>
174174
<li class="chapter" data-level="13" data-path="citation.html"><a href="citation.html"><i class="fa fa-check"></i><b>13</b> Citation</a></li>
175175
<li class="chapter" data-level="14" data-path="updates.html"><a href="updates.html"><i class="fa fa-check"></i><b>14</b> Updates</a><ul>
176-
<li class="chapter" data-level="14.1" data-path="updates.html"><a href="updates.html#section"><i class="fa fa-check"></i><b>14.1</b> 2018-11-07</a></li>
177-
<li class="chapter" data-level="14.2" data-path="updates.html"><a href="updates.html#section-1"><i class="fa fa-check"></i><b>14.2</b> 2018-10-09</a></li>
178-
<li class="chapter" data-level="14.3" data-path="updates.html"><a href="updates.html#section-2"><i class="fa fa-check"></i><b>14.3</b> 2018-10-08</a></li>
179-
<li class="chapter" data-level="14.4" data-path="updates.html"><a href="updates.html#section-3"><i class="fa fa-check"></i><b>14.4</b> 2018-07-25</a></li>
180-
<li class="chapter" data-level="14.5" data-path="updates.html"><a href="updates.html#section-4"><i class="fa fa-check"></i><b>14.5</b> 2018-06-26</a></li>
181-
<li class="chapter" data-level="14.6" data-path="updates.html"><a href="updates.html#section-5"><i class="fa fa-check"></i><b>14.6</b> 2018-06-13</a></li>
176+
<li class="chapter" data-level="14.1" data-path="updates.html"><a href="updates.html#section"><i class="fa fa-check"></i><b>14.1</b> 2018-12-02</a></li>
177+
<li class="chapter" data-level="14.2" data-path="updates.html"><a href="updates.html#section-1"><i class="fa fa-check"></i><b>14.2</b> 2018-11-07</a></li>
178+
<li class="chapter" data-level="14.3" data-path="updates.html"><a href="updates.html#section-2"><i class="fa fa-check"></i><b>14.3</b> 2018-10-09</a></li>
179+
<li class="chapter" data-level="14.4" data-path="updates.html"><a href="updates.html#section-3"><i class="fa fa-check"></i><b>14.4</b> 2018-10-08</a></li>
180+
<li class="chapter" data-level="14.5" data-path="updates.html"><a href="updates.html#section-4"><i class="fa fa-check"></i><b>14.5</b> 2018-07-25</a></li>
181+
<li class="chapter" data-level="14.6" data-path="updates.html"><a href="updates.html#section-5"><i class="fa fa-check"></i><b>14.6</b> 2018-06-26</a></li>
182+
<li class="chapter" data-level="14.7" data-path="updates.html"><a href="updates.html#section-6"><i class="fa fa-check"></i><b>14.7</b> 2018-06-13</a></li>
182183
</ul></li>
183184
<li class="divider"></li>
184185
<li><a href="https://github.com/rstudio/bookdown" target="blank">Published with bookdown</a></li>

docs/faq.html

+7-6
Original file line numberDiff line numberDiff line change
@@ -173,12 +173,13 @@
173173
<li class="chapter" data-level="12" data-path="references.html"><a href="references.html"><i class="fa fa-check"></i><b>12</b> References</a></li>
174174
<li class="chapter" data-level="13" data-path="citation.html"><a href="citation.html"><i class="fa fa-check"></i><b>13</b> Citation</a></li>
175175
<li class="chapter" data-level="14" data-path="updates.html"><a href="updates.html"><i class="fa fa-check"></i><b>14</b> Updates</a><ul>
176-
<li class="chapter" data-level="14.1" data-path="updates.html"><a href="updates.html#section"><i class="fa fa-check"></i><b>14.1</b> 2018-11-07</a></li>
177-
<li class="chapter" data-level="14.2" data-path="updates.html"><a href="updates.html#section-1"><i class="fa fa-check"></i><b>14.2</b> 2018-10-09</a></li>
178-
<li class="chapter" data-level="14.3" data-path="updates.html"><a href="updates.html#section-2"><i class="fa fa-check"></i><b>14.3</b> 2018-10-08</a></li>
179-
<li class="chapter" data-level="14.4" data-path="updates.html"><a href="updates.html#section-3"><i class="fa fa-check"></i><b>14.4</b> 2018-07-25</a></li>
180-
<li class="chapter" data-level="14.5" data-path="updates.html"><a href="updates.html#section-4"><i class="fa fa-check"></i><b>14.5</b> 2018-06-26</a></li>
181-
<li class="chapter" data-level="14.6" data-path="updates.html"><a href="updates.html#section-5"><i class="fa fa-check"></i><b>14.6</b> 2018-06-13</a></li>
176+
<li class="chapter" data-level="14.1" data-path="updates.html"><a href="updates.html#section"><i class="fa fa-check"></i><b>14.1</b> 2018-12-02</a></li>
177+
<li class="chapter" data-level="14.2" data-path="updates.html"><a href="updates.html#section-1"><i class="fa fa-check"></i><b>14.2</b> 2018-11-07</a></li>
178+
<li class="chapter" data-level="14.3" data-path="updates.html"><a href="updates.html#section-2"><i class="fa fa-check"></i><b>14.3</b> 2018-10-09</a></li>
179+
<li class="chapter" data-level="14.4" data-path="updates.html"><a href="updates.html#section-3"><i class="fa fa-check"></i><b>14.4</b> 2018-10-08</a></li>
180+
<li class="chapter" data-level="14.5" data-path="updates.html"><a href="updates.html#section-4"><i class="fa fa-check"></i><b>14.5</b> 2018-07-25</a></li>
181+
<li class="chapter" data-level="14.6" data-path="updates.html"><a href="updates.html#section-5"><i class="fa fa-check"></i><b>14.6</b> 2018-06-26</a></li>
182+
<li class="chapter" data-level="14.7" data-path="updates.html"><a href="updates.html#section-6"><i class="fa fa-check"></i><b>14.7</b> 2018-06-13</a></li>
182183
</ul></li>
183184
<li class="divider"></li>
184185
<li><a href="https://github.com/rstudio/bookdown" target="blank">Published with bookdown</a></li>

0 commit comments

Comments
 (0)