Sorry, I haven’t checked the message for a long time. I still just read the data in grid and generate a inv_grid to solve this problem.
(PS. your name is the same as my senior’s who is in our lab. hh~)