kmaterna / Strain_2D

Strain rate modeling from GNSS velocity fields
MIT License
43 stars 17 forks source link

Don't plot strain rate tensors in water #19

Closed jlmaurer closed 2 years ago

jlmaurer commented 2 years ago

Not sure how easy this is in GMT/PyGMT but I'm thinking it will be best to mask out strain rate tensors over water, even though in some cases it might be interesting to see them. I'm finding in areas with a large amount of water (i.e. Hispaniola) we're getting unrealistic strain tensors well offshore. Maybe we can figure out a way to only plot them within a buffer distance of shore or something.

kmaterna commented 2 years ago

Good idea. I'll look into "gmt grdlandmask" options. It's easy in gmt; never tried it in pygmt.

kmaterna commented 2 years ago

Fixed in commit 785fbea. FYI I needed to upgrade PYGMT on the conda environment to get grdlandmask function; probably a good idea every once in a while. I used: 'conda install pygmt --update-all'