
ncregrid can regrid a structured/irregular/warped grid very quickly to a equirectangular (Plate Carree) grid to simplify visualization workflows. It first creates a map file from coordinate grids, and then performs fast approximate nearest neighbor spatial index lookups when regridding data values. 3D time varying variables are supported. Unlike ncmerge, this operates on just a single grid, instead of tiles spread amongst separate files.
# Create map file once.
ncregrid --map map.nc --eta -g xy.nc -x lon -y lat --nx 1000 --ny 500
# Do the regridding.
ncregrid --map map.nc --eta -i data.nc -v myvar -o output.nc
# After adjusting Makefile.inc.
make app
make example
make install
make clean
v0.0.0 2014/8/25
make html
make dist VER=0.0.0
ssh -t rsz,ncregrid@shell.sourceforge.net create
scp html/* rsz,ncregrid@shell.sourceforge.net:/home/project-web/ncregrid/htdocs
scp ../ncregrid-0.0.0.tar.gz rsz,ncregrid@shell.sourceforge.net:/home/frs/project/n/nc/ncregrid
Copyright 2014 Remik Ziemlinski under the terms of the GNU General Public License v3