# Regrid & Interpolate

This notebook walks through the procedure of regridding and interpolating the the data between watercolumn samples so that a uniform depth is associated with each measurement.

Note: work in progress

{% embed url="<https://colab.research.google.com/drive/19e2eWUfJofbBsawmPzbNLGEzmVC_q2s2?usp=sharing>" %}

This notebook is most recent (Jan 2024) workflow for gridding the data to a new set of depths and interpolating 1d:

{% embed url="<https://colab.research.google.com/drive/1UsnXdpkvzMslRuh3DViUlm-GFsk3yGvW#scrollTo=CISmM22IYzeL>" %}

Further reading on a proper resample method:

{% embed url="<https://xesmf.readthedocs.io/en/latest/notebooks/Dataset.html>" %}

{% embed url="<https://climate-cms.org/posts/2021-04-09-xesmf-regrid.html>" %}

* [https://ncar.github.io/esds/posts/2021/regrid-observations-pop-grid/  \
  promising:  \
  https://github.com/EXCITED-CO2/xarray-regrid  \
  https://xesmf.readthedocs.io/en/latest/notebooks/Curvilinear\_grid.html  \
  https://corteva.github.io/rioxarray/stable/examples/reproject.html  \
  https://climate-cms.org/posts/2021-04-09-xesmf-regrid.html <br>](https://ncar.github.io/esds/posts/2021/regrid-observations-pop-grid/promising:https://github.com/EXCITED-CO2/xarray-regridhttps://xesmf.readthedocs.io/en/latest/notebooks/Curvilinear_grid.htmlhttps://corteva.github.io/rioxarray/stable/examples/reproject.htmlhttps://climate-cms.org/posts/2021-04-09-xesmf-regrid.html)
*
