powered by
Check, and possibly correct, that the input stars object:
stars
Has exactly one attribute.
Has exactly two dimensions.
The dimensions are spatial, named x and y (in that order).
x
normalize_2d(x)
A stars object
A new stars object
# NOT RUN { # Small example data(dem) normalize_2d(dem) # }
Run the code above in your browser using DataLab