GenericMappingTools / pygmt

A Python interface for the Generic Mapping Tools.
https://www.pygmt.org
BSD 3-Clause "New" or "Revised" License
747 stars 216 forks source link

Gallery example to showcase blockmean/blockmedian and surface #1352

Open weiji14 opened 3 years ago

weiji14 commented 3 years ago

Description of the desired feature

As suggested by https://github.com/GenericMappingTools/pygmt/issues/1351#issuecomment-866497785, it would be great to have a gallery example (or a full tutorial) showing how to use blockmean/blockmedian to reduce an xyz table dataset, and then run surface on the output to produce a grid (that can be plotted). There is an old and outdated example for processing LIDAR points at https://github.com/GenericMappingTools/foss4g2019oceania/blob/v1/3_lidar_to_surface.ipynb that can be used as a starting guide.

image

A challenge might be in sourcing a suitable xyz dataset that is openly available for this gallery example. Anyone have any suitable ideas?

Are you willing to help implement and maintain this feature? Happy to review or guide someone to work on this

maxrjones commented 3 years ago

I used the xyz -> blockmedian -> surface workflow in the tutorial for the PyGMT refresher, which can also be used as a reference for this gallery example.