Skip to content

Commit

Permalink
Merge pull request #685 from GeoscienceAustralia/pan_band_styles
Browse files Browse the repository at this point in the history
Differentiate Landsat 7 Pan band from Landsat 8
  • Loading branch information
pindge authored Mar 2, 2021
2 parents 0ffd176 + fe5a472 commit 54c11ff
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions dev/services/wms/ows_refactored/c3/ows_c3_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,22 @@
"scale_range": [0.0, 3000.0],
}

style_c3_pure_panchromatic = {
style_c3_ls7_pure_panchromatic = {
"name": "panchromatic",
"title": "Pure Panchromatic",
"abstract": "panchromatic",
"title": "Panchromatic - 710",
"abstract": "Panchromatic, centered on 710nm",
"components": {
"red": {"nbart_panchromatic": 1.0},
"green": {"nbart_panchromatic": 1.0},
"blue": {"nbart_panchromatic": 1.0},
},
"scale_range": [0.0, 3000.0],
}

style_c3_ls8_pure_panchromatic = {
"name": "panchromatic",
"title": "Panchromatic - 590",
"abstract": "Panchromatic, centered on 590nm",
"components": {
"red": {"nbart_panchromatic": 1.0},
"green": {"nbart_panchromatic": 1.0},
Expand Down Expand Up @@ -262,9 +274,10 @@


styles_c3_ls_7 = styles_c3_ls_common.copy()
styles_c3_ls_7.append(style_c3_pure_panchromatic)
styles_c3_ls_7.append(style_c3_ls7_pure_panchromatic)

styles_c3_ls_8 = styles_c3_ls_7.copy()
styles_c3_ls_8 = styles_c3_ls_common.copy()
styles_c3_ls_8.append(style_c3_ls8_pure_panchromatic)
styles_c3_ls_8.append(style_c3_pure_aerosol)


Expand Down

0 comments on commit 54c11ff

Please sign in to comment.