-
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 #435 from NASA-IMPACT/develop
Version 1.6.2
- Loading branch information
Showing
8 changed files
with
110 additions
and
37 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
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
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
4 changes: 2 additions & 2 deletions
4
app/assets/scripts/components/common/layers/layer-nightlights-viirs.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
33 changes: 33 additions & 0 deletions
33
app/assets/scripts/components/common/layers/layer-wq-gl-chl.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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import config from '../../../config'; | ||
|
||
import { indicatorGroupColors } from '../../../styles/theme/theme.js'; | ||
|
||
export default { | ||
id: 'water-wq-gl-chl', | ||
name: 'Chlorophyll', | ||
type: 'raster-timeseries', | ||
domain: ['2020-01-01', '2020-01-08', '2020-01-15', '2020-01-22', '2020-01-29', '2020-02-05', '2020-02-12', '2020-02-19', '2020-02-26', '2020-03-04', '2020-03-11', '2020-03-18', '2020-03-25', '2020-04-01', '2020-04-08', '2020-04-15', '2020-04-22', '2020-04-29', '2020-05-06', '2020-05-13', '2020-05-20', '2020-05-27', '2020-06-03', '2020-06-10', '2020-06-17', '2020-06-24', '2020-07-01', '2020-07-08', '2020-07-15', '2020-07-22', '2020-07-29', '2020-08-05', '2020-08-12', '2020-08-19', '2020-08-26', '2020-09-02', '2020-09-09', '2020-09-16', '2020-09-23'], | ||
timeUnit: 'day', | ||
source: { | ||
type: 'raster', | ||
tiles: [ | ||
`${config.api}/{z}/{x}/{y}@1x?url=s3://covid-eo-data/wq-greatlakes-chl/chl_anomaly_greatlakes_{date}.tif&resampling_method=bilinear&bidx=1&rescale=-100%2C100&color_map=rdbu_r` | ||
] | ||
}, | ||
exclusiveWith: ['water-wq-gl-spm'], | ||
swatch: indicatorGroupColors['water-quality'], | ||
legend: { | ||
type: 'gradient', | ||
min: 'less', | ||
max: 'more', | ||
stops: [ | ||
'#3A88BD', | ||
'#C9E0ED', | ||
'#E4EEF3', | ||
'#FDDCC9', | ||
'#DE725B', | ||
'#67001F' | ||
] | ||
}, | ||
info: 'Chlorophyll is an indicator of algae growth. Redder colors indicate increases in chlorophyll-a and worse water quality. Bluer colors indicate decreases in chlorophyll-a and improved water quality. White areas indicate no change.' | ||
}; |
33 changes: 33 additions & 0 deletions
33
app/assets/scripts/components/common/layers/layer-wq-gl-spm.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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import config from '../../../config'; | ||
|
||
import { indicatorGroupColors } from '../../../styles/theme/theme.js'; | ||
|
||
export default { | ||
id: 'water-wq-gl-spm', | ||
name: 'Turbidity', | ||
type: 'raster-timeseries', | ||
domain: ['2020-01-01', '2020-01-08', '2020-01-15', '2020-01-22', '2020-01-29', '2020-02-05', '2020-02-12', '2020-02-19', '2020-02-26', '2020-03-04', '2020-03-11', '2020-03-18', '2020-03-25', '2020-04-01', '2020-04-08', '2020-04-15', '2020-04-22', '2020-04-29', '2020-05-06', '2020-05-13', '2020-05-20', '2020-05-27', '2020-06-03', '2020-06-10', '2020-06-17', '2020-06-24', '2020-07-01', '2020-07-08', '2020-07-15', '2020-07-22', '2020-07-29', '2020-08-05', '2020-08-12', '2020-08-19', '2020-08-26', '2020-09-02', '2020-09-09', '2020-09-16', '2020-09-23'], | ||
timeUnit: 'day', | ||
source: { | ||
type: 'raster', | ||
tiles: [ | ||
`${config.api}/{z}/{x}/{y}@1x?url=s3://covid-eo-data/wq-greatlakes-sm/sm_anomaly_greatlakes_{date}.tif&resampling_method=bilinear&bidx=1&rescale=-100%2C100&color_map=rdbu_r` | ||
] | ||
}, | ||
exclusiveWith: ['water-wq-gl-chl'], | ||
swatch: indicatorGroupColors['water-quality'], | ||
legend: { | ||
type: 'gradient', | ||
min: 'less', | ||
max: 'more', | ||
stops: [ | ||
'#3A88BD', | ||
'#C9E0ED', | ||
'#E4EEF3', | ||
'#FDDCC9', | ||
'#DE725B', | ||
'#67001F' | ||
] | ||
}, | ||
info: 'Turbidity refers to the amount of sediment or particles suspended in water. Darker colors indicate more sediment and murkier water. Lighter colors indicate less sediment and clearer water.' | ||
}; |
Oops, something went wrong.