OS Terrain 50¶
This page lists the methods that deal with loading the OS Terrain 50 data set.
Alphabetical list:
Accessing the data¶
- nevis.gb(downsampling=None)[source]¶
Returns an array of elevation data for Great Britain, with height in meters and grid points spaced 50m apart.
Array indices are (height, width), also known as (northings, eastings).
A downsampled version can be returned for testing purposes, by setting
downsampling
to any integer greater than one.
Downloading the data¶
- nevis.download_os_terrain_50(force=False)[source]¶
Downloads, unpacks and processes the OS Terrain 50 data set.
If a previously downloaded zip file is found then the downloading step is skipped, unless
force
is set toTrue
.If a previously unpacked and processed file is found, this method does nothing unless
force
is set toTrue
.