Skip to content

Commit 4b5946e

Browse files
committed
Merge branch 'develop'
2 parents 4f4e56f + 582bb31 commit 4b5946e

File tree

9 files changed

+77
-12
lines changed

9 files changed

+77
-12
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
**Framework for Operational Radiometric Correction for Environmental monitoring**
44

5-
**Version 3.7.4**
5+
**Version 3.7.5-develop**
66

77
![FORCE Logo](/images/force.png)
88

docs/source/history/v3.rst

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,43 @@
11
.. _v3:
22

3+
FORCE v. 3.7.5
4+
--------------
5+
6+
Release: 04.01.2022
7+
8+
* **FORCE HLPS**
9+
10+
* in force-higher-level, TSA sub-module:
11+
Added a fix to prevent truncation of the Chlorophyll Index red-edge (Clre) index.
12+
Thanks to Dirk Pflugmacher for the notification.
13+
14+
* in force-higher-level, ML sub-module:
15+
Fixed a bug that resulted in a segfault when using RF classification, but
16+
not with RF probability output.
17+
18+
19+
FORCE v. 3.7.4
20+
--------------
21+
22+
Release: 12.11.2021
23+
24+
* **FORCE L1AS**
25+
26+
* Stefan Ernst fixed some issues in force-level1-csd regarding checks for coorindate ranges and quotes.
27+
28+
* **FORCE HLPS**
29+
30+
* in force-higher-level, all sub-modules:
31+
Implemented a fix to prevent a segfault when we have many good cluster in the
32+
spectral adjustment.
33+
34+
* **FORCE AUX**
35+
36+
* fixed an error in ``force-tile-extent``, which still used the *old* syntax of
37+
``force-cube`` in its call.
38+
Thanks to Fabian Thiel for the notification.
39+
40+
341
FORCE v. 3.7.3
442
--------------
543

docs/source/howto/udf.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This tutorial introduces User-Defined Functions in the FORCE Higher Level Proces
1111

1212
.. admonition:: Info
1313

14-
*This tutorial uses FORCE v. 3.7.3*.
14+
*This tutorial uses FORCE v. 3.7.4*.
1515

1616
We assume that you already have an existing Level 2 ARD data pool, which contains preprocessed data for multiple years (see Level 2 ARD tutorial).
1717
We also assume that you have a basic understanding of the higher-level processing system (see interpolation tutorial).

docs/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ FORCE documentation
55

66
**FORCE: Framework for Operational Radiometric Correction for Environmental monitoring**
77

8-
**Version 3.7.4**
8+
**Version 3.7.5-develop**
99

1010
`Download from Github <https://github.com/davidfrantz/force>`_.
1111

docs/source/refs-applied.rst

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,28 @@
33
Applied Publications
44
====================
55

6-
This list summarizes all scientific publications that have used FORCE. If you have used FORCE, or are aware of unlisted papers, I would be happy if you you could send me your published papers with DOI, and I will include them here in this list (:ref:`contact`).
6+
This list summarizes all scientific publications that have used FORCE.
7+
If you have used FORCE, or are aware of unlisted papers,
8+
I would be happy if you you could send me your published papers with DOI,
9+
and I will include them here in this list (:ref:`contact`).
710

811

12+
* **in press**
13+
14+
| M. Schwieder, M. Wesemeyer, D. Frantz, K. Pfoch, S. Erasmi, J. Pickert, C. Nendel, and P. Hostert (in press): Mapping grassland mowing events across Germany based on combined Sentinel-2 and Landsat 8 time series. Remote Sensing of Environment, 112795.
15+
| https://doi.org/10.1016/j.rse.2021.112795
16+
917
* **2022**
1018

19+
| L. Blickensdörfer, M. Schwieder, D. Pflugmacher, C. Nendel, S. Erasmi, and P. Hostert (2022): Mapping of crop types and crop sequences with combined time series of Sentinel-1, Sentinel-2 and Landsat 8 data for Germany. Remote Sensing of Environment 269, 112831.
20+
| https://doi.org/10.1016/j.rse.2021.112831
21+
1122
| K. Kowalski, A. Okujeni, M. Brell, and P. Hostert (2022): Quantifying drought effects in Central European grasslands through regression-based unmixing of intra-annual Sentinel-2 time series. Remote Sensing of Environment 268, 112781.
1223
| https://doi.org/10.1016/j.rse.2021.112781
1324
25+
| M. Ziliani, M. Altaf, B. Aragon, R. Houburg, T. Franz, Y. Lu, J. Sheffield, I. Hoteit, and M. McCabe (2022): Early season prediction of within-field crop yield variability by assimilating CubeSat data into a crop model. Agricultural and Forest Meteorology 313, 108736.
26+
| https://doi.org/10.1016/j.agrformet.2021.108736
27+
1428
* **2021**
1529

1630
| J. Ardö (2021). A Sentinel-2 Dataset for Uganda. Data, 6.
@@ -37,9 +51,11 @@ This list summarizes all scientific publications that have used FORCE. If you ha
3751
| F. Schug, D. Frantz, S. van der Linden, and P. Hostert (2021): Gridded population mapping for Germany based on building density, height and type from Earth Observation data using census disaggregation and bottom-up estimates. PLOS ONE 16, e0249044.
3852
| https://doi.org/10.1371/journal.pone.0249044
3953
40-
| G. Tetteh, A. Gocht, S. Erasmi, M. Schwieder, and C. Conrad (): Evaluation of Sentinel-1 and Sentinel-2 Feature Sets for Delineating Agricultural Fields in Heterogeneous Landscapes. IEEE Access, 9, 116702 - 116719
54+
| G. Tetteh, A. Gocht, S. Erasmi, M. Schwieder, and C. Conrad (2021): Evaluation of Sentinel-1 and Sentinel-2 Feature Sets for Delineating Agricultural Fields in Heterogeneous Landscapes. IEEE Access, 9, 116702 - 116719
4155
| https://doi.org/10.1109/ACCESS.2021.3105903
4256
57+
| F. Weiser, A. Sauer, D. Gettueva, R. Field, S. Irl, O. Vetaas, A. Chiarucci, S. Hoffmann, J. Fernández-Palacios, R. Otto, A. Jentsch, A. Provenzale, and C. Beierkuhnlein (2021): Impacts of Forest Fire on Understory Species Diversity in Canary Pine Ecosystems on the Island of La Palma. Forests 12, 1638.
58+
| https://doi.org/10.3390/f12121638
4359
4460
* **2020**
4561

@@ -125,4 +141,3 @@ This list summarizes all scientific publications that have used FORCE. If you ha
125141

126142
| A. Schneibel, M. Stellmes, A. Röder, M. Finckh, R. Revermann, D. Frantz and J. Hill (2016): Evaluating the trade-off between food and timber resulting from the conversion of Miombo forests to agricultural land in Angola using multi-temporal Landsat data. Science of The Total Environment, 548–549: 390-401.
127143
| https://doi.org/10.1016/j.scitotenv.2015.12.137
128-

src/cross-level/_version-cl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Version number
3232
extern "C" {
3333
#endif
3434

35-
#define _VERSION_ "3.7.4"
35+
#define _VERSION_ "3.7.5-develop"
3636

3737
#ifdef __cplusplus
3838
}

src/higher-level/index-hl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ float ind, scale = 10000.0;
169169
if (!ard[t].msk[p]){
170170
ts->tss_[t][p] = nodata;
171171
} else {
172-
ind = (ard[t].dat[b1][p]/ard[t].dat[b2][p])-1;
172+
ind = (ard[t].dat[b1][p] / (float)ard[t].dat[b2][p]) - 1.0;
173173
if (ard[t].dat[b2][p] == 0 || ind*scale > SHRT_MAX || ind*scale < SHRT_MIN){
174174
ts->tss_[t][p] = nodata;
175175
} else {

src/higher-level/ml-hl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ bool valid;
284284

285285
mean = mean_old = var = 0;
286286
ntree = 0;
287-
memset(mean_prob, 0, phl->mcl.nclass_all_sets*sizeof(double));
287+
if (rfprob) memset(mean_prob, 0, phl->mcl.nclass_all_sets*sizeof(double));
288288

289289
for (m=0; m<phl->mcl.nmodel[s]; m++, k++){
290290

src/higher-level/read-ard-hl.c

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -332,10 +332,18 @@ int nchar;
332332
if (nchar < 0 || nchar >= NPOW_10){
333333
printf("Buffer Overflow in assembling dirname\n"); return FAILURE;}
334334

335+
#ifdef FORCE_DEBUG
336+
printf("scanning %s for files\n", d.name);
337+
#endif
338+
335339
// directory listing
336340
if ((d.N = scandir(d.name, &d.LIST, 0, alphasort)) < 0){
337341
return FAILURE;}
338342

343+
#ifdef FORCE_DEBUG
344+
printf("found %d files, filtering now\n");
345+
#endif
346+
339347
// reflectance products
340348
alloc_2D((void***)&d.list, d.N, NPOW_10, sizeof(char));
341349

@@ -356,7 +364,11 @@ int nchar;
356364
// check against sensor list
357365
for (s=0, vs=false; s<sen->n; s++){
358366
if (strstr(d.LIST[t]->d_name, sen->sensor[s]) != NULL){
359-
vs = true; break;
367+
#ifdef FORCE_DEBUG
368+
printf("sensor is: %s\n", sen->sensor[s]);
369+
#endif
370+
vs = true;
371+
break;
360372
}
361373
}
362374

@@ -477,7 +489,7 @@ int n = 0;
477489
// get mask file listing, skip if tile is empty
478490
if (list_mask(tx, ty, phl, &dir) == FAILURE){
479491
#ifdef FORCE_DEBUG
480-
printf("No data in here. Skip.\n");
492+
printf("No data in here (no mask). Skip.\n");
481493
#endif
482494
*success = CANCEL;
483495
return NULL;
@@ -772,7 +784,7 @@ bool level3 = false;
772784
// get ARD file listing, skip if tile is empty
773785
if (list_ard(tx, ty, sen, phl, &dir) == FAILURE){
774786
#ifdef FORCE_DEBUG
775-
printf("No data in here. Skip.\n");
787+
printf("No data in here (datasets). Skip.\n");
776788
#endif
777789
*nt = 0;
778790
return NULL;

0 commit comments

Comments
 (0)