Package Scientific :: Package Functions :: Module Interpolation :: Class NetCDFInterpolatingFunction
[hide private]
[frames] | no frames]

Class NetCDFInterpolatingFunction



InterpolatingFunction --+
                        |
                       NetCDFInterpolatingFunction

Function defined by values on a grid in a netCDF file

A subclass of InterpolatingFunction.

Nested Classes [hide private]

Inherited from InterpolatingFunction (private): _constructor


Instance Methods [hide private]
  __init__(self, filename, axesnames, variablename, default=None)

Inherited from InterpolatingFunction: __abs__, __call__, __getattr__, __getitem__, __getslice__, __len__, arccos, arcsin, arctan, cos, cosh, definiteIntegral, derivative, exp, fitPolynomial, integral, log, selectInterval, sin, sinh, sqrt, tan, tanh

Inherited from InterpolatingFunction (private): _mathfunc


Method Details [hide private]

__init__(self, filename, axesnames, variablename, default=None)
(Constructor)

 
Parameters:
  • filename (str) - the name of the netCDF file
  • axesnames - the names of the netCDF variables that contain the axes information
  • variablename (str) - the name of the netCDF variable that contains the data values
  • default (number or None) - the value of the function outside the grid. A value of None means that the function is undefined outside the grid and that any attempt to evaluate it there raises an exception.
Overrides: InterpolatingFunction.__init__