weiji14 / deepbedmap

Going beyond BEDMAP2 using a super resolution deep neural network. Also a convenient flat file data repository for high resolution bed elevation datasets around Antarctica.
GNU Lesser General Public License v3.0
43 stars 26 forks source link

Refactor RMSE_test calculation using pygmt.grdtrack #149

Closed weiji14 closed 5 years ago

weiji14 commented 5 years ago

Simplifying and hopefully speeding up the code used to get interpolated grid values at certain groundtruth points. Previously used !gmt grdtrack which is a bash hack, but now there's pygmt.grdtrack that is a whole lot nicer! Instead of having temporary .csv and .nc files, we could simply pass in a pandas.DataFrame and xarray.DataArray in memory to pygmt.grdtrack, and get a pandas.DataFrame output we can analyze straightaway!

TODO:

review-notebook-app[bot] commented 5 years ago

Check out this pull request on ReviewNB: https://app.reviewnb.com/weiji14/deepbedmap/pull/149

Visit www.reviewnb.com to know how we simplify your Jupyter Notebook workflows.