[Kst] netcdf + multiple samples per frame
Barth Netterfield
netterfield at astro.utoronto.ca
Fri Mar 25 21:26:47 CET 2005
On March 25, 2005 12:08 pm, Kimberly Scott wrote:
> Also, if you have two fields that have a different ratio of samples per
> frame, and you tried to plot these two fields against each other, what
> would happen? For example, if field X has 1 sample per frame but field Y
> has 10 samples per frame, could you plot Y vs. X, or is Kst unable to do
> this?
In a curve made from two vectors, the 1st and last samples are assumed to be
co-incident, and the lowest sample rate vector is then interpolated to the
higher sample rate vector. IE - it should work 'as expected'....
> Finally, in my netCDF datasource reader, I have the INDEX field counting
> frames, as this seemed natural to me. However, should INDEX be counting
> the total number of samples for the field with the highest ratio of
> samples per frame?
You did the correct thing. INDEX counts frames.
More information about the Kst
mailing list