Skip to content

Instantly share code, notes, and snippets.

View sixy6e's full-sized avatar

Josh Sixsmith sixy6e

  • Geoscience Australia
View GitHub Profile
@sixy6e
sixy6e / .gitignore
Last active September 24, 2021 12:33
QA algorithm extraction prototype
# mypy
.mypy_cache/
.dmypy.json
dmypy.json
@sixy6e
sixy6e / README
Last active December 1, 2020 22:47
segments stats toy example
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
@sixy6e
sixy6e / README
Last active November 11, 2020 09:33
Unique CRS for Landsat Region Code
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.
@sixy6e
sixy6e / README
Created October 21, 2020 06:17
poetry-test
A quick prototype in using poetry for a mock python project that simply defines all dependent python libraries for a
self-contained project.
eodatasets3 metadata only example.
@sixy6e
sixy6e / README
Last active July 10, 2020 01:50
memory profiling on gadi
test some basic image I/O on gadi
@sixy6e
sixy6e / README
Last active October 29, 2020 23:50
sample deploy
sample script to deploy
@sixy6e
sixy6e / README
Last active June 22, 2020 23:13
CRS axis test
A toy script to test the crs axis ordering. Proj6 now respects the axis ordering as defined by the CRS.
@sixy6e
sixy6e / filter.py
Last active June 22, 2020 05:06
ard-final-psedo-logic
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"
@sixy6e
sixy6e / README
Last active April 22, 2020 03:37
demo
This gist is purely a demonstration
Let's add a line of text.