NOTICE: This library is no longer being developed. Use Ensaio instead (https://www.fatiando.org/ensaio). -- Download geophysical models/datasets and load them in Python
BSD 3-Clause "New" or "Revised" License
34
stars
15
forks
source link
Reduce memory consumption when building Bedmap2 example #47
Generating the bedmap2 example when building the docs can consume a lot of memory an may crash not so powerful systems.
Would be nice to prevent this from happening, or at least raise a warning before start building the docs in order to avoid annoying situations.
On #45 we have reduced the memory consumption when reading the Bedmap2 datasets by converting them into Dask arrays, but generating the plot is still loading the entire file into RAM.
One solution proposed by @leouieda on #45 would be to plot just a portion of the continent.
Another one would be to reduce the resolution, although we must filter it to prevent aliasing.
Any new idea is very welcome!
Are you willing to help implement and maintain this feature? Yes
Description of the desired feature
Generating the bedmap2 example when building the docs can consume a lot of memory an may crash not so powerful systems. Would be nice to prevent this from happening, or at least raise a warning before start building the docs in order to avoid annoying situations. On #45 we have reduced the memory consumption when reading the Bedmap2 datasets by converting them into Dask arrays, but generating the plot is still loading the entire file into RAM.
One solution proposed by @leouieda on #45 would be to plot just a portion of the continent. Another one would be to reduce the resolution, although we must filter it to prevent aliasing. Any new idea is very welcome!
Are you willing to help implement and maintain this feature? Yes