Time series rasters

And the
Free and open source approach
Mike Spencer
@MikeRSpencer
scottishsnow.wordpress.com
m.spencer@ed.ac.uk

Outline

What are raster time series data?

What can you do with them?

Why are they a challenge?

The technical it

Where can you get them?

!e"initions

Raster data
OS Terrain#$ !TM
% &rown &opyright'dataase right ($)*. An
Ordnance Sur+ey',!-.A supplied ser+ice.

Time series data
http/''www.geos.ed.ac.uk'Weathercam'station'month.html

Combined!

What are they?
http/''www.meto""ice.go+.uk

What are they?

Weather

Radar rain"all

Model outputs 0temp'precip'etc1

Satellites

Atmosphere

2and

&ryosphere

Ocean

Repeat 2i!AR

3ridded model outputs
http/''lca.usgs.go+'lca'a"ricalulc'approach.php

Are they 4ust pictures?

https/''meto""icenews.wordpress.com'tag'satellite5imagery'

What can you do?
http/''nsidc.org'data'myd)$a) MO!-S snowco+er6 #$$ m6 )57 Sept ($$(

What can you do?
http/''scottishsnow.wordpress.com'($)*'$8')*'ritish5hydrological5society5($)*5symposium5poster'

,asy9


Why is this a challenge?

Two tiles co+er Scotland

Two MO!-S satellites pass e+ery day

)*:$ tiles per year...

Met O""ice radar rain"all

# min inter+al

(;; tiles a day9
http/''catalystn<.logspot.co.uk'($)('$:'(*5hour5"lashed5in5pan.html

Tools

=rogramming language

3!A2

!ata container0s1

=lotting tool

Work"low

!ownload dataset

Think time and disc space

File "ormat and repro4ection

Read into container

Analysis

Write results to container

=lot results

Work"low

!ownload dataset

Think time and disc space

File "ormat and repro4ection

Read into container

Analysis

Write results to container

=lot results

3!A2

File "ormat 0gdal>translate1

Merging 0gdal>merge.py1

Repro4ection 0gdalwarp1

.ati+ely in =ython

?se in R +ia

rgdal

gdal?tils

Analysis

r.mask @ select only areas o" interest

r.mapcalc @ general sums

Also good "or comining sources

r.stats @ summary o" raster

):) installed modules 0+:.*.#1

Write results to SA2ite

Bow?


Some data sources

Met O""ice

http/''www.meto""ice.go+.uk'climatechange'science'monitoring'ukcp$8'download'indeC.html

Dritish Atmospheric !ata &entre

http/''adc.nerc.ac.uk'home'indeC.html

,dina 0education only1

http/''edina.ac.uk'

.ASA

http/''modis.gs"c.nasa.go+'data'dataprod'indeC.php

&entre "or ,cology and Bydrology

http/''eidchu.ceh.ac.uk'metadata'#dc)E8dc5":8(5*8a587(:5a:;87a#$7":e

Belp9

scottishsnow

http/''scottishsnow.wordpress.com'($)*'$;'(*'many5rastered5east'

Folcan$)$)$

http/''all5geo.org'+olcan$)$)$'

!uncan 3olicher

http/''duncan4g.wordpress.com'($)(')('))'loading5modis5nd+i5time5series5
into5postgis5raster'

StackeCchange

http/''stacko+er"low.com

3-S'O+er"low'etc

Many thanks
G
Auestions?
@MikeRSpencer
scottishsnow.wordpress.com
m.spencer@ed.ac.uk