Skip to content

Failure to produce a Grid with Spline due to a MemoryError #92

Answered by leouieda
AlfredManda asked this question in Q&A
Discussion options

You must be logged in to vote

👋🏽 Hi @AlfredManda, I'm afraid you only have 2 options here:

  1. Buy more RAM (you'll need at least 60Gb for what you want to do)
  2. Use a different interpolation method. The Verde Spline is good for sparse data of moderate size (a few 10,000s). If you're interpolating between grids, use the built-in interpolation in xarray instead. Even then, anything other than nearest neighbours will be very limited for larger grids like yours.

The next version of Verde will include a fast nearest neighbours interpolator which would be great for making Lidar DEMs for example. If you want to use it, you'll have to install the development version of Verde from GitHub. See https://www.fatiando.org/verde/dev/ap…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@leouieda
Comment options

@AlfredManda
Comment options

@mdtanker
Comment options

Answer selected by AlfredManda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants