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
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:
[x] Hotfix missing-one-row from pandas.csv load, oh the I/O misery! (1f1689820b1f5e2e207ae24eebab409a9f550e4a)
[x] Input pandas.DataFrame directly into grdtrack instead of using intermediate .xyz file (e44c7c68b63fa56aa9388f83c81340a6c8981e70)
[x] Attempt to input xarray.DataArray directly into grdtrack instead of using intermediate .nc file (66b97d2ad445cb70e833346df90549e12bd0f565)
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'spygmt.grdtrack
that is a whole lot nicer! Instead of having temporary.csv
and.nc
files, we could simply pass in apandas.DataFrame
andxarray.DataArray
in memory topygmt.grdtrack
, and get apandas.DataFrame
output we can analyze straightaway!TODO:
pandas.DataFrame
directly intogrdtrack
instead of using intermediate.xyz
file (e44c7c68b63fa56aa9388f83c81340a6c8981e70)xarray.DataArray
directly intogrdtrack
instead of using intermediate.nc
file (66b97d2ad445cb70e833346df90549e12bd0f565)