NCL Home> Application examples> Data Processing || Data files for examples

A ruby script to parse GrADS CTL files

Saji N. Hameed of the APEC Climate Center in Busan, Korea gave us permission to include his ruby script that parses a GrADs ctl file and generates NCL code to read in the data and create a COARDS compliant netcdf data object.

Saji provided us with his code and this information in an ncl-talk message:

This is a preview version and some essential features may not be implemented: for example currently there is only support for linear grids (I will add support for gaussian grids over the weekend or better if somebody chipped in and added those code, that will be nice too). Meanwhile I would appreciate feedback and reports on possible bugs/errors.

To use: