Skip to contents

This function retrieves the coordinate window from a shapefile for downloading MET Nordic files. This window can then be passed to metnordic_buildquery() to parse OPENDAP urls to download.

Usage

metnordic_coordwindow(area_path, area_buffer = 0, preview = FALSE)

Arguments

area_path

String: path to shapefile of region / point (this must have point or polygon geometry!)

area_buffer

Integer: buffer in m to place around shapefile / point

preview

Logical: plot preview the coordinate window?

Value

returns a list of the min and max x and y cells for downloading.

Author

Moritz Shore

Examples

# TODO