tobeycarman / QLNetcdf

A QuickLook Plugin for previewing NetCDF files.
MIT License
12 stars 7 forks source link

QLNetcdf

A QuickLook Plugin for previewing NetCDF files. Use 'spacebar' when navigating in OSX Finder to view the "header" (info ouput by ncdump -h) for NetCDF files.

Requires that ncdump is installed at /usr/local/bin !

Fortunately if you installed netcdf using Homebrew (with the default settings) then ncdump should exist in the correct location already.

Example

Here is an example.

Screen shot

Installing

Download one of the releases and copy the QLNetcdf.qlgenerator file to your ~/Library/QuickLook/ directory (or /Library/QuickLook/ to make the plugin available to all users).

You may have to force the QuickLook Server to reload so it picks up the new generator:

$ qlmnange -r

Known Issues

Sometimes the plugin fails to work (no preview is rendered). The best fix I have found is to force-relaunch Finder (cmd+option+esc)

Building

The xcode project file is supplied with the project. The project has been built with xcode 4.6 and xcode 5.1