Skip to content

Instantly share code, notes, and snippets.

View omad's full-sized avatar

Damien Ayers omad

View GitHub Profile
@omad
omad / MODIS OC.ipynb
Last active September 11, 2018 00:38
MODIS Ocean Colour on DEA
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@omad
omad / delete_odc_product_steps.sql
Created May 18, 2018 02:12
SQL for deleting a Data Cube Product.
------------------------------------------
-- Some SQL to Delete a Data Cube Product
------------------------------------------
--
-- COUNT NUMBER OF DATASETS OF EACH TYPE (including archived)
--
select
count(*),
t.name
@omad
omad / spatio-temporal-access-catalogues.org
Last active May 15, 2018 22:35
SpatioTemporal Access Catalogues and the Open Data Cube

SpatioTemporal Access Catalogues and ODC

What is STAC?

The SpatioTemporal Asset Catalog specification is a simple specification being designed to make open geospatial assets searchable and crawlable. It aims to

@omad
omad / Grouping Datasets by Solar Day.ipynb
Created March 21, 2018 01:33
Grouping Datasets by Solar Day
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@omad
omad / dea_product_definitions.yaml
Created February 15, 2018 23:51
DEA Product Definitions
description: Landsat 5 Fractional Cover 25 metre, 100km tile, Australian Albers Equal
Area projection (EPSG:3577)
managed: true
measurements:
- aliases: [bare]
dtype: int8
name: BS
nodata: -1
units: percent
- aliases: [green_veg]
@omad
omad / mogreps ingest.ipynb
Last active February 20, 2018 23:48
Script for creating product and dataset documents for a mogreps NetCDF file
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Table of Contents

Documentation restructure

User documentation

@omad
omad / pr-notes.md
Last active January 15, 2018 06:07

Reverting DriverManager and implementing alternatives

Reason for Pull Request

Although initially the DriverManager code seemed to address the need for extensibility in Data Cube. Upon trying to use it in the NCI/GA deployment we discovered a few show-stopper issues including:

  • Passing the DriverManager around everywhere broke the distributed bulk processing.
@omad
omad / index.html
Last active December 8, 2017 01:08
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2017-12-08 Fri 11:59 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Discussion points - DataCube S3 Refactor</title>
<meta name="generator" content="Org mode" />
@omad
omad / DEA NBAR Datasets Through Time.ipynb
Created September 12, 2017 06:47
DEA NBAR Datasets Through Time
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.