This file contains hidden or 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
| # mypy | |
| .mypy_cache/ | |
| .dmypy.json | |
| dmypy.json |
This file contains hidden or 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
| A toy script to demonstrate generating statistics across array segments/blobs/labels. | |
| The context for the example is 2D imagery. | |
| It'll compare two methods: | |
| 1. reverse indices provided by <https://github.com/sixy6e/idl-functions> and wrapped by <https://github.com/sixy6e/image-processing> to for ease of use in an image processing context | |
| 2. loop through id's and do a bool lookup |
This file contains hidden or 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
| Test that each Landsat *region_code* contains a singular CRS. Previous Collections could contain multiple CRS's for a given | |
| *region_code*. It would occur for regions that bordered UTM zones, and a CRS for a given acquisition was generally determined | |
| centre of the acquisition. |
This file contains hidden or 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
| A quick prototype in using poetry for a mock python project that simply defines all dependent python libraries for a | |
| self-contained project. |
This file contains hidden or 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
| eodatasets3 metadata only example. |
This file contains hidden or 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
| test some basic image I/O on gadi |
This file contains hidden or 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
| sample script to deploy |
This file contains hidden or 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
| A toy script to test the crs axis ordering. Proj6 now respects the axis ordering as defined by the CRS. |
This file contains hidden or 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
| import datetime | |
| from pathlib import Path | |
| import structlog | |
| import h5py | |
| from wagl.hdf5 import read_h5_table | |
| from wagl.constants import WaterVapourTier | |
| LOG = structlog.get_logger() | |
| DEFINITIVE_START_DATE = datetime.datetime(2002, 7, 1) | |
| BRDF_DIR = "/g/data/v10/eoancillarydata-2/BRDF/MCD43A1.006" |
This file contains hidden or 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 gist is purely a demonstration | |
| Let's add a line of text. |