I'm using satellite data to determine Net Primary Production (NPP) for over 100 sample locations. For every location, I need to obtain NPP values for every month (January- December) for a ten-year span (2007-2017). I need to find a way to automate this with code.
This is the structure of my data:
'''
structure(list(Month = c("January-", "January-", "January-",
"January-", "January-"), long = c(-179.916672, -179.75, -179.583328,
-179.416672, -179.25), lat = c(39.916668, 39.916668, 39.916668,
39.916668, 39.916668), npp = c(297.813, 304.971, 292.946, 296.196,
285.804)), row.names = c(NA, -5L), class = c("tbl_df", "tbl",
"data.frame"))
'''
The coordinates for the first sample are 14.58, 168.03 and there is an exact match for every month between January and December. I need to find these values, but the dataset is very large. If anyone could help me in anyway to help automate this process, I would be so grateful.