guessResolution: guessResolution

View source: R/guessResolution.R

guessResolutionR Documentation

guessResolution

Description

Guess the resolution of the given magpie object/coordinates by looking at the minimum difference between unique sorted values. Fall back to 0.5 if guess is infinite.

Usage

guessResolution(x)

Arguments

x

A magpie object or the coordinates of a magpie object (the result of getCoords)

Value

The guessed resolution of the data

Author(s)

Jan Philipp Dietrich, Pascal Sauer


pik-piam/magclass documentation built on June 2, 2025, 9:31 a.m.