<div dir="ltr">I am writing a batch processing script to which writes the output of some filters to a file. I am really only interested in one of the data arrays in the result and it would be nice to pass that single data array to a writer, e.g. CSVWriter. Is this possible? If so, how do I do it? An outline of my script is below:<div>
<br></div><div><div>servermanager.LoadState(options.inputf)</div><div>GetSources()</div></div><div>dr = FindSource(&quot;dissipation_rate&quot;)<br></div><div><br></div><div>## I Want to get a single data array from object/source dr ###</div>
<div>dr_array = ???</div><div><br></div><div><div>writer = CreateWriter(options.outputf,dr_array)</div><div>writer.FieldAssociation = &quot;Cells&quot;</div><div>writer.UpdatePipeline()</div></div></div>