You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many things revealed while (looong) investigation of this bug. Things happen when the grdblend job involves blending two grids that themselves are on the edges of the the two 15s grids used to fill the bathymetry part.
First, MSVC shamelessly does not honor what is says in the docs of _mktemp_s and repeats the temp names even when a file with that name already exists. This is clearly a MSVC bug but past experiences with but reports there do not give me any motivation to report one more. Given this bug the 2 temporary names are the same and the first resampled grid was lost.
Second, tinny differences in wesn set by tile limits a the grid bounds of interpolated grids (from the 15s grids) could result in a jump of one grid step (of the 15s grid) leaving a stripe of zeros clearly visible in the figure post. Here, only a very precaution change was made, which solves the present case (and #7012) and does not break the tests.
Activity
joa-quim commentedon Jun 24, 2025
But probably, this is just another manifestation of #7012 and #7453
joa-quim commentedon Jan 5, 2026
Many things revealed while (looong) investigation of this bug. Things happen when the
grdblendjob involves blending two grids that themselves are on the edges of the the two 15s grids used to fill the bathymetry part.First, MSVC shamelessly does not honor what is says in the docs of
_mktemp_sand repeats the temp names even when a file with that name already exists. This is clearly a MSVC bug but past experiences with but reports there do not give me any motivation to report one more. Given this bug the 2 temporary names are the same and the first resampled grid was lost.Second, tinny differences in
wesnset by tile limits a the grid bounds of interpolated grids (from the 15s grids) could result in a jump of one grid step (of the 15s grid) leaving a stripe of zeros clearly visible in the figure post. Here, only a very precaution change was made, which solves the present case (and #7012) and does not break the tests.This PR fixes #8756 that showed both Windows specific and a general e…
This PR fixes GenericMappingTools#8756 that showed both Windows speci…