Closed olafveerman closed 4 years ago
Start using the two-letter code for this product.
function handleNightlightsViirs (l, spotlightId) {
const spotlightName = {
be: 'Beijing',
gh: 'EUPorts',
du: 'EUPorts',
la: 'LosAngeles',
ny: 'NewYork',
sf: 'SanFrancisco',
tk: 'Tokyo'
}[spotlightId];
leo:
Ok - is it difficult to remove that handling from the font end? I’ve updated the /datasets api to filter only based on spotlightId (2 letters), instead of either spotlightId or spotlightName , depending on the dataset
New Nightlights data is available, with some changes to the file paths cc @Schpidi
New path: s3://covid-eo-data/bmhd_30m_monthly/BMHD_VNP46A2_{spotlightId}_{date}_cog.tif
Available for 2020-01-01 through 2020-09-01.
New path: s3://covid-eo-data/bm_500m_daily/VNP46A2_V011_{spotlightId}_{date}_cog.tif
Spotlight IDs for the 500m product now follow the two-letter convention:
be
- Beijingca
- Caracas (New area, north of Venezuela and part of Puerto Rico/DR)la
- Los Angelesny
- New Yorksf
- San Franciscotk
- TokyoThe only exception is the single scene over Dunkirk and Ghent. They still use EUPorts
as their ID.
Available for 2020-01-01 through 2020-10-02.
@Schpidi Once you confirm that you're pulling in the new data in the trilateral, we'll clean up the old data.
This is adjusted in staging. I'll let you know once this is deployed to production.
FYI, we only use the 30m monthly data for now.
This is now deployed to production.