-
Notifications
You must be signed in to change notification settings - Fork 22
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 #798 from GeoscienceAustralia/AddBarestEarth
Begin adding barest earth product
- Loading branch information
Showing
5 changed files
with
133 additions
and
1 deletion.
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
44 changes: 44 additions & 0 deletions
44
dev/services/wms/ows_refactored/surface_reflectance/ows_barest_earth_cfg.py
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,44 @@ | ||
from ows_refactored.ows_reslim_cfg import reslim_wms_min_zoom_35 | ||
from ows_refactored.surface_reflectance.band_ls_cfg import \ | ||
bands_s2_barest_earth | ||
from ows_refactored.surface_reflectance.style_ls_cfg import \ | ||
styles_s2_barest_earth_list | ||
|
||
layers = { | ||
"title": "Barest Earth product name", | ||
"abstract": "", | ||
"layers": [ | ||
{ | ||
"title": "Surface Reflectance 25m Annual Geomedian (Landsat 8)", | ||
"name": "barest_earth", | ||
"abstract": """ | ||
Data is only visible at higher resolutions; when zoomed-out the available area will be displayed | ||
as a shaded region. The surface reflectance geometric median (geomedian) is a pixel composite | ||
mosaic of a time series of earth observations. The value of a pixel in a an annual geomedian | ||
image is the statistical median of all observations for that pixel from a calendar year. | ||
Annual mosaics are available for the following years: | ||
Landsat 8: 2013 to 2017; | ||
For more information, see http://pid.geoscience.gov.au/dataset/ga/120374 | ||
For service status information, see https://status.dea.ga.gov.au | ||
""", | ||
"product_name": "s2_barest_earth", | ||
"bands": bands_s2_barest_earth, | ||
# "time_resolution": 'year', | ||
"resource_limits": reslim_wms_min_zoom_35, | ||
"image_processing": { | ||
"extent_mask_func": "datacube_ows.ogc_utils.mask_by_val", | ||
"always_fetch_bands": [], | ||
"manual_merge": False, | ||
}, | ||
"wcs": { | ||
"native_crs": "EPSG:3577", | ||
"native_resolution": [25, -25], | ||
"default_bands": ["red", "green", "blue"], | ||
}, | ||
"styling": {"default_style": "simple_rgb", "styles": styles_s2_barest_earth_list}, | ||
}, | ||
], | ||
} |
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