uafgeotools / rtm

A Python package for locating infrasound sources using reverse time migration
https://uaf-rtm.readthedocs.io/
MIT License
38 stars 13 forks source link

Overhaul gridded data I/O and processing + georeferencing #77

Closed liamtoney closed 1 year ago

liamtoney commented 1 year ago

This PR modernizes how rtm handles georeferenced data through the use of rioxarray and pyproj.

It also uses PyGMT in place of a subprocess call to GMT as the optional dependency used for SRTM data downloading.

We should expect fewer issues with grid/DEM incompatibility, and fewer issues related to OS and subprocess calls.

Note that the progress-bar branch has been merged into this one. See #76 for those changes. Only this PR needs to be merged, assuming the changes in that PR are approved.

Fixes #75 (and closes #76).