gridutils-c


Grid utilities

It was good here, but Google Code is shutting down

From 24 August 2015

gridutils project is hosted at GitHub


gridutils provides C library functions and command line utilities for working with curvilinear grids. gridutils has been developed and used mainly for grids generated by gridgen, but can be used to handle arbitrary 2D quadrilateral simply connected multi-corner grids.

Contains the following utilities:

  • getbound - extracts the bounding polygon

  • getnodes - validates and converts grids between double density, center and corner formats

  • gridbathy - interpolates scattered data onto the grid

  • insertgrid - inserts nodes from one grid into another at a specified location in index space

  • setbathy - given a three-column data file (X Y Z), sets values in specified index range to a specified value

  • subgrid - extracts nodes for a subgrid specified by index range

  • xy2ij - converts point coordinates between physical and index spaces

To build the interpolation utility gridbathy one needs to install nn, a Natural Neighbours interpolation library and csa, a cubic spline approximation library. Apart from that gridutils does not depend on other codes.

Checkout gridutils by running "svn checkout https://gridutils-c.googlecode.com/svn/gridutils"

README

Project Information

Labels:
gridutils gridbathy C gridgen