rasterize_geo_timeseries: Aggregate a geospatial time series on polygons

Arguments Details Author(s) See Also Examples

View source: R/rasterize_geo_timeseries.R

Arguments

df_input
intersection_layer

sf polygon

calendar
buffer

real only in case df_input is a trajectory

Details

df_input must have columns: date, lat, lon if df_input is a trajectory, must have 2 additional columns: id_object and id_trajectory

calendar must have columns: time_start and time_end

intersection_layer: type sp SpatialPolygonsDataFrame

The input data that do not intersect any polygon of the intersection_layer are marked as 'no_geo_intersection' in the column 'geographic_identifier' of the output dataset

Author(s)

Chloé Dalleau, dalleau.chloe@hotmail.fr; modified by Paul Taconet, paul.taconet@ird.fr

See Also

Other process data: convert_units, create_calendar, create_grid, get_rfmos_datasets_level0, map_codelist, raise_datasets_by_dimension, raise_get_rf, raise_incomplete_dataset_to_total_dataset, spatial_curation_downgrade_resolution, spatial_curation_intersect_areas, spatial_curation_reallocate_data, spatial_curation_upgrade_resolution

Examples

1
2
3
4
5
6
# Create a continous calendar of 1 month time step
calendar<-create_calendar("2000-01-01","2020-01-01",1,"month")
# Create a ĝrid of 1° resolution
grid <- create_grid(latmin=-90,latmax=90,lonmin=-180,lonmax=80,resolution=1,centred=T)

# Rasterize

ptaconet/rtunaatlas documentation built on Sept. 21, 2021, 10:43 p.m.