You mentioned saving processing time. if you're doing this more than once on a given timeseries you could use a custom field data array to store the min and max for each array that you care about. If these field data arrays aren't present, then you'd compute them and rewrite the first datafile in the series adding the new 2 value arrays. If the arrays are present then use the pre-computed values. Assuming that you don't have another reason for always reading/processing the entire time series this could save you quite a bit of I/O overhead.

On 08/19/2013 12:18 PM, Brian Curtis wrote:
I have code that reads in multiple .vtk (legacy VTK) binary files. Currently I am looping through viewtimes and grabbing the range and saving the value if it's higher than the previous value (and lower..). I've looked quite a bit through tutorials and other threads and haven't found anything to this sort, but In order to save processing time, is there a simple way to grab a range for all time steps and not each file one by one?

Thanks,
~Brian

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to