Skip to content
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

gdal needs for rasterizing global maps #346

Open
kejohnso opened this issue Sep 8, 2023 · 1 comment
Open

gdal needs for rasterizing global maps #346

kejohnso opened this issue Sep 8, 2023 · 1 comment
Assignees

Comments

@kejohnso
Copy link
Collaborator

kejohnso commented Sep 8, 2023

We use this script to rasterize the global maps, which depends on GDAL. The oq-engine GDAL wheel seems to be missing some of the GDAL functionalities that we use (i.e. gdal_rasterize), and so a separate installation via brew (or elsewhere) is required, which can cause problems with the GDAL installed in our openquake environment.

@pslh
Copy link
Contributor

pslh commented Sep 14, 2023

This script is used only by the GEM Hazard team, and is not intended for use by others.
We should consider replacing this script with a Python code that uses the GDAL functions directly rather than the executables; it would also make sense to investigate the possibility of using multiple CPU cores to e.g. process one layer per core (RAM permitting). It may also make sense to install this on a server/workstation so as not to tie up resources on a laptop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants