-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #446 from NASA-IMPACT/develop
Release 1.8.0
- Loading branch information
Showing
23 changed files
with
137 additions
and
675 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 0 additions & 29 deletions
29
app/assets/scripts/components/common/layers/layer-agriculture.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,6 @@ | ||
import config from '../../../config'; | ||
|
||
import { indicatorGroupColors } from '../../../styles/theme/theme.js'; | ||
|
||
export default { | ||
id: 'agriculture', | ||
name: 'Agriculture', | ||
type: 'raster-timeseries', | ||
timeUnit: 'day', | ||
domain: [ | ||
'2020-01-28', '2020-02-28', '2020-03-28', '2020-04-28', '2020-05-28', '2020-06-28', '2020-07-28', '2020-08-28', '2020-09-28' | ||
], | ||
source: { | ||
type: 'raster', | ||
tiles: [ | ||
`${config.api}/{z}/{x}/{y}@1x?url=s3://covid-eo-data/agriculture/CropMonitor_{date}.tif&resampling_method=nearest&bidx=1&color_map=custom_cropmonitor` | ||
] | ||
}, | ||
exclusiveWith: ['no2', 'co2', 'co2-diff', 'gibs-population', 'car-count', 'nightlights-viirs', 'nightlights-hd', 'detection-ship', 'detection-multi', 'water-chlorophyll', 'water-spm'], | ||
enabled: false, | ||
swatch: indicatorGroupColors.economic, | ||
legend: { | ||
type: 'categorical', | ||
stops: [ | ||
{ color: '#3C8EC4', label: 'Exceptional' }, | ||
{ color: '#6ECC51', label: 'Favourable' }, | ||
{ color: '#F3EF4F', label: 'Watch' }, | ||
{ color: '#DF6335', label: 'Poor' }, | ||
{ color: '#7E170E', label: 'Failure' }, | ||
{ color: '#777879', label: 'Out of season' }, | ||
{ color: '#794416', label: 'No data' } | ||
] | ||
}, | ||
info: null | ||
}; |
30 changes: 0 additions & 30 deletions
30
app/assets/scripts/components/common/layers/layer-co2-diff.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,6 @@ | ||
import config from '../../../config'; | ||
|
||
import { indicatorGroupColors } from '../../../styles/theme/theme.js'; | ||
|
||
export default { | ||
id: 'co2-diff', | ||
name: 'CO\u2082 (Diff)', | ||
type: 'raster-timeseries', | ||
timeUnit: 'day', | ||
domain: [ | ||
'2020-01-01', | ||
'2020-07-16' | ||
], | ||
source: { | ||
type: 'raster', | ||
tiles: [ | ||
`${config.api}/{z}/{x}/{y}@1x?url=s3://covid-eo-data/xco2-diff/xco2_16day_diff.{date}.tif&resampling_method=bilinear&bidx=1&rescale=-0.000001%2C0.000001&color_map=rdbu_r` | ||
] | ||
}, | ||
exclusiveWith: ['agriculture', 'no2', 'no2-diff', 'co2', 'gibs-population', 'car-count', 'nightlights-viirs', 'nightlights-hd', 'detection-ship', 'detection-multi', 'water-chlorophyll', 'water-spm'], | ||
enabled: false, | ||
swatch: indicatorGroupColors['greenhouse-gas'], | ||
legend: { | ||
type: 'gradient', | ||
min: '< -1 ppm', | ||
max: '> 1 ppm', | ||
stops: [ | ||
'#3A88BD', | ||
'#C9E0ED', | ||
'#E4EEF3', | ||
'#FDDCC9', | ||
'#DD7059' | ||
] | ||
}, | ||
info: 'This layer shows changes in carbon dioxide (CO₂) levels during coronavirus lockdowns versus previous years. Redder colors indicate increases in CO₂. Bluer colors indicate lower levels of CO₂.' | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 0 additions & 23 deletions
23
app/assets/scripts/components/common/layers/layer-detection-plane.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,6 @@ | ||
import config from '../../../config'; | ||
import { indicatorGroupColors } from '../../../styles/theme/theme'; | ||
|
||
export default { | ||
id: 'detection-plane', | ||
name: 'Planes', | ||
type: 'inference-timeseries', | ||
domain: [ | ||
'2020-01-01', | ||
'2020-04-30' | ||
], | ||
source: { | ||
vector: { | ||
type: 'geojson', | ||
data: `${config.api}/detections/plane/{spotlightId}/{date}.geojson` | ||
}, | ||
raster: { | ||
type: 'raster', | ||
tiles: [ | ||
`${config.api}/planet/{z}/{x}/{y}?date={date}&site={spotlightId}` | ||
] | ||
} | ||
}, | ||
exclusiveWith: ['agriculture', 'no2', 'no2-diff', 'co2-diff', 'co2', 'gibs-population', 'car-count', 'nightlights-viirs', 'nightlights-hd', 'detection-multi', 'water-chlorophyll', 'water-spm'], | ||
enabled: false, | ||
swatch: indicatorGroupColors.economic, | ||
timeUnit: 'day', | ||
info: 'Planes detected each day in PlanetScope imagery are shown in red.' | ||
}; |
Oops, something went wrong.