Replies: 1 comment 2 replies
-
Hi there, Thank you for getting in touch about using the extract_dynamic_coords function. The function works by collecting all the bands from a dataset within a temporal window and then processing them. For your specific case, I would recommend setting the temporal resolution as 31 days prior and using the GEE.math.fun argument as "last". This will return the value of the most recent band in the dataset from the month prior to your occurrence data. By setting GEE.math.fun to "last", you are essentially using the Google Earth Engine reducer ee.Reducer.last(), which returns the last value of its inputs (https://developers.google.com/earth-engine/apidocs/ee-reducer-last). Best wishes, |
Beta Was this translation helpful? Give feedback.
-
Hello everyone!
I am testing the dSDM package for a project of mine and have a question about using the "extract_dynamic_coords" function.
I am extracting data from a monthly dataset (TERRACLIMATE, link: https://developers.google.com/earth-engine/datasets/catalog/IDAHO_EPSCOR_TERRACLIMATE) and I have daily presence/pseudoab occurrences data. When I use the function "extract_dynamic_coords" I can't omit the arguments "GEE.math.fun" and "temporal.res". All I need is the single climatic data for my occurences data (e.g. maximum temperature for that month), not an average or any other function that I can calculate with "GEE.math.fun". I don't need, for example, the sum of the precipitation for x days before my data, as in the tutorials.
How should I set these two arguments?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions