ncregrid Code
Regrid 2D structured (warped) grid in NetCDF file to uniform grid.
Brought to you by:
rsz
| File | Date | Author | Commit |
|---|---|---|---|
| example | 2014-08-26 |
|
[6d7533] Tested and new docs. |
| html | 2014-08-26 |
|
[6d7533] Tested and new docs. |
| libs | 2014-08-26 |
|
[6d7533] Tested and new docs. |
| src | 2016-02-09 |
|
[9d14f9] Removed a verbose debug print. |
| Makefile | 2014-08-26 |
|
[06cc4b] Fixed dist target in makefile. |
| Makefile.inc | 2014-08-26 |
|
[6d7533] Tested and new docs. |
| README.md | 2014-08-26 |
|
[6d7533] Tested and new docs. |


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
<link rel="stylesheet" href="http://yandex.st/highlightjs/7.0/styles/default.min.css">
<script src="http://yandex.st/highlightjs/7.0/highlight.min.js"></script> <script>hljs.initHighlightingOnLoad();</script> <style type="text/css"> body { font-family: Sans-Serif; } </style>