Skip to content

Commit

Permalink
LS 5/7 geomad to Terria catalogue. (#322)
Browse files Browse the repository at this point in the history
  • Loading branch information
eefaye authored Oct 22, 2021
1 parent 2acc3af commit 64162e9
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 829 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linting-json.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ jobs:
- name: Run Json Linter
run: |
npm install jsonlint -g
jsonlint terria/africa.json -q
jsonlint terria/africa-prod.json -q
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from ows_refactored.common.ows_reslim_cfg import reslim_srtm
from ows_refactored.surface_reflectance.band_sr_cfg import bands_ls5_ls7_gm
from ows_refactored.surface_reflectance.style_sr_cfg import styles_gm_ls8_list
from ows_refactored.surface_reflectance.style_sr_cfg import styles_gm_ls578_list


layer = {
Expand All @@ -18,7 +18,7 @@
More techincal information about the GeoMAD product can be found in the User Guide (https://docs.digitalearthafrica.org/en/latest/data_specs/GeoMAD_specs.html)
This product has a spatial resolution of 30 m and is available annually from 1984 to 2012.
This product has a spatial resolution of 30 m and is available annually from 1984 to 2012 in selected areas.
It is derived from USGS Collection 2, Level 2 Landsat 5 & 7 surface reflectance data.
Expand Down Expand Up @@ -50,6 +50,6 @@
"native_resolution": [30.0, -30.0],
"styling": {
"default_style": "simple_rgb",
"styles": styles_gm_ls8_list,
"styles": styles_gm_ls578_list,
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from ows_refactored.common.ows_reslim_cfg import reslim_srtm
from ows_refactored.surface_reflectance.band_sr_cfg import bands_ls8_gm
from ows_refactored.surface_reflectance.style_sr_cfg import styles_gm_ls8_list
from ows_refactored.surface_reflectance.style_sr_cfg import styles_gm_ls578_list


layer = {
Expand Down Expand Up @@ -50,6 +50,6 @@
"native_resolution": [30.0, -30.0],
"styling": {
"default_style": "simple_rgb",
"styles": styles_gm_ls8_list,
"styles": styles_gm_ls578_list,
}
}
4 changes: 2 additions & 2 deletions services/ows_refactored/surface_reflectance/style_sr_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -999,8 +999,8 @@
style_gm_s2_count,
]

# Used in the LS8 GeoMAD
styles_gm_ls8_list = [
# Used in the LS8 GeoMAD and LS5-LS7 GeoMAD
styles_gm_ls578_list = [
style_gm_simple_rgb,
style_gm_irg,
style_tmad_rgb_std,
Expand Down
18 changes: 18 additions & 0 deletions terria/africa-prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,24 @@
"Root Group/Satellite images/Surface reflectance/Annual/Annual GeoMAD (Landsat 8)"
],
"availableDiffStyles": ["ndvi", "ndwi", "mndwi"]
},
{
"type": "wms",
"name": "Annual GeoMAD (Landsat 5 & Landsat 7)",
"url": "https://ows.digitalearth.africa/",
"opacity": 1,
"layers": "gm_ls5_ls7_annual",
"linkedWcsUrl": "https://ows.digitalearth.africa/",
"linkedWcsCoverage": "gm_ls5_ls7_annual",
"tileErrorHandlingOptions": {
"ignoreUnknownTileErrors": true,
"thresholdBeforeDisablingItem": 100000
},
"id": "gm_ls5_ls7_annual",
"shareKeys": [
"Root Group/Satellite images/Surface reflectance/Annual/Annual GeoMAD (Landsat 5 & Landsat 7)"
],
"availableDiffStyles": ["ndvi", "ndwi", "mndwi"]
}
],
"shareKeys": [
Expand Down
386 changes: 0 additions & 386 deletions terria/africa-us.json

This file was deleted.

Loading

0 comments on commit 64162e9

Please sign in to comment.