Tree [abdd6d] master v0.0.0 /
History



File Date Author Commit
html 2012-10-21 rsz rsz [abdd6d] Fixed scp command in readme.
libs 2012-10-21 rsz rsz [8ec50d] Working with tiles all datatypes.
src 2012-10-21 rsz rsz [8ec50d] Working with tiles all datatypes.
test 2012-10-21 rsz rsz [15e6fb] Finished html.
COPYING 2012-10-20 rsz rsz [079d35] Initial commit.
Makefile 2012-10-21 rsz rsz [15e6fb] Finished html.
Makefile.inc 2012-10-20 rsz rsz [079d35] Initial commit.
README.md 2012-10-21 rsz rsz [abdd6d] Fixed scp command in readme.

Read Me

ncmerge - Regrid Irregular NetCDF Data

Banner image

Overview

ncmerge can combine
cell-based irregular grids very quickly into a single equirectangular
(Plate Carree) grid to simplify visualization workflows. It first
creates a map file from coordinate grids, and then performs fast
lookups when regridding data values. 3D time varying variables are supported.

Example

# Create map file once for all the coordinates.
GRIDS=1.nc,2.nc,3.nc,4.nc,5.nc,6.nc
ncmerge --map map.nc --eta --near 4 --grids $GRIDS --cells --gridvars xt,yt --nx 400 --ny 200

# Progress output.
# Done |  Elapsed | Remaining |  Processed | Unprocessed | Rate
# 100% | 00:00:00 |  00:00:00 | 80,000 pts |       0 pts | 685,365 pts/s

# Regrid the values.
ncmerge --map map.nc --tiles $GRIDS --var data -o regridded.nc

Figure1

Figure 1. Original grids from 6 cubed sphere tiles.

Figure2

Figure 2. Tiles visualized on a 3D sphere.

Figure3

Figure 3. Tiles regridded onto unified grid by ncmerge.

Download

Source code

Installation

# After adjusting Makefile.inc.
make
make test
make install
make clean

News

v0.0.0 2012/10/19

  • Initial release.

Distribution

make html
make dist VER=0.0.0

Publishing

ssh -t rsz,ncmerge@shell.sourceforge.net create
scp html/* rsz,ncmerge@shell.sourceforge.net:/home/project-web/ncmerge/htdocs
scp ../ncmerge-0.0.0.tar.gz rsz,ncmerge@shell.sourceforge.net:/home/frs/project/n/nc/ncmerge

License

Copyright 2012 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>