make_grid.Rd
Make a rectangular grid
make_grid(lon, lat, dx, dy = dx, n = 1, thr = 0.8, hires = FALSE, mask = TRUE)
Longitude of the left and right corners of the grid.
Latitude of the upper and lower corners of the grid.
Resolution in the longitude axis (in degrees).
Resolution in the latitude axis (in degrees).
Number of points within a square to test ocean/land mask. See details.
Use high resolution coast line? Default to FALSE, TRUE will take considerly longer time to compute.
A list, including the grid and land/ocean mask.