Create NetCDF - NCGEN

This allows users to create NetCDF files from IGOR Pro. It works by using the ncgen.exe utility created by UCAR (http://www.unidata.ucar.edu/downloads/netcdf/index.jsp).

The interface allows you to output global attributes, as well as datasets with associated attributes. The dataset attributes are hard coded (short_name, long_name, FillValue, scale_factor and add_offset), but could be altered with a bit of effort. The interface is accessible via new menu items under NCGEN. This allows the creation of a GIU, which consists of a panel, an entry table for the global attributes, and an entry table for datasets. All datasets *Should* be output as the correct datatype and at the correct precision.

All data and dimension entries need to be full paths to waves in IGOR Pro. All datasets must have at least one specified "dimension" e.g. time. Dimension datasets must reference themselves in dimension1 entry to allow them to be declared as a dimension in the netCDF. I'll upload and example experiment with everything filled in to demonstrate.

The user must specify where the netcdf binaries: this is done via a dialogue from the |> button to the right of the ncgen path string on the main panel. A couple of status boxes will indicate if the path provided is valid. The user must also specify a location for the netcdf to be created, and a filename.

NOTE: In order to use this package, users must already have a recent version of the netCDF binaries installed in a location where the user has full read/write access, so probably not in the normal "Program Files" folder. You can get the netCDF binaries from:
http://www.unidata.ucar.edu/software/netcdf/docs/winbin.html

Project Details

Current Project Release

Create NetCDF - NCGEN IGOR.6.30.x-1.2

Release File: NetCDF_maker.pxp
Version: IGOR.6.30.x-1.2
Version Date: Mon, 10/24/2016 - 08:52 am
Version Major: 1
Version Patch Level: 2
OS Compatibility: Mac-Intel Windows
Release Notes: Added compatibility for operation on a Mac (thanks to Ken Aikin at NOAA for input on code and testing). When running on a Mac you dont need to specify the netcdf folder, and the status lights which check the installation are disabled and should be ignored.

Added the ability to specify the type of netcdf to create (e.g. "classic" netcdf 3, netcdf-4 etc). Note you must have an up-to-date version of the netcdf library to do this.

Changed behaviour, so viewing output files generated using the tools is controlled with a checkbox, instead of an "Alert" which prompts you every-time you make a file.

I've uploaded a demo pxt which contains some dummy data with the tables already filled in, so all you need to do is use the menu "NCGEN-NEGEN panel", fill in your path(s), name your output file and hit the "Do it!" button to create a proper netCDF file from Igor. Enjoy!
View All Releases

Forum

Support

Gallery

Igor Pro 9

Learn More

Igor XOP Toolkit

Learn More

Igor NIDAQ Tools MX

Learn More