min_max_coordinates: Determine the minimal and maximal eastings and northings for...

View source: R/Interpolationtool.R

min_max_coordinatesR Documentation

Determine the minimal and maximal eastings and northings for a region and the surrounding DWD-stations

Description

The coordinates of the subdomains of the specified region and the coordinates of the relevant DWD-stations are read. The minimal and maximal eastings and northings of all these coordinates are determined.

Usage

min_max_coordinates(Station_list, Area, coordinates)

Arguments

Station_list

A dataframe containing the relevant DWD-stations' IDs, eastings, northings and heights. The Station-IDs must consist of 5 digits. If the ID is shorter than that it must be filled with zeros as leading digits. The column names must be "Stations_id", "Easting", "Northing" and "Height".

Area

A dataframe containing all subdomain's names, gridcodes and heights. The column names must be "names", "gridcode" and "height".

coordinates

A dataframe containing every subdomain's coordinates. The column names must be "Easting_gridcode" and "Northing_gridcode" ("gridcode" must be replaced with the actual gridcode). Missing values indicated by NA-values are omitted during the procedure.

Value

results

A vector containing the minimal easting, the maximal easting, the minimal northing and the maximal northing in this order.

Author(s)

Laura Haendel


PhilippBuehler/FloodR documentation built on March 2, 2024, 9:53 a.m.