<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>Hi Paul,</div><div><br></div><div>Great! That work perfectly!</div><div><br></div><div>I have two more questions that maybe you (or someone else) can help me with!</div><div><br></div><div><br></div><div>First, I would like to give each variable a meaningful legend name, so, when they are plotted, I can show something better than "OMNI2_HO<span style="font-style: italic; ">_</span>MRG1HR…." is there a similar meta-data command for changing a variables Legend name? I suppose a place to store the units would be too much to ask? I would ideally love to store the following information:</div><div><br></div><ol><li>Legend Name</li><li>Units</li><li>Coordinate System</li></ol><div><br></div><div>If I could do that, I would be a very happy programmer.</div><div><br></div><div>The other thing I need to do is set the default selection to unselected when plotting. This must be possible, as ParaView created variables default to unselelected.</div><div><br></div><div>The reason for this need is two fold.</div><div><br></div><ol><li>when looking at space craft data, you rarely want to plot everything all at once, since everything is on vastly different scales</li><li>If you default to all variables, Paravaiew will hang if you have a great many of them to plot. For an example, if I have 100 variables with 10,000 time steps, paraview turns to molasses just trying to UNSELECT everything that is selected.</li></ol><div><br></div><div>Any help would be great!</div><div><br></div><div>Thanks again,</div><div><br></div><div>Josh</div><div><br></div><div><div><div><div><img src="cid:94DA22C3-1EE6-4EB7-A265-B0C3A7FB715F" type="image/png"></div></div><div>Joshua J. Murphy</div><div>Computer Scientist</div><div>Laboratory for Atmospheric and Space Physics</div><div>University of Colorado, Boulder</div><div><br></div></div></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> Paul Edwards <<a href="mailto:paul.m.edwards@gmail.com">paul.m.edwards@gmail.com</a>><br><span style="font-weight:bold">Date: </span> Tuesday, June 25, 2013 10:57 PM<br><span style="font-weight:bold">To: </span> Joshua Murphy <<a href="mailto:Joshua.Murphy@lasp.colorado.edu">Joshua.Murphy@lasp.colorado.edu</a>><br><span style="font-weight:bold">Cc: </span> "<a href="mailto:paraview-developers@paraview.org">paraview-developers@paraview.org</a>" <<a href="mailto:paraview-developers@paraview.org">paraview-developers@paraview.org</a>><br><span style="font-weight:bold">Subject: </span> Re: [Paraview-developers] How to name blocks in multi-block data set?<br></div><div><br></div><div><div><div class="pre" style="white-space:pre;background-color:rgb(255,255,255)"><font face="arial,helvetica,sans-serif">Hi Joshua,</font></div><div class="pre" style="white-space:pre;background-color:rgb(255,255,255)"><font face="arial,helvetica,sans-serif"><br></font></div><div class="pre" style="white-space:pre;background-color:rgb(255,255,255)"><font face="arial,helvetica,sans-serif">You can do it like this:</font></div><div class="pre" style="white-space:pre;background-color:rgb(255,255,255)"><font face="arial,helvetica,sans-serif"><br></font></div><div class="pre" style="white-space:pre;background-color:rgb(255,255,255)"><font face="arial,helvetica,sans-serif">dataset->GetMetaData(0)->Set(vtkCompositeDataSet::NAME(), "new name for block 0");</font></div><div><font face="arial,helvetica,sans-serif"><br></font></div><div><font face="arial,helvetica,sans-serif">Regards,</font></div><div><font face="arial,helvetica,sans-serif">Paul</font></div><br><div class="gmail_quote">On 25 June 2013 17:47, Joshua Murphy <span dir="ltr"><<a href="mailto:Joshua.Murphy@lasp.colorado.edu" target="_blank">Joshua.Murphy@lasp.colorado.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word"><div>Hello,</div><div><br></div><div>I am working on a custom source that pulls data from Nasa's CDA web. I am downloading data and splitting it into tables (within a multi-block data set) based on space craft data set. The issue I am running into is that the data block information looks
like the image attached:</div><div><br></div><div><img src="cid:8D3BC790-B949-4152-B1B8-CB682AA71A9D" type="image/png"></div><div><br></div><div>I have been trying to find a way to name the blocks, but I have, as yet, been unable to figure out how to go about doing so. It is important to name the data sets, as the user needs to know which space craft instrument the data is from.</div><div><br></div><div>Could someone quickly point me in the correct direction on how to go about naming the individual blocks of the data set? DataSet0, DataSet1, etc. are of limited help. :)</div><div><br></div><div>Thanks,</div><div>Josh</div><div><br></div><div><div><div><div><img src="cid:4AED8FDC-2512-4D9A-A40B-424B803E08D7" type="image/png"></div></div><div>Joshua J. Murphy</div><div>Computer Scientist</div><div>Laboratory for Atmospheric and Space Physics</div><div>University of Colorado, Boulder</div><div><br></div></div></div></div><br>
_______________________________________________<br>
Paraview-developers mailing list<br><a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a><br><a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br><br></blockquote></div><br></div></div></span></body></html>