Skip to content

Instantly share code, notes, and snippets.

View omad's full-sized avatar

Damien Ayers omad

View GitHub Profile
@omad
omad / LS7_LS_USGS_ARD2.yaml
Created May 15, 2017 07:14
Attachments for datacube-core#233
name: ls7_LS_USGS_ARD2017
description: Landsat 7 USGS ARD 30 metre tile
metadata_type: eo
storage:
crs: PROJCS["WGS 84 / UTM zone 18N",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-75],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["EPSG","32618"]]
resolution:
x: 30
y: -30
@omad
omad / writers.py
Created May 22, 2017 05:17
DataCube Write Functions
"""
Useful functions for Datacube users
Not used internally, those should go in `utils.py`
"""
import rasterio
import numpy as np
DEFAULT_PROFILE = {
'blockxsize': 256,
@omad
omad / Investigating Data Cube Dataset YAML format.ipynb
Created August 9, 2017 07:03
Investigating Data Cube Dataset YAML format
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@omad
omad / Datacube Product Definitions.ipynb
Created August 14, 2017 07:02
u46_home/notebooks/Untitled9.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@omad
omad / Export Landsat Scenes from Digital Earth Australia.ipynb
Created September 11, 2017 03:07
Export Landsat Scenes from Digital Earth Australia
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@omad
omad / DEA NBAR Datasets Through Time.ipynb
Created September 12, 2017 06:47
DEA NBAR Datasets Through Time
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@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 / 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.

Table of Contents

Documentation restructure

User documentation

@omad
omad / mogreps ingest.ipynb
Last active February 20, 2018 23:48
Script for creating product and dataset documents for a mogreps NetCDF file
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.