NCL Website header
NCL Home > Documentation > HLUs > Classes

SphericalTransformation class

The SphericalTransformation class implements forward and reverse transformations for spherical grids defined using 2D coordinate arrays.


Header file:		ncarg/hlu/SphericalTransformation.h
Class name:		sphericalTransformationClass
Class pointer:		<Not referenceable>
Fortran class function:	<Not referenceable>
Superclass:		Transformation
Composite classes:	<None>


Local resources

The SphericalTransformation class does not define any publicly accessible resources.

Composite resources

The SphericalTransformation class has no composite class objects.

Superclass resources

You can set all resources defined by the superclasses of the SphericalTransformation object class, including:


The SphericalTransformation provides a algorithm for handling the transformations of data defined on two-dimensional coordinate grids representing some portion of the surface of a sphere. You do not create objects of the SphericalTransformation class directly. Plot objects that handle ScalarField and VectorField data create a SphericalTransformation object to handle the data transformations if:
  • the data object provides 2D coordinate arrays; and,
  • the Transformation super-class resource trGridType is set to Spherical.
The SphericalTransformation is designed specifically to work with spherical data grids and can handle more cases of grids in this category than the alternative 2D coordinate transformation class, CurvilinearTransformation. However, the CurvilinearTransformation may provide better performance in situations where it does work.

Support functions

There are no special support functions defined for the SphericalTransformation class or its superclasses.


See also