This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
> Hello, it's Kenneth Mitton from Millersville University
>
> As you may remember, we are working to extend the functionality of the
> data probe and vertical profiles. I want to start making it so the
> user can follow, say, a constant wind speed. I was wondering how to
> get data that a probe contains.
>
>
Hi Kenneth,
The ProbeControl has a list of DataChoice objects. For each one there is also
a ProbeRowInfo object. You can access the actual data with the following code:
List choices = getDataChoices();
for (int i = 0; i < choices.size(); i++) {
ProbeRowInfo rowInfo = getRowInfo(i);
FieldImpl data = (FieldImpl) rowInfo.getDataInstance().getData();
}
-Jeff
Ticket Details
===================
Ticket ID: QOM-101883
Department: Support IDV
Priority: Normal
Status: Closed