View source: R/AgroSoil_generic_functions.R
generate_ref_stations | R Documentation |
Generate a number of ground stations based on spatial coverage sampling approach for use in raster data extraction
generate_ref_stations( N_samples = 200, ROI_shp, out_dir, iterations = 10, crs_, ROI_state )
N_samples |
Numeric. Number of required ground stations. Default value is 100 |
ROI_shp |
Object of class SpatialPoints dataframe |
out_dir |
Directory to save outputs |
iterations |
Numeric. Number of resampling iterations. Default value is 10 |
crs_ |
Spatial reference for ground stations. Default is WGS84 "+proj=longlat +datum=WGS84 +no_defs" |
ROI_state |
String. Name of ROI for which stations are being generated. |
library(spcosa) library(raster) generate_ref_stations(ROI_shp, out_dir, ROI_state)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.