Menu

Tree [9d14f9] master v0.1.1 /
 History

HTTPS access


File Date Author Commit
 example 2014-08-26 rsz rsz [6d7533] Tested and new docs.
 html 2014-08-26 rsz rsz [6d7533] Tested and new docs.
 libs 2014-08-26 rsz rsz [6d7533] Tested and new docs.
 src 2016-02-09 rsz rsz [9d14f9] Removed a verbose debug print.
 Makefile 2014-08-26 rsz rsz [06cc4b] Fixed dist target in makefile.
 Makefile.inc 2014-08-26 rsz rsz [6d7533] Tested and new docs.
 README.md 2014-08-26 rsz rsz [6d7533] Tested and new docs.

Read Me

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

  • Initial release.

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

<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>
MongoDB Logo MongoDB