Question about error using interpolate_with_sva_pilotpoints_2d() provided grid specification file from modflow-usg (unstructured grid) #24
-
Hello! I am trying to use interpolate_with_sva_pilotpoints_2d() function with unstructured grid providing the grid specification file associated with modflow-usg. Please see below the screenshot of the code and error message: I also tried to use the function provided by pypestutils: 'get_grid_info_from_gridspec. Then I realized that it only works for structured grid type. Could you please provide any suggestions on reading in the grid spec file from modflow-usg for this function or constructing SpatialReference object in general? Any tips are much appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
According to the above, you don't have to provide the gsf file for an unstructured grid, a pandas dataframe with x,y, and layer will be accepted. I normally use this way for unstructured grid. Hope it helps. |
Beta Was this translation helpful? Give feedback.
According to the above, you don't have to provide the gsf file for an unstructured grid, a pandas dataframe with x,y, and layer will be accepted. I normally use this way for unstructured grid. Hope it helps.