I run the following code I got the warning message. My data is pre-processed and a check the decimals.
How can I solve this? Any idea?
R=181/185/0/3
gmt blockmean corrected_data.txt -R$R -I1m -fg > blockmean.txt
gmt surface blockmean.txt -R$R -I1m -Gss_gridded_fix1.nc -T0.25 -fg
surface [WARNING]: 16 unusable points were supplied; these will be ignored.
surface [WARNING]: You should have pre-processed the data with block-mean, -median, or -mode.
surface [WARNING]: Check that previous processing steps write results with enough decimals.
surface [WARNING]: Possibly some data were half-way between nodes and subject to IEEE 754 rounding.
I have already try the following without success:
Save my data with more decimals (up to 50) and less decimals (gmt set FORMAT_FLOAT_OUT = %.50g). From %.7g I always got 16 unusable points.
I also try gmt set FORMAT_GEO_OUT=ddd:mm:ss.xxx with the same luck.
Set an greater interval only for blockmean (-I2m). I got 126 unusable points.
Does surface internally use a different -R due to the new feature of finding a better -R -I combination?
I guess we have no simple way to find the points that are excluded. Perhaps -Vd should print these out so we can examine them without running debugging.
Probably doe to blockmean is not writing out enough decimals so on input we end up with > 1 point inside several blocks, and those points farthest from the center are discarded. Probably on or very close to the bin borders.