Learning how to use Fitgrid


Briefly browse the table of contents to get a general feel for what is in the Fitgrid package.

Fitgrid can be accessed by using any one of three interfaces: Fortran, C, and NCL.

The Fortran interface

This interface is identical to the original Fitpack interface. Examine the procedures overview module for a summary of the Fortran entries. From there you can click on the desired procedure name for details on how to call it correctly. Also, see the examples section for learning how to use the Fortran interface.

The C interface

This interface has been added to the original Fitpack package. The C interface differs from the Fortran interface in that many of the arguments to the original procedures have been converted into user-settable global parameters. The idea is to set values for the appropriate parameters and then invoke the desired procedure. For a list of all parameters, see the parameters module. The default values for the parameters are listed there. The functions c_ftseti, c_ftsetr, c_ftsetc, c_ftsetfa are used for setting parameter values.

Examine the procedures overview module for a summary of the C entries. From there you can click on the desired function name for details on how to call it correctly. The documentation for each C function indicates which parameters are appropriate for that function. Also, see the examples section for learning how to use the C interface.

The NCL interface

The NCL interface is much simpler than the Fortran or C interfaces. The basic way to proceed is the same as for the C interface: set values for global parameters and invoke the desired NCL function or procedure. The parameters are listed in the parameters module.

Examine the NCL Fitgrid documentation to learn how to use the NCL interface. Note that there is only a single procedure needed for setting values for the parameters. Also, see the examples section for learning how to use the NCL interface.


home | contents | defs | params | procedures | exmpls