|
14 | 14 | "\n", |
15 | 15 | "<div class=\"alert alert-info\">\n", |
16 | 16 | " \n", |
17 | | - "**Note:** For more information on setting up tide models for DEA Intertidal using the `eo-tides` Python pacakge, refer to the [guide located here](https://geoscienceaustralia.github.io/eo-tides/setup/).\n", |
| 17 | + "**Note:** For more information on setting up tide models for DEA Intertidal using the `eo-tides` Python package, refer to the [guide located here](https://geoscienceaustralia.github.io/eo-tides/setup/).\n", |
18 | 18 | "\n", |
19 | 19 | "</div>" |
20 | 20 | ] |
|
53 | 53 | "id": "c586a481-013f-4884-8e53-f3ddb9c438d7", |
54 | 54 | "metadata": {}, |
55 | 55 | "source": [ |
56 | | - "Install latest version of DEA Intertidal:" |
| 56 | + "Install latest version of DEA Intertidal if required:" |
57 | 57 | ] |
58 | 58 | }, |
59 | 59 | { |
|
73 | 73 | } |
74 | 74 | ], |
75 | 75 | "source": [ |
76 | | - "%pip install -e . --quiet" |
| 76 | + "# %pip install -e . --quiet" |
77 | 77 | ] |
78 | 78 | }, |
79 | 79 | { |
|
1204 | 1204 | "fix, axes = plt.subplots(2, 2, figsize=(10, 8))\n", |
1205 | 1205 | "axes = axes.flatten()\n", |
1206 | 1206 | "\n", |
1207 | | - "ds.elevation.plot.imshow(\n", |
1208 | | - " cmap=\"viridis\", robust=True, ax=axes[0], label=False, add_labels=False\n", |
1209 | | - ")\n", |
| 1207 | + "ds.elevation.plot.imshow(cmap=\"viridis\", robust=True, ax=axes[0], label=False, add_labels=False)\n", |
1210 | 1208 | "axes[0].set_title(\"Elevation (m)\")\n", |
1211 | | - "ds.elevation_uncertainty.plot.imshow(\n", |
1212 | | - " cmap=\"inferno\", robust=True, ax=axes[1], label=False, add_labels=False\n", |
1213 | | - ")\n", |
| 1209 | + "ds.elevation_uncertainty.plot.imshow(cmap=\"inferno\", robust=True, ax=axes[1], label=False, add_labels=False)\n", |
1214 | 1210 | "axes[1].set_title(\"Elevation uncertainty (m)\")\n", |
1215 | | - "ds.qa_ndwi_corr.plot.imshow(\n", |
1216 | | - " cmap=\"RdBu\", vmin=-0.7, vmax=0.7, ax=axes[2], label=False, add_labels=False\n", |
1217 | | - ")\n", |
| 1211 | + "ds.qa_ndwi_corr.plot.imshow(cmap=\"RdBu\", vmin=-0.7, vmax=0.7, ax=axes[2], label=False, add_labels=False)\n", |
1218 | 1212 | "axes[2].set_title(\"Tide correlation\")\n", |
1219 | | - "ds.qa_ndwi_freq.plot.imshow(\n", |
1220 | | - " cmap=\"Blues\", vmin=0, vmax=1, ax=axes[3], label=False, add_labels=False\n", |
1221 | | - ")\n", |
| 1213 | + "ds.qa_ndwi_freq.plot.imshow(cmap=\"Blues\", vmin=0, vmax=1, ax=axes[3], label=False, add_labels=False)\n", |
1222 | 1214 | "axes[3].set_title(\"Inundation frequency (%)\");" |
1223 | 1215 | ] |
1224 | 1216 | }, |
|
1481 | 1473 | } |
1482 | 1474 | ], |
1483 | 1475 | "source": [ |
1484 | | - "ds.exposure.plot.imshow(\n", |
1485 | | - " cmap=cmocean.cm.matter_r, vmin=0, vmax=100, label=False, add_labels=False\n", |
1486 | | - ")\n", |
| 1476 | + "ds.exposure.plot.imshow(cmap=cmocean.cm.matter_r, vmin=0, vmax=100, label=False, add_labels=False)\n", |
1487 | 1477 | "plt.gca().set_title(\"Exposure\");" |
1488 | 1478 | ] |
1489 | 1479 | }, |
|
1561 | 1551 | }, |
1562 | 1552 | "widgets": { |
1563 | 1553 | "application/vnd.jupyter.widget-state+json": { |
1564 | | - "state": { |
1565 | | - "04ff1dc786bd43ae9b40ac9e79054b76": { |
1566 | | - "model_module": "@jupyter-widgets/controls", |
1567 | | - "model_module_version": "2.0.0", |
1568 | | - "model_name": "ProgressStyleModel", |
1569 | | - "state": { |
1570 | | - "description_width": "" |
1571 | | - } |
1572 | | - }, |
1573 | | - "14cb61b551c5421d9c6787bb1059c213": { |
1574 | | - "model_module": "@jupyter-widgets/controls", |
1575 | | - "model_module_version": "2.0.0", |
1576 | | - "model_name": "HTMLModel", |
1577 | | - "state": { |
1578 | | - "layout": "IPY_MODEL_f7eb721ebfd84ab793c9ea035b513eee", |
1579 | | - "style": "IPY_MODEL_e0202762aaa64a15bac48e8846e4efcc", |
1580 | | - "value": "100%" |
1581 | | - } |
1582 | | - }, |
1583 | | - "76c1f85381964e93b4aa38fde6175eb8": { |
1584 | | - "model_module": "@jupyter-widgets/controls", |
1585 | | - "model_module_version": "2.0.0", |
1586 | | - "model_name": "HTMLModel", |
1587 | | - "state": { |
1588 | | - "layout": "IPY_MODEL_f9754946f72d4baf81112a1835d76a3d", |
1589 | | - "style": "IPY_MODEL_c2532225aa694c5e9efdcbe107336c19", |
1590 | | - "value": " 55/55 [01:04<00:00, 1.16s/it]" |
1591 | | - } |
1592 | | - }, |
1593 | | - "84ab042d9b364ae8b79d2aae6f3d036e": { |
1594 | | - "model_module": "@jupyter-widgets/controls", |
1595 | | - "model_module_version": "2.0.0", |
1596 | | - "model_name": "FloatProgressModel", |
1597 | | - "state": { |
1598 | | - "bar_style": "success", |
1599 | | - "layout": "IPY_MODEL_a059d536fe8d4aaf9fc3ce37fb0b3d77", |
1600 | | - "max": 55, |
1601 | | - "style": "IPY_MODEL_04ff1dc786bd43ae9b40ac9e79054b76", |
1602 | | - "value": 55 |
1603 | | - } |
1604 | | - }, |
1605 | | - "a059d536fe8d4aaf9fc3ce37fb0b3d77": { |
1606 | | - "model_module": "@jupyter-widgets/base", |
1607 | | - "model_module_version": "2.0.0", |
1608 | | - "model_name": "LayoutModel", |
1609 | | - "state": {} |
1610 | | - }, |
1611 | | - "bdcdf2be0d65434486dc96907baca417": { |
1612 | | - "model_module": "@jupyter-widgets/controls", |
1613 | | - "model_module_version": "2.0.0", |
1614 | | - "model_name": "HBoxModel", |
1615 | | - "state": { |
1616 | | - "children": [ |
1617 | | - "IPY_MODEL_14cb61b551c5421d9c6787bb1059c213", |
1618 | | - "IPY_MODEL_84ab042d9b364ae8b79d2aae6f3d036e", |
1619 | | - "IPY_MODEL_76c1f85381964e93b4aa38fde6175eb8" |
1620 | | - ], |
1621 | | - "layout": "IPY_MODEL_f5bf1a0aa1344fafb10502093a0d2e95" |
1622 | | - } |
1623 | | - }, |
1624 | | - "c2532225aa694c5e9efdcbe107336c19": { |
1625 | | - "model_module": "@jupyter-widgets/controls", |
1626 | | - "model_module_version": "2.0.0", |
1627 | | - "model_name": "HTMLStyleModel", |
1628 | | - "state": { |
1629 | | - "description_width": "", |
1630 | | - "font_size": null, |
1631 | | - "text_color": null |
1632 | | - } |
1633 | | - }, |
1634 | | - "e0202762aaa64a15bac48e8846e4efcc": { |
1635 | | - "model_module": "@jupyter-widgets/controls", |
1636 | | - "model_module_version": "2.0.0", |
1637 | | - "model_name": "HTMLStyleModel", |
1638 | | - "state": { |
1639 | | - "description_width": "", |
1640 | | - "font_size": null, |
1641 | | - "text_color": null |
1642 | | - } |
1643 | | - }, |
1644 | | - "f5bf1a0aa1344fafb10502093a0d2e95": { |
1645 | | - "model_module": "@jupyter-widgets/base", |
1646 | | - "model_module_version": "2.0.0", |
1647 | | - "model_name": "LayoutModel", |
1648 | | - "state": {} |
1649 | | - }, |
1650 | | - "f7eb721ebfd84ab793c9ea035b513eee": { |
1651 | | - "model_module": "@jupyter-widgets/base", |
1652 | | - "model_module_version": "2.0.0", |
1653 | | - "model_name": "LayoutModel", |
1654 | | - "state": {} |
1655 | | - }, |
1656 | | - "f9754946f72d4baf81112a1835d76a3d": { |
1657 | | - "model_module": "@jupyter-widgets/base", |
1658 | | - "model_module_version": "2.0.0", |
1659 | | - "model_name": "LayoutModel", |
1660 | | - "state": {} |
1661 | | - } |
1662 | | - }, |
| 1554 | + "state": {}, |
1663 | 1555 | "version_major": 2, |
1664 | 1556 | "version_minor": 0 |
1665 | 1557 | } |
|
0 commit comments