From c9d285917251307d630d73e12a6d9973a4c2c6d9 Mon Sep 17 00:00:00 2001 From: Robbi Bishop-Taylor Date: Mon, 2 Sep 2024 15:16:05 +1000 Subject: [PATCH] Add difference functionality to DEA Intertidal on prod/DEA Maps (#1283) * Add difference functionality * Update Terria preview * Update logo path (will work in next PR) * Remove file from this PR * Restore image --- .github/workflows/terria_preview.yaml | 2 +- _static/dea-logo-small.png | Bin 0 -> 3736 bytes .../intertidal_c3/style_intertidal_cfg.py | 28 ++++++++++++++++++ .../intertidal_c3/utils_intertidal.py | 12 ++++++++ prod/terria/dea-maps-v8.json | 8 ++++- 5 files changed, 48 insertions(+), 2 deletions(-) create mode 100644 _static/dea-logo-small.png diff --git a/.github/workflows/terria_preview.yaml b/.github/workflows/terria_preview.yaml index a75e91994..d2434131a 100644 --- a/.github/workflows/terria_preview.yaml +++ b/.github/workflows/terria_preview.yaml @@ -26,7 +26,7 @@ jobs: **Terria Cube preview:** https://terria-cube.terria.io/#clean&https://raw.githubusercontent.com/GeoscienceAustralia/dea-config/${{ github.head_ref }}/dev/terria/terria-cube-v8.json - DEA Maps + DEA Maps **DEA Maps preview:** https://maps.dea.ga.gov.au/#clean&https://raw.githubusercontent.com/GeoscienceAustralia/dea-config/${{ github.head_ref }}/prod/terria/dea-maps-v8.json diff --git a/_static/dea-logo-small.png b/_static/dea-logo-small.png new file mode 100644 index 0000000000000000000000000000000000000000..2ff5062496d6777fe300a0433d52599edd7926ce GIT binary patch literal 3736 zcmV;J4rlR+P)e zSad^gZEa<4bO1wgWnpw>WFU8GbZ8()Nlj2!fese{01g02L_t(|+U=ZsbQEQlz<*yS zBp?iK1P2I@2t=1x;et7?>u~0bkc7l1pd#uhMLPJv!w$~6yUx*`hwbjpa`3$>LKoER zjE8X*P<9*w=>U#{G8#w65(G!q^+6nY8GMldsc-(M+fZo|(w!H9)IFz9(p6vG`l{}) z?!DjrzG_7$Nwm6V0Pr+$XQUw4A&@{sR3`#h1&jqg1BxRBxo-!zKafs=Fj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FV!%WZ50{6x;Z5niie@v4kAT}yRD{dJTY!tCJhq{^^J%nJ z$FFhz7#JB2hcjeA@~9QFej%PQLn&1b+$e+DGf->{mxmMgeG`c}X-{z&uoK76ojVs- zyEg!4%kP+&#$NG=Z>DhX_5xGe6F@(RXx&n1e&}=nPz;wTBh!bI`2>Dz#jKrDPFpFd z&(F~mTbAWoG3!IT`R!FQkXV6cf)%q4`1ITZ{I@S0e}p%Ozt100fQPiwJ%I%pee_{i zW-V*LTLJzu-Yn1zy!TBO%IA4W17?LnAq_+|`slSRUAh#&1YStzZM*(>?}1F{EDzXZ z9kH?`6QzFHghzZ(Yxk}MfM2XG{sFM9@AUPR1k$A?_4kfFk67G{N8Hy@9`HDiSX6OD zJmL!9<_D4hyh}XD3ty}*o*J0Bt2_O4#q)^k@O~jR0bntv@yE{WxOhYxsL|T}*ZYgs z>6#Un(5GjQf03||kUC&S-|6eu2If9pAoM`&Cm`ktfN!3R&fgO+35B%M(W14wc2yA} zrGA9>9!0X$0oU}MzW&9)sR zz}f+XohRR{oUD$7GM@zg_}(YAOA6+{7FfCq%U=O%q4ct(A4Yrt0000For more information and to download data, visit the DEA Intertidal product description", + "diffItemProperties": { + "featureInfoTemplate": { + "template": "

Digital Earth Australia Intertidal

Elevation differences are shown for pixels with data in both timesteps only.

Intertidal elevation in {{data.0.time}}:

{{#terria.formatNumber}}{maximumFractionDigits:2}{{data.0.bands.elevation}}{{/terria.formatNumber}} metres (± {{#terria.formatNumber}}{maximumFractionDigits:2}{{data.0.bands.elevation_uncertainty}}{{/terria.formatNumber}})

Intertidal elevation in {{data.1.time}}:

{{#terria.formatNumber}}{maximumFractionDigits:2}{{data.1.bands.elevation}}{{/terria.formatNumber}} metres (± {{#terria.formatNumber}}{maximumFractionDigits:2}{{data.1.bands.elevation_uncertainty}}{{/terria.formatNumber}})



For more information about intertidal mapping accuracy and limitations and data access options, visit the DEA Intertidal product description.

" + } + }, "featureInfoTemplate": { - "template": "

Digital Earth Australia Intertidal

This location had an elevation above modelled Mean Sea Level (MSL):

{{#terria.formatNumber}}{maximumFractionDigits:2}{{data.0.bands.elevation}}{{/terria.formatNumber}} metres (± {{#terria.formatNumber}}{maximumFractionDigits:2}{{data.0.bands.elevation_uncertainty}}{{/terria.formatNumber}})

It was exposed from tidal inundation for:

{{data.0.bands.exposure}}% of the {{#terria.formatDateTime}}{format: \"yyyy\"}{{data.0.time}}{{/terria.formatDateTime}} analysis period



Mapped intertidal extents can be affected by biases in the tidal conditions observed by satellites. At this location, satellites observed the coastline at tide heights ranging from {{#terria.formatNumber}}{maximumFractionDigits:2}{{data.0.bands.ta_lot}}{{/terria.formatNumber}} to +{{#terria.formatNumber}}{maximumFractionDigits:2}{{data.0.bands.ta_hot}}{{/terria.formatNumber}} metres above MSL, compared to the full astronomical tide range of {{#terria.formatNumber}}{maximumFractionDigits:2}{{data.0.bands.ta_lat}}{{/terria.formatNumber}} to +{{#terria.formatNumber}}{maximumFractionDigits:2}{{data.0.bands.ta_hat}}{{/terria.formatNumber}} metres above MSL.

This resulted in satellite data observing ~{{data.0.bands.ta_spread}}% of the astronomical tide range, and failing to observe the lowest ~{{data.0.bands.ta_offset_low}}% and highest ~{{data.0.bands.ta_offset_high}}% of tides.



For more information about intertidal mapping accuracy and limitations and data access options, visit the DEA Intertidal product description.

" + "template": "

Digital Earth Australia Intertidal

This location had an elevation above modelled Mean Sea Level (MSL):

{{#terria.formatNumber}}{maximumFractionDigits:2}{{data.0.bands.elevation}}{{/terria.formatNumber}} metres (± {{#terria.formatNumber}}{maximumFractionDigits:2}{{data.0.bands.elevation_uncertainty}}{{/terria.formatNumber}})

It was exposed from tidal inundation for:

{{data.0.bands.exposure}}% of the {{#terria.formatDateTime}}{format: \"yyyy\"}{{data.0.time}}{{/terria.formatDateTime}} analysis period



Mapped intertidal extents can be affected by biases in the tidal conditions observed by satellites. At this location, satellites observed the coastline at tide heights ranging from {{#terria.formatNumber}}{maximumFractionDigits:2}{{data.0.bands.ta_lot}}{{/terria.formatNumber}} to +{{#terria.formatNumber}}{maximumFractionDigits:2}{{data.0.bands.ta_hot}}{{/terria.formatNumber}} metres above MSL, compared to the full astronomical tide range of {{#terria.formatNumber}}{maximumFractionDigits:2}{{data.0.bands.ta_lat}}{{/terria.formatNumber}} to +{{#terria.formatNumber}}{maximumFractionDigits:2}{{data.0.bands.ta_hat}}{{/terria.formatNumber}} metres above MSL.

This resulted in satellite data observing ~{{data.0.bands.ta_spread}}% of the astronomical tide range, and failing to observe the lowest ~{{data.0.bands.ta_offset_low}}% and highest ~{{data.0.bands.ta_offset_high}}% of tides.


Data access and download

For more information about intertidal mapping accuracy and limitations and data access options, visit the DEA Intertidal product description.

" }, "id": "ghtu564", },