ncregrid - Regrid Single Irregular NetCDF Grid

Banner image 1 Banner image 2

Overview

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.

Example

#  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

Download

Source code

Installation

# After adjusting Makefile.inc.
make app
make example
make install
make clean

News

v0.0.0 2014/8/25

Distribution

make html
make dist VER=0.0.0

Publishing

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

License

Copyright 2014 Remik Ziemlinski under the terms of the GNU General Public License v3