-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Outdated script utils/update_from_upstream.sh #1
Comments
Hi @sesam thanks for the message! So I tried to build version 8 of the dggrid but was not able to wrap it up! If you have been able to build it I am happy to review your pr and merge it here. Thanks! |
Oh, now I'm both more and less confused 😅. I found the git commit that is in submodules/DGGR that point to the 8.1 version of sahrk/DGGR and it looks like the script I talk about is copied from r-barnes/dggridR so if the r-barnes repo uses the 8.1 code then it's their script that is outdated -- or on the other hand maybe the submodules/DGGR git commit hash is not pointing to the version actually used. So now first; what version of sahrk/DGGR is used by webDggrid? Asking as I'm looking to understand some trouble I have when running e.g.
What I'm really looking for is a chance to go from wgs84 to approximate 2m accuracy hexagon cell ids. |
Hi @sesam I use dggridR's version and the source is in the src-cpp folder. However, the version I am using is from 2023 and I have seen that they have updated their code to address some bugs recently. These bug fixes are not in the current source code. About the issue you mentioned, I think it is an issue on mac m1 cpus. Are you using a mac? I think the proper way to approach this is to build 8.1b with emcc. If we can build the latest version with it we can quickly change our source from dggridR to the main repository. |
Ok! Yes, I ran on a M1 mac on node v20 (binary for Mach-O 64-bit executable arm6) as well as in Chrome, and both seem to not process nCells correctly, but I'm also unsure how nCells is expected to work. Probably a good candidate for unit tests! |
Hi @sesam |
I'm checking what's needed to sync up to latest DGGRID. The git submodule is currently checked at c17e9f14581b2e3635e89d618fba6cf3530b20d8 so probably 8.1, but the script seems to not match. Does anyone have an updated shell script or is this a "PRs welcome" situation? :)
The text was updated successfully, but these errors were encountered: