Home
Latest News
Downloads
Repositories

Nbsp
Quick guide
Wiki
Article for Geo Quarterly

Npemwin
Project | Wiki
Manual
What's new

Support
Problem reports
Group
Contact







TclGrads

TclGrads is a library of procedures for executing commands in GrADS from a Tcl script. It sends commands to GrADS and parse its output, making available the extensive processing capabilities of Tcl to manipulate the results of the commands.

Binary packages for FreeBSD, CentOS and Debian, as well as some documentation, are available from the software section of this site. The full CVS sources are kept under the OpenGrADS project at Sourceforge, and the tclgrads wiki page has more instructions about installation, usage and examples.

TclGempak

TclGempak is a library of procedures for executing Gempak (gpxxx) programs from a Tcl script. TclGempak requires some of the modules of the Tcllib library, but there are no other requirements, and in particular it is a pure Tcl library so there is nothing to compile.

The Gempak programs accept commands on the standard input but they lack the capabilities of a scripting language such as variables, conditional statements, loops and flow control. The common workaround is to use ``HERE'' documents in shell scripts, but the scripts become hard to mantain and it is almost impossible to develop larger scale applications. The tclgempak library is designed to overcome these limitations.

Sources, documentation and binary packages for FreeBSD, CentOS and Debian, in tbz, rpm and deb formats, respectively, are available from the software section. Since TclGempak is written entirely in Tcl, the packages can be installed anywhere the same package management tools are used.

The tclgempak documentation page has more instructions about installation, usage and examples.

TclMetar

TclMetar is a library of Tcl procedures for decoding Metar reports from a Tcl script. TclMetar requires some of the modules of the Tcllib library. There are no other requirements, and in particular it is a pure Tcl library so there is nothing to compile.

Sources, documentation and binary packages for FreeBSD, CentOS and Debian, in tbz, rpm and deb formats, respectively, are available from the software section. Since TclMetar is written entirely in Tcl, the packages can be installed anywhere the same package management tools are used.

The tclmetar documentation page has more instructions about installation, usage and examples.

The three packages come with a concise description of the functions available and many examples.

Grib Shell

The nbsp package contains two tools for viewing the grib files processed by the gribfilter:

There is a separate nbspclient package that contains only the nbspgribrsh tool. Both are Tk scripts which do some minor bookeeping and eventuallly can call GrADS. This short note explains the usage of the two. The file gribsh.README has more details about how the tools work, and the configuration options. This not is a short tutorial to get going quickly.

nbspgribsh is meant to be used in the same machine in which nbsp is running. nbspgribrsh does similar work but contacts a remote machine running nbsp. Let us start with nbspgribsh.

nbspgribrsh on the other hand, contacts a remote machine. For example, if the remotre machine is www.opennoaaport.net then nbspgribrsh is invoked thus

  nbspgribrsh http://www.opennoaaport.net:8015/grib

nbspgribrsh presents a menu similar to the one decscribed above, except that the files are located in the remote computer. The steps in the previous tutorial can be repeated, except that that initially it will take a fe seconds while the program downloads the data files from the remote server.