The regrid_environment directory offers a scripting environment to calculate the regridding weights and the regridding error for specific couple of grids and specific regridding algorithms with either the SCRIP library, ESMF or XIOS. The document regrid_environment_documentation.pdf therein contains all instructions on how to run this tutorial.