Create and add a grid of latitude and longitude points to a model object
add_grid(model, lat = NULL, lon = NULL, range = c(5, 5),
division = c(0.5, 0.5), start_day = NULL, start_hour = NULL,
end_day = NULL, end_hour = NULL, duration = NULL, heights = NULL,
samp_interval = 0, samp_type = 6, samp_rate = 0, name = NULL)
a SplitR modeling object
a latitude value in decimal degrees for the point of reference on the grid.
a longitude value in decimal degrees for the point of reference on the grid.
the latitude and longitude range about
the grid_ref
.
the division distances across the latitude and longitude ranges.
the day that the grid will become
active and measuring particle concentrations. This
should take the form of a single-length vector for a
day ("YYYY-MM-DD"
).
the associated hour for the
start_day
variable, taking the form of a
single integer hour (from 0
to 23
).
the day that the grid will cease to
be active and no longer measuring particle
concentrations. This should take the form of a
single-length vector for a day ("YYYY-MM-DD"
).
the associated hour for the
end_day
variable, taking the form of a
single integer hour (from 0
to 23
).
a length of time in hours that the grid will remain active from the start date-time.
a vector of heights for which there will be horizontal sampling grids.
the sampling interval in units of hours.
the type of sampling that will occur.
the sampling rate.
an identifier for this set of grid parameters.