Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8036561
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T02:39:39+00:00 2026-06-05T02:39:39+00:00

I have a point dataset that I’m trying to interpolate on a grid. These

  • 0

I have a point dataset that I’m trying to interpolate on a grid. These points are aligned in grid fashion with some points missing see below: enter image description here

To complicate it, it’s possible that other input pointsets may not align on a grid, so I’m trying to use scipy.interpolate.griddata to interpolate these values onto a regular grid. However, sometimes my underlying grid aligns perfectly with the sampling rate of the input point dataset and griddata hangs. According to this question scipy.interpolate.griddata operates poorly if the sample occurs across 3 points that are perfectly aligned which sometimes happens for me.

Is there a high performance alternative for interpolation of point data onto a regular grid in Python?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T02:39:40+00:00Added an answer on June 5, 2026 at 2:39 am

    My solution has been to stochastically perturb the x and y coordinates of each input point by a random factor between 1e-6 * grid_cell_size. I choose 1e-6 as a rule of thumb of several orders of magnitude greater than the minimum delta difference in a 32 bit float, yet small enough that the error introduced by it is still shadowed by the error introduced by the interpolation scheme.

    I’m still open to other ideas, but this way I can use the stock interpolation functions provided by scipy by introducing a very small numerical error.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a fairly large dataset (~1.4m rows) that I'm doing some splitting and
I have a dataset consisting of a large collection of points in three dimensional
I have a data set with over 50,000 geocoded points (lat-long). Each point has
I have a point in a rectangle that I need to rotate an arbitrary
i have bug that i cannot find, i have Class Point with method who
I'm pretty confused. I have a point: x= -12669114.702301 y= 5561132.6760608 That I got
I have a cloud point obtained from photogrammetry from a person's back. I'm trying
Let's assume we have a large list of points List<Point> pointList (already stored in
I have a list of rows from a dataset that I need to iterate
I have a dataset with labels which I would like to plot with points

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.