Skip to content

Commit

Permalink
Merge pull request #1119 from GeoscienceAustralia/fix_aster_resolution
Browse files Browse the repository at this point in the history
Fix aster resolution in dev
  • Loading branch information
SpacemanPaul authored Nov 29, 2022
2 parents 5d74dd8 + ecaf9a1 commit bddcbdd
Show file tree
Hide file tree
Showing 8 changed files with 54 additions and 49 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"resource_limits": reslim_for_sentinel2,
"dynamic": True,
"native_crs": "EPSG:3577",
"native_resolution": [10.0, 10.0],
"native_resolution": [10.0, -10.0],
"image_processing": {
"extent_mask_func": "datacube_ows.ogc_utils.mask_by_val",
"always_fetch_bands": [],
Expand Down Expand Up @@ -69,7 +69,7 @@
"resource_limits": reslim_for_sentinel2,
"dynamic": True,
"native_crs": "EPSG:3577",
"native_resolution": [10.0, 10.0],
"native_resolution": [10.0, -10.0],
"image_processing": {
"extent_mask_func": "datacube_ows.ogc_utils.mask_by_val",
"always_fetch_bands": [],
Expand Down Expand Up @@ -114,7 +114,7 @@
"resource_limits": reslim_for_sentinel2,
"dynamic": True,
"native_crs": "EPSG:3577",
"native_resolution": [10.0, 10.0],
"native_resolution": [10.0, -10.0],
"image_processing": {
"extent_mask_func": "datacube_ows.ogc_utils.mask_by_val",
"always_fetch_bands": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"resource_limits": reslim_for_sentinel2,
"dynamic": True,
"native_crs": "EPSG:3577",
"native_resolution": [10.0, 10.0],
"native_resolution": [10.0, -10.0],
"image_processing": {
"extent_mask_func": "datacube_ows.ogc_utils.mask_by_val",
"always_fetch_bands": [],
Expand Down Expand Up @@ -69,7 +69,7 @@
"resource_limits": reslim_for_sentinel2,
"dynamic": True,
"native_crs": "EPSG:3577",
"native_resolution": [10.0, 10.0],
"native_resolution": [10.0, -10.0],
"image_processing": {
"extent_mask_func": "datacube_ows.ogc_utils.mask_by_val",
"always_fetch_bands": [],
Expand Down Expand Up @@ -122,7 +122,7 @@
"resource_limits": reslim_for_sentinel2,
"dynamic": True,
"native_crs": "EPSG:3577",
"native_resolution": [10.0, 10.0],
"native_resolution": [10.0, -10.0],
"image_processing": {
"extent_mask_func": "datacube_ows.ogc_utils.mask_by_val",
"always_fetch_bands": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"resource_limits": reslim_for_sentinel2,
"dynamic": True,
"native_crs": "EPSG:3577",
"native_resolution": [10.0, 10.0],
"native_resolution": [10.0, -10.0],
"image_processing": {
"extent_mask_func": "datacube_ows.ogc_utils.mask_by_val",
"always_fetch_bands": [],
Expand Down Expand Up @@ -75,7 +75,7 @@
"resource_limits": reslim_for_sentinel2,
"dynamic": True,
"native_crs": "EPSG:3577",
"native_resolution": [10.0, 10.0],
"native_resolution": [10.0, -10.0],
"image_processing": {
"extent_mask_func": "datacube_ows.ogc_utils.mask_by_val",
"always_fetch_bands": [],
Expand Down Expand Up @@ -120,7 +120,7 @@
"resource_limits": reslim_for_sentinel2,
"dynamic": True,
"native_crs": "EPSG:3577",
"native_resolution": [10.0, 10.0],
"native_resolution": [10.0, -10.0],
"image_processing": {
"extent_mask_func": "datacube_ows.ogc_utils.mask_by_val",
"always_fetch_bands": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"resource_limits": reslim_for_sentinel2,
"dynamic": True,
"native_crs": "EPSG:3577",
"native_resolution": [10.0, 10.0],
"native_resolution": [10.0, -10.0],
"image_processing": {
"extent_mask_func": "datacube_ows.ogc_utils.mask_by_val",
"always_fetch_bands": [],
Expand Down Expand Up @@ -74,7 +74,7 @@
"resource_limits": reslim_for_sentinel2,
"dynamic": True,
"native_crs": "EPSG:3577",
"native_resolution": [10.0, 10.0],
"native_resolution": [10.0, -10.0],
"image_processing": {
"extent_mask_func": "datacube_ows.ogc_utils.mask_by_val",
"always_fetch_bands": [],
Expand Down Expand Up @@ -120,7 +120,7 @@
"resource_limits": reslim_for_sentinel2,
"dynamic": True,
"native_crs": "EPSG:3577",
"native_resolution": [10.0, 10.0],
"native_resolution": [10.0, -10.0],
"image_processing": {
"extent_mask_func": "datacube_ows.ogc_utils.mask_by_val",
"always_fetch_bands": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@
"resource_limits": reslim_for_sentinel2,
"dynamic": True,
"native_crs": "EPSG:3577",
"native_resolution": [10.0, 10.0],
"native_resolution": [10.0, -10.0],
"flags": [
{
"band": "land",
Expand Down
68 changes: 34 additions & 34 deletions dev/services/wms/ows_refactored/others/aster/ows_aster_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@
"product_name": "aster_false_colour",
"bands": bands_aster,
"resource_limits": reslim_standard,
"native_crs": "EPSG:3577",
"native_resolution": [15.0, 15.0],
"native_crs": "EPSG:4326",
"native_resolution": [0.00027777778, -0.00027777778],
"image_processing": {
"extent_mask_func": "datacube_ows.ogc_utils.mask_by_val",
"always_fetch_bands": [],
Expand All @@ -81,8 +81,8 @@
"product_name": "aster_regolith_ratios",
"bands": bands_aster,
"resource_limits": reslim_standard,
"native_crs": "EPSG:3577",
"native_resolution": [15.0, 15.0],
"native_crs": "EPSG:4326",
"native_resolution": [0.00027777778, -0.00027777778],
"image_processing": {
"extent_mask_func": "datacube_ows.ogc_utils.mask_by_val",
"always_fetch_bands": [],
Expand All @@ -102,8 +102,8 @@
"product_name": "aster_aloh_group_composition",
"bands": bands_aster_single_band,
"resource_limits": reslim_standard,
"native_crs": "EPSG:3577",
"native_resolution": [15.0, 15.0],
"native_crs": "EPSG:4326",
"native_resolution": [0.00027777778, -0.00027777778],
"image_processing": {
"extent_mask_func": "datacube_ows.ogc_utils.mask_by_val",
"always_fetch_bands": [],
Expand All @@ -123,8 +123,8 @@
"product_name": "aster_aloh_group_content",
"bands": bands_aster_single_band,
"resource_limits": reslim_standard,
"native_crs": "EPSG:3577",
"native_resolution": [15.0, 15.0],
"native_crs": "EPSG:4326",
"native_resolution": [0.00027777778, -0.00027777778],
"image_processing": {
"extent_mask_func": "datacube_ows.ogc_utils.mask_by_val",
"always_fetch_bands": [],
Expand All @@ -144,8 +144,8 @@
"product_name": "aster_feoh_group_content",
"bands": bands_aster_single_band,
"resource_limits": reslim_standard,
"native_crs": "EPSG:3577",
"native_resolution": [15.0, 15.0],
"native_crs": "EPSG:4326",
"native_resolution": [0.00027777778, -0.00027777778],
"image_processing": {
"extent_mask_func": "datacube_ows.ogc_utils.mask_by_val",
"always_fetch_bands": [],
Expand All @@ -165,8 +165,8 @@
"product_name": "aster_ferric_oxide_composition",
"bands": bands_aster_single_band,
"resource_limits": reslim_standard,
"native_crs": "EPSG:3577",
"native_resolution": [15.0, 15.0],
"native_crs": "EPSG:4326",
"native_resolution": [0.00027777778, -0.00027777778],
"image_processing": {
"extent_mask_func": "datacube_ows.ogc_utils.mask_by_val",
"always_fetch_bands": [],
Expand All @@ -186,8 +186,8 @@
"product_name": "aster_ferric_oxide_content",
"bands": bands_aster_single_band,
"resource_limits": reslim_standard,
"native_crs": "EPSG:3577",
"native_resolution": [15.0, 15.0],
"native_crs": "EPSG:4326",
"native_resolution": [0.00027777778, -0.00027777778],
"image_processing": {
"extent_mask_func": "datacube_ows.ogc_utils.mask_by_val",
"always_fetch_bands": [],
Expand All @@ -207,8 +207,8 @@
"product_name": "aster_ferrous_iron_content_in_mgoh",
"bands": bands_aster_single_band,
"resource_limits": reslim_standard,
"native_crs": "EPSG:3577",
"native_resolution": [15.0, 15.0],
"native_crs": "EPSG:4326",
"native_resolution": [0.00027777778, -0.00027777778],
"image_processing": {
"extent_mask_func": "datacube_ows.ogc_utils.mask_by_val",
"always_fetch_bands": [],
Expand All @@ -228,8 +228,8 @@
"product_name": "aster_ferrous_iron_index",
"bands": bands_aster_single_band,
"resource_limits": reslim_standard,
"native_crs": "EPSG:3577",
"native_resolution": [15.0, 15.0],
"native_crs": "EPSG:4326",
"native_resolution": [0.00027777778, -0.00027777778],
"image_processing": {
"extent_mask_func": "datacube_ows.ogc_utils.mask_by_val",
"always_fetch_bands": [],
Expand All @@ -249,8 +249,8 @@
"product_name": "aster_green_vegetation",
"bands": bands_aster_single_band,
"resource_limits": reslim_standard,
"native_crs": "EPSG:3577",
"native_resolution": [15.0, 15.0],
"native_crs": "EPSG:4326",
"native_resolution": [0.00027777778, -0.00027777778],
"image_processing": {
"extent_mask_func": "datacube_ows.ogc_utils.mask_by_val",
"always_fetch_bands": [],
Expand All @@ -270,8 +270,8 @@
"product_name": "aster_gypsum_index",
"bands": bands_aster_single_band,
"resource_limits": reslim_standard,
"native_crs": "EPSG:3577",
"native_resolution": [15.0, 15.0],
"native_crs": "EPSG:4326",
"native_resolution": [0.00027777778, -0.00027777778],
"image_processing": {
"extent_mask_func": "datacube_ows.ogc_utils.mask_by_val",
"always_fetch_bands": [],
Expand All @@ -291,8 +291,8 @@
"product_name": "aster_kaolin_group_index",
"bands": bands_aster_single_band,
"resource_limits": reslim_standard,
"native_crs": "EPSG:3577",
"native_resolution": [15.0, 15.0],
"native_crs": "EPSG:4326",
"native_resolution": [0.00027777778, -0.00027777778],
"image_processing": {
"extent_mask_func": "datacube_ows.ogc_utils.mask_by_val",
"always_fetch_bands": [],
Expand All @@ -312,8 +312,8 @@
"product_name": "aster_mgoh_group_composition",
"bands": bands_aster_single_band,
"resource_limits": reslim_standard,
"native_crs": "EPSG:3577",
"native_resolution": [15.0, 15.0],
"native_crs": "EPSG:4326",
"native_resolution": [0.00027777778, -0.00027777778],
"image_processing": {
"extent_mask_func": "datacube_ows.ogc_utils.mask_by_val",
"always_fetch_bands": [],
Expand All @@ -333,8 +333,8 @@
"product_name": "aster_mgoh_group_content",
"bands": bands_aster_single_band,
"resource_limits": reslim_standard,
"native_crs": "EPSG:3577",
"native_resolution": [15.0, 15.0],
"native_crs": "EPSG:4326",
"native_resolution": [0.00027777778, -0.00027777778],
"image_processing": {
"extent_mask_func": "datacube_ows.ogc_utils.mask_by_val",
"always_fetch_bands": [],
Expand All @@ -354,8 +354,8 @@
"product_name": "aster_opaque_index",
"bands": bands_aster_single_band,
"resource_limits": reslim_standard,
"native_crs": "EPSG:3577",
"native_resolution": [15.0, 15.0],
"native_crs": "EPSG:4326",
"native_resolution": [0.00027777778, -0.00027777778],
"image_processing": {
"extent_mask_func": "datacube_ows.ogc_utils.mask_by_val",
"always_fetch_bands": [],
Expand All @@ -375,8 +375,8 @@
"product_name": "aster_silica_index",
"bands": bands_aster_single_band,
"resource_limits": reslim_standard,
"native_crs": "EPSG:3577",
"native_resolution": [15.0, 15.0],
"native_crs": "EPSG:4326",
"native_resolution": [0.00027777778, -0.00027777778],
"image_processing": {
"extent_mask_func": "datacube_ows.ogc_utils.mask_by_val",
"always_fetch_bands": [],
Expand All @@ -396,8 +396,8 @@
"product_name": "aster_quartz_index",
"bands": bands_aster_single_band,
"resource_limits": reslim_standard,
"native_crs": "EPSG:3577",
"native_resolution": [15.0, 15.0],
"native_crs": "EPSG:4326",
"native_resolution": [0.00027777778, -0.00027777778],
"image_processing": {
"extent_mask_func": "datacube_ows.ogc_utils.mask_by_val",
"always_fetch_bands": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"bands": bands_hap,
"resource_limits": reslim_wms_max_datasets_only,
"native_crs": "EPSG:3577",
"native_resolution": [1.0, 1.0],
"native_resolution": [1.0, -1.0],
"image_processing": {
"extent_mask_func": "datacube_ows.ogc_utils.mask_by_val",
"always_fetch_bands": [],
Expand Down
7 changes: 6 additions & 1 deletion dev/services/wms/ows_refactored/ows_root_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,16 @@
"vertical_coord": "y",
},
"EPSG:4326": {"geographic": True, "vertical_coord_first": True}, # WGS-84
"EPSG:3577": { # GDA-94, internal representation
"EPSG:3577": { # GDA-94 Albers - native CRS for most DEA products
"geographic": False,
"horizontal_coord": "x",
"vertical_coord": "y",
},
"EPSG:4238": { # GDA-94 (geographic) - native CRS for ASTER
"geographic": True,
"horizontal_coord": "longitude",
"vertical_coord": "latitude",
},
"EPSG:3111": { # VicGrid94 for delwp.vic.gov.au
"geographic": False,
"horizontal_coord": "x",
Expand Down

0 comments on commit bddcbdd

Please sign in to comment.