Gri

The “Gri” engine (see Gri on SourceForge for more details) allows to generate with little effort publication-quality plots from data columns stored in plain text files.

  • Install prerequisites
    $ brew install autoconf
    $ brew install automake
    
  • Clone a local copy of the Gri repository from github.com either using ssh (requires ssh key setup with github account)
    $ git clone git@github.com:dankelley/gri.git

    or using https

    $ git clone https://github.com/dankelley/gri.git
  • Change current working directory to cloned Gri directory, then
    $ aclocal
    $ autoconf
    $ automake --add-missing
    $ ./configure
    $ make
    $ sudo make install

2 thoughts on “Gri

  1. If you encounter an error with epstopdf stating “Error: Cannot open Ghostscript for piped input”

    do cd /usr/local/bin ; ln -s gs-noX11 gs to fix the problem

    Note : gs (ghostscript) is removed in new versions of MacTex, so you have to use either gs-X11 (requires X11/Xquartz installed) or gs-noX11

    Like

  2. Hi everyone,

    If you are seeing error like this when trying to use Gri after upgrading your homebrew or macOS:

    dyld: Library not loaded: /usr/local/opt/netcdf/lib/libnetcdf.7.dylib
    Referenced from: /usr/local/bin/gri
    Reason: image not found

    It will most likely you local build of Gri is corrupted during some update (unfortunately this happens all the time). The quickest solution right now would be simply reinstall following the instructions.

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s