Contents

Introduction

Overview of NAP
Typographic Conventions
Acknowledgements

Background

Demonstration of Simple Tcl/Tk (excluding NAP)
Data Models
Terminology
Grids
References

Installation

Installing Tcl/Tk and NAP
Sample Startup Scripts

Basics

Sample session
NAOs, OOCs and nap Command
Arguments of nap Command
Data Types
Array Processing

NAP Expressions

Syntax
Constants
Operators
Indexing
Built-in Functions

NAP Commands other than nap

Object-Oriented Commands (OOCs)
Reading Files using nap_get Command
nap_info command

Defining New NAP Commands and Functions

Writing Procedures to be called as Commands or Functions
Interfacing NAP to a DLL based on C or Fortran Code

NAP Library of Tcl code

Tcl Procedures called as NAP Functions

Functions for Dates and Times
Statistical Functions
Geographic Functions
Miscellaneous Functions

Tcl Procedures called as Commands

Procedures for Dates and Times
Binary Input/Output Procedures
Geographic Procedures
Map Projection Procedures

Tk GUI Procedures

CAPS/NAP Menu
choose_file GUI
HDF/netCDF Browser
Visualisation using procedure plot_nao

NAP Internal Details

N-dimensional Array Objects (NAOs)
NAP Photo Image Format

Demonstrations of NAP

Introduction to Demonstrations of NAP
Simple NAP
Constants
Arithmetic
OOCs (Object-Oriented Commands)
Built-in Functions
Constructing Arrays
Indexing
Linear Algebra
Input/Output
Defining NAP Functions
Statistics

Author: Harvey Davies       © 2002-2005, CSIRO Australia.       Legal Notice and Disclaimer
CVS Version Details: $Id: contents.html,v 1.18 2005/03/11 05:43:30 dav480 Exp $