Skip to contents

Download data from NREL using grid of points.

Usage

fetch_data_from_grid(
  grid_sf,
  cells = NULL,
  nmax = 100,
  plot_process = T,
  file_name = NULL,
  sleep_after_finish = FALSE
)

Arguments

grid_sf

sf object with coordinates of points to download

cells

integer sequence of row-numbers in grid_sf object

nmax

integer maximum number of data-points to download

plot_process

logical, should the process be visualized

file_name

file name with path, if provided, the results will be saved in the file. Otherwise, results will be returned to global environment.

sleep_when_done

logical, if TRUE, puts the computer to sleep when done