-
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 #122 from NASA-IMPACT/develop
Release 0.4.0
- Loading branch information
Showing
60 changed files
with
1,912 additions
and
933 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
import no2 from './layer-no2'; | ||
import population from './layer-population'; | ||
import carCount from './layer-car-count'; | ||
import nightlights from './layer-nightlights'; | ||
import nightlightsViirs from './layer-nightlights-viirs'; | ||
import nightlightsHd from './layer-nightlights-hd'; | ||
|
||
export default [ | ||
no2, | ||
population, | ||
carCount, | ||
nightlights | ||
nightlightsViirs, | ||
nightlightsHd | ||
]; |
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
36 changes: 36 additions & 0 deletions
36
app/assets/scripts/components/common/layers/layer-nightlights-hd.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,36 @@ | ||
import config from '../../../config'; | ||
|
||
export default { | ||
id: 'nightlights-hd', | ||
name: 'Nightlights HD', | ||
type: 'raster-timeseries', | ||
timeUnit: 'month', | ||
domain: [ | ||
'2020-01-01', | ||
'2020-05-01' | ||
], | ||
source: { | ||
type: 'raster', | ||
tiles: [ | ||
`${config.api}/{z}/{x}/{y}@1x?url=s3://covid-eo-data/BMHD_30M_MONTHLY/BMHD_VNP46A2_{spotlightId}_{date}_cog.tif&resampling_method=bilinear&bidx=1%2C2%2C3` | ||
] | ||
}, | ||
exclusiveWith: ['no2', 'gibs-population', 'car-count', 'nightlights-viirs'], | ||
swatch: { | ||
color: '#f2a73a', | ||
name: 'Gold' | ||
}, | ||
legend: { | ||
type: 'gradient', | ||
min: 'less', | ||
max: 'more', | ||
stops: [ | ||
'#08041d', | ||
'#1f0a46', | ||
'#52076c', | ||
'#f57c16', | ||
'#f7cf39' | ||
] | ||
}, | ||
info: null | ||
}; |
Oops, something went wrong.