Skip to content

Commit

Permalink
Merge pull request #2505 from eurodatacube/amazonas-sen4ama
Browse files Browse the repository at this point in the history
Amazonas sen4ama
  • Loading branch information
lubojr authored Mar 20, 2024
2 parents 75afe99 + 818260f commit e940c2f
Show file tree
Hide file tree
Showing 5 changed files with 86 additions and 6 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions app/public/data/trilateral/sen4ama.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## Forest Loss Area from Sentinel-1

This product was developed in the frame of the activity "Sentinel-1 for Science Amazonas" funded by the European Space Agency. The dataset covers the Amazon rainforest, showing the observed forest loss visible in red.
The project developed a simple space-time data cube design (referred to as StatCubes), where statistical information relevant to identify deforestation is extracted at each point in the SAR backscatter time-series. The cubes do not rely on decades of historical data, and the effects of seasonality, including rainfall, are inherently masked out. With this approach, the project demonstrates the use of Sentinel-1 data to create a dynamic deforestation product over the Amazon basin. Sentinel-1 satellite observations from 2015 to December 2021, each representing a 20 x 20 m of forest, were harmonised under theStatCubes design, and a simple thresholding approach to detect forest loss wass demonstrated in the first version of the results.


### Relevant Links:
* Project website: https://sen4ama.gisat.cz/
* Data Access: https://drive.google.com/file/d/14nNZqO44M3-dINF4ugqsQ0mvU0gBuooq/view?usp=drive_link
* Documentation: https://drive.google.com/file/d/1WEEpEbnQBfYomVdiyu4mR31psVM07bMR/view?usp=drive_link
* Algorithm: https://github.com/gisat/s14amazonas
* ESA webstory: https://www.esa.int/Applications/Observing_the_Earth/Copernicus/Sentinel-1/Using_a_data_cube_to_monitor_forest_loss_in_the_Amazon

![image](https://github.com/eurodatacube/eodash/assets/35488732/fef63b14-740e-4ce6-88c2-f0612e5d4444)
16 changes: 16 additions & 0 deletions app/src/config/layers.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,22 @@ export const baseLayers = Object.freeze({
maxZoom: 17,
protocol: 'xyz',
},
cloudless2019: {
name: 'EOxCloudless 2019',
url: '//s2maps-tiles.eu/wmts/1.0.0/s2cloudless-2019_3857/default/g/{z}/{y}/{x}.jpg',
attribution: '{ EOxCloudless 2018: <a xmlns:dct="http://purl.org/dc/terms/" href="//s2maps.eu" target="_blank" property="dct:title">Sentinel-2 cloudless - s2maps.eu</a> by <a xmlns:cc="http://creativecommons.org/ns#" href="//eox.at" target="_blank" property="cc:attributionName" rel="cc:attributionURL">EOX IT Services GmbH</a> (Contains modified Copernicus Sentinel data 2019) }',
visible: false,
maxZoom: 17,
protocol: 'xyz',
},
cloudless2020: {
name: 'EOxCloudless 2020',
url: '//s2maps-tiles.eu/wmts/1.0.0/s2cloudless-2020_3857/default/g/{z}/{y}/{x}.jpg',
attribution: '{ EOxCloudless 2018: <a xmlns:dct="http://purl.org/dc/terms/" href="//s2maps.eu" target="_blank" property="dct:title">Sentinel-2 cloudless - s2maps.eu</a> by <a xmlns:cc="http://creativecommons.org/ns#" href="//eox.at" target="_blank" property="cc:attributionName" rel="cc:attributionURL">EOX IT Services GmbH</a> (Contains modified Copernicus Sentinel data 2020) }',
visible: false,
maxZoom: 17,
protocol: 'xyz',
},
terrainLight: {
name: 'Terrain light',
url: '//s2maps-tiles.eu/wmts/1.0.0/terrain-light_3857/default/g/{z}/{y}/{x}.jpg',
Expand Down
60 changes: 55 additions & 5 deletions app/src/config/trilateral.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable max-len */
// config global variables here for now
// temporary solution
import { Wkt } from 'wicket';
Expand Down Expand Up @@ -73,7 +74,7 @@ const geodbFeatures = {
const cloudlessBaseLayerDefault = [{
...baseLayers.cloudless,
visible: true,
}, baseLayers.cloudless2018, baseLayers.eoxosm, baseLayers.terrainLight];
}, baseLayers.cloudless2020, baseLayers.cloudless2019, baseLayers.cloudless2018, baseLayers.eoxosm, baseLayers.terrainLight];

const mapBoxHighResoSubst = [{
...baseLayers.mapboxHighReso,
Expand Down Expand Up @@ -707,24 +708,28 @@ export const indicatorsDefinition = Object.freeze({
},
Lakes_WQ_TURB: {
indicatorSummary: 'Water Quality Turbidity mean Lakes',
story: '/data/trilateral/stories/Lakes_WQ_TURB',
story: '/data/trilateral/Lakes_WQ_TURB',
themes: ['oceans'],
},
Lakes_WQ_TC: {
indicatorSummary: 'Water Quality True color Lakes',
story: '/data/trilateral/stories/Lakes_WQ_TC',
story: '/data/trilateral/Lakes_WQ_TC',
themes: ['oceans'],
},
Lakes_SWT: {
indicatorSummary: 'Surface Water Temperature Maps',
story: '/data/trilateral/stories/Lakes_SWT',
story: '/data/trilateral/Lakes_SWT',
themes: ['oceans'],
},
Lakes_SWTT: { // still depends on table content
indicatorSummary: 'Surface Water Temperature Time Series',
story: '/data/trilateral/stories/Lakes_SWTT', // stays
story: '/data/trilateral/Lakes_SWTT', // stays
themes: ['oceans'],
},
sen4ama: {
story: '/data/trilateral/sen4ama',
themes: ['biomass'],
},
d: { // dummy for locations without Indicator code
indicatorSummary: 'Upcoming data',
themes: ['atmosphere', 'agriculture', 'biomass', 'economy', 'oceans', 'cryosphere', 'covid-19'],
Expand Down Expand Up @@ -5812,6 +5817,51 @@ export const globalIndicators = [
},
},
},
{
properties: {
indicatorObject: {
dataLoadFinished: true,
country: 'all',
city: 'World',
siteName: 'global',
description: 'Sentinel-1 for Science Amazonas area of forest loss',
indicator: 'sen4ama',
indicatorName: 'Sentinel-1 for Science Amazonas',
eoSensor: 'Sentinel-1',
aoiID: 'World',
time: [ // times for a monthly composite
'2017-01-01', '2017-02-01', '2017-03-01', '2017-04-01', '2017-05-01', '2017-06-01', '2017-07-01', '2017-08-01', '2017-09-01', '2017-10-01', '2017-11-01', '2017-12-01', '2018-01-01', '2018-02-01', '2018-03-01', '2018-04-01', '2018-05-01', '2018-06-01', '2018-07-01', '2018-08-01', '2018-09-01', '2018-10-01', '2018-11-01', '2018-12-01', '2019-01-01', '2019-02-01', '2019-03-01', '2019-04-01', '2019-05-01', '2019-06-01', '2019-07-01', '2019-08-01', '2019-09-01', '2019-10-01', '2019-11-01', '2019-12-01', '2020-01-01', '2020-02-01', '2020-03-01', '2020-04-01', '2020-05-01', '2020-06-01', '2020-07-01', '2020-08-01', '2020-09-01', '2020-10-01', '2020-11-01', '2020-12-01', '2021-01-01', '2021-02-01', '2021-03-01', '2021-04-01', '2021-05-01', '2021-06-01', '2021-07-01', '2021-08-01', '2021-09-01', '2021-10-01', '2021-11-01',
],
// actual scene dates!
// [
// '2017-01-02', '2017-01-14', '2017-01-26', '2017-02-07', '2017-02-19', '2017-03-03', '2017-03-15', '2017-03-27', '2017-04-08', '2017-04-20', '2017-05-02', '2017-05-14', '2017-05-26', '2017-06-07', '2017-06-19', '2017-07-01', '2017-07-13', '2017-07-25', '2017-08-06', '2017-08-18', '2017-08-30', '2017-09-11', '2017-09-23', '2017-10-05', '2017-10-17', '2017-10-29', '2017-11-10', '2017-11-22', '2017-12-04', '2017-12-16', '2017-12-28', '2018-01-09', '2018-01-21', '2018-02-02', '2018-02-14', '2018-02-26', '2018-03-10', '2018-03-22', '2018-04-03', '2018-04-15', '2018-04-27', '2018-05-09', '2018-05-21', '2018-06-02', '2018-06-14', '2018-06-26', '2018-07-08', '2018-07-20', '2018-08-01', '2018-08-13', '2018-08-25', '2018-09-06', '2018-09-18', '2018-09-30', '2018-10-12', '2018-10-24', '2018-11-05', '2018-11-17', '2018-11-29', '2018-12-11', '2018-12-23', '2019-01-04', '2019-01-16', '2019-01-28', '2019-02-09', '2019-02-21', '2019-03-05', '2019-03-17', '2019-03-29', '2019-04-10', '2019-04-22', '2019-05-04', '2019-05-16', '2019-05-28', '2019-06-09', '2019-06-21', '2019-07-03', '2019-07-15', '2019-07-27', '2019-08-08', '2019-08-20', '2019-09-01', '2019-09-13', '2019-09-25', '2019-10-07', '2019-10-19', '2019-10-31', '2019-11-12', '2019-11-24', '2019-12-06', '2019-12-18', '2019-12-30', '2020-01-11', '2020-01-23', '2020-02-04', '2020-02-16', '2020-02-28', '2020-03-11', '2020-03-23', '2020-04-04', '2020-04-16', '2020-04-28', '2020-05-10', '2020-05-22', '2020-06-03', '2020-06-15', '2020-06-27', '2020-07-09', '2020-07-21', '2020-08-02', '2020-08-14', '2020-08-26', '2020-09-07', '2020-09-19', '2020-10-01', '2020-10-13', '2020-10-25', '2020-11-06', '2020-11-18', '2020-11-30', '2020-12-12', '2020-12-24', '2021-01-05', '2021-01-17', '2021-01-29', '2021-02-10', '2021-02-22', '2021-03-06', '2021-03-18', '2021-03-30', '2021-04-11', '2021-04-23', '2021-05-05', '2021-05-17', '2021-05-29', '2021-06-10', '2021-06-22', '2021-07-04', '2021-07-16', '2021-07-28', '2021-08-09', '2021-05-17', '2021-05-29', '2021-06-10', '2021-06-22', '2021-07-04', '2021-07-16', '2021-07-28', '2021-08-09', '2021-08-21', '2021-09-02', '2021-09-14', '2021-09-26', '2021-10-08', '2021-10-20', '2021-11-01', '2021-11-13',
// ],
inputData: [''],
yAxis: '',
subAoi: {
type: 'FeatureCollection',
features: [],
},
display: {
baseLayers: cloudlessBaseLayerDefault,
baseUrl: `https://services.sentinel-hub.com/ogc/wms/${shConfig.shInstanceId}`,
name: 'Sentinel-1 for Science Amazonas area of forest loss',
layers: 'ID-AMAZONAS_PROJECT',
minZoom: 5,
maxZoom: 16,
dateFormatFunction: (date) => `${DateTime.fromISO(date).toFormat('yyyy-MM-dd')}/${DateTime.fromISO(date).plus({ months: 1 }).minus({ days: 1 }).toFormat('yyyy-MM-dd')}`,
presetView: {
type: 'FeatureCollection',
features: [{
type: 'Feature',
properties: {},
geometry: wkt.read('POLYGON ((-58.193359 -5.652236, -58.193359 -1.537901, -52.625 -1.537901, -52.625 -5.652236, -58.193359 -5.652236))').toJson(),
}],
},
},
},
},
},
];

const createSlowDownIndicator = (aoiID, city, country, aoi, geometry, cog, eoSensor, time) => (
Expand Down
2 changes: 1 addition & 1 deletion app/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import getLocationCode from './mixins/getLocationCode';
// eslint-disable-line no-unused-vars

import '@eox/layercontrol';
import "@eox/jsonform";
import '@eox/jsonform';

// Set UTC as default time zone behavior for whole client
Settings.defaultZoneName = 'utc';
Expand Down

0 comments on commit e940c2f

Please sign in to comment.