| |
- BackwardCompatibleSet(name, value, pipelineGui)
- BackwardCompatibleSetOption(name, value, pipeline)
- GetAllTimeAxisNames(nc)
- GetElevAxisName(nc, varName)
- GetLatAxisName(nc, varName)
- GetLonAxisName(nc, varName)
- GetTimeAxisName(nc, varName)
- GridData2D(x1, x2)
- Given 2 coordinate vectors x1 and x2, return 2-d arrays grid
arrays xx1, xx2 such that xx1[i,j] is the x1 coordinate at pt (i,j)
- GridData2DTransposed(x1, x2)
- Given 2 coordinate vectors x1 and x2, return 2-d arrays grid
arrays xx1, xx2 such that xx1[i,j] is the x1 coordinate at pt (i,j)
- GridData3D(x1, x2, x3)
- Given grid vectors, return 3-d grid arrays xx1, xx2, xx3 such that
xx1[i,j,k] is the x1 coordinate at pt (i,j,k)
xx2[i,j,k] is the x2 coordinate at pt (i,j,k)
xx3[i,j,k] is the x3 coordinate at pt (i,j,k)
- InvSqWeigthedInterp(f, x, y, xi, yi, ind)
- Returns a value f(xi,yi) and IJ indices from an inverse square weighted interpolation
for any number of input control points x, y.
Reference: http://www.mathpages.com/home/kmath293.htm
- LoadPrimitiveAttributes(obj)
- Load the public attributes of an object that are of type string, number or
sequence
- RotationCoefficients(xx, yy)
- This version does not rely on trigonometric functions. However, it may be slower than
RotationCoefficients_old because of the additional temporay arrays that are created.
Tests show this version to be more accurate on the hand.
Input
xx[:,:]: longitudes
yy[:,:]: latitudes
longitude index varies fastest
Output:
cos(rotation_angle), sin(rotation_angle)
- RotationCoefficients_old(xx, yy)
- Compute the warped mesh rotation coefficients. Assumes the warped mesh is orthogonal (i.e. there is only
one rotation angle).
Input
xx[:,:]: longitudes
yy[:,:]: latitudes
longitude index varies fastest
Output:
cos(rotation_angle), sin(rotation_angle)
- SaveSceneAsFormat(filename, win, format)
- Save the current scene as a 'format' image file.
filename: The name of the file to save to.
win: A vtkRenderWindow object.
- SaveSceneAsPNG(filename, win)
- SaveSceneAsPostScript(filename, win)
- SortedListOfVariables(nc, x_pat, y_pat)
- Return a sorted list of netcdf fields which depend at least on
a tuple of dimensions directly or undirectly when the mesh is warped.
The x_pat and y_pat arguments can be used when the axes don't
formally comply to the the CF conventions.
- SphericalToCartesianCone(r, lat, lon)
- lat must be a scalar (in degrees);
r (cone's radial surface distance, i.e. elevation)
and lon (in degrees) may be arrays.
- SphericalToCartesianPlane(r, lat, lon)
- lon must be a scalar (in degrees);
r (cone's radial surface distance, i.e. elevation)
and lat (in degrees) may be arrays.
- UpdateLookupTableWithColormapFile(lookup, filename)
- Read color map file, which should be in Ferret format, and
replace a vtkLookupTable's entries with new colors.
The user should specify the number of colors 'lookup' has
beforehand.
The colormap file format:
x, red, green, blue, alpha
...
(all quantities are normalized to [0,100])
- linspace(xmin, xmax, nx=100)
- Mimics Matlab's linspace function
- logspace(xmin, xmax, nx=50)
- Mimics Matlab's logspace function
- main()
- ###############################################################################
|