-
Notifications
You must be signed in to change notification settings - Fork 15
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
How to get a denser grid? #9
Comments
Hi Carolina! I got exactly the same problem yesterday, so would be interested in the In the meantime, I managed to create my own grid with the R package Jade |
Hi Jade, Sorry for the late reply, but thank you so much for your feedback. Best, |
Hi @jbruxaux @jhmarcus @jnovembre , Thanks in advance |
Hi Yung-Chien! Not sure I can really help, as I'm not the developer, but did you try to change the argument Jade |
Hi @jbruxaux , Best, |
Hey @jbruxaux , Anyway I'll go on to the rest of this tutorial. Best, |
Hi @jbruxaux, thanks for the suggestion - I'm also trying to generate a denser grid. Do you happen to know how this code can be modified to create a grid for a smaller specified region rather than a global grid? Thanks! |
Hi Melissa! |
Hello @jbruxaux and thanks for getting back to me :) The issue I had creating a global dgg was that R crashed when I ran it at higher resolutions. I managed to get what I needed with: #create discrete global grid #read in uk shapefile #view boundary shape <- read_sf(dsn = ".", layer = "scot_ne") #create grid #plot However, when I use it in feems I get the following error: I think perhaps there's a conflict in the projection systems between my grid and the program, but I'm not sure - this is very out of my comfort zone! solved by removing the .prj file |
Hi,
Thank you for the nice software.
I have successfully run the example dataset, but when I try to use my data I had two issues:
When running the function
prepare_graph_inputs
with the argumenttranslated=True
as in the example it gives me the error message "AssertionError: grid is empty changing translation" and the output is not generate. But if I run it withtranslated=False
it runs smoothly without any errors. So I was wondering what would be the impact of changing this argument.Since my study area is at country level, I would like to perform the analysis with a denser grid (with more demes) than the one provided in the example to improve the resolution of the analysis. Would that be possible? and if so, could you provide some guidelines on how to generate such input?
Thank you for your time.
Best,
Carolina
The text was updated successfully, but these errors were encountered: