How to use stScalarFieldData?

From: Christian Pause <cpause_at_nyahnyahspammersnyahnyah>
Date: Fri Mar 05 2010 - 05:18:17 MST

Hi again,

I want to use the stScalarFieldData ressource in a streamline-plot.
However stScalarFieldData is of the type NhlTInteger, and the reference
guide says:

"Specifies the id of a ScalarField data object. If this resource is set
with a valid ScalarField object and the resource stUseScalarArray is set
True, StreamlinePlot will use the scalar array data for coloring the
streamlines. In order for StreamlinePlot to consider the ScalarField
object valid, it must find that it has the same number of elements along
each dimension as are found in the VectorField object."

The scalar field I specified is valid so far, but what is that id of the
field it wants?
I only have name of the array which obviously is of the type character and
not integer, so how do I get that id?

Greetings
Christian

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Mar 5 05:18:23 2010

This archive was generated by hypermail 2.1.8 : Mon Mar 08 2010 - 12:07:42 MST