Open ramarty opened 6 months ago
Hi @ramarty
I have been working Black Marble data in HDF5 format with stars
; it is faster than terra
. I can share the code with you to evaluate if stars
is a better option. Another option is that you implement functions using terra
and I can contribute with the functions using stars
, then after some use of the tools you can decide. Best
@alexyshr If you have some code to share that'd be great -- I think stars could be a good option for this, even with a set of parallel functions that use a stars approach
If already implemented different functions. I want to check the latest version you posted and I would love to contribute to the project. I can suggest (push-commit) small changes or new functionality and you can check and decide if leaving them as part of the package. Please let me know if we can work collaboratively. Thanks
@alexyshr This sounds great - and absolutely welcome contributions / would be great to work collaboratively here. The goal is to make the package as useful as possible to different workflows, so think your contributions would be particularly useful here.
If you will use
terra::extract
to update the functionbm_extract
. You can use points, points with radius (buffer), polygons, or polygons with radius (buffer) to extract the values. In addition, setting the parameters exact and weights to TRUE helps create a smoother time series (those parameters can be part ofbm_extract
).