gmt blockmean

Added by Piyush 7 months ago


I am trying to get number of samples for each bin using gmt blockmean via following script

cat | gmt blockmean -R0/180/0/180 -I1/1 -Sn >

This only provides the values which have the number of samples of more than 0.
I want to the remaining values of bins which have samples values 0.

Thank you

Replies (1)

RE: gmt blockmean - Added by Paul 7 months ago

Please post on the GMT forum at instead.

Just do

cat | gmt blockmean -R0/180/0/180 -I1/1 -Sn -Gsam.grd
gmt grd2xyz sam.grd  -do0 >