Small-Bodies-Node/pds4_tools

Label Array axes in Table View

Opened this issue · 5 comments

PDS Class Array allows for names of array axes using attribute axis_name.

Although axis_name is present in the label, it gets "ignored" by the PDS viewer when displaying the array by clicking on the Table bottom. (current button available: Label, Table, Plot)

It would be good if the axis name/s were recognised by the viewer also when displaying the array (and not just in the label)

Thank you
Daniela

LevN0 commented

In the table view (for an array), you would the axis name as the row/column label? Or where would the axis name get used?

yes please

Also should there not be an "Array" button? Current available ones are Label, Table, Plot

LevN0 commented

The buttons available suggest your data is a 1D array. They allow the following:

Label - View the label for the array
Table - View the the array as a table
Plot - Plot the 1D array against "row" number

What would an "Array" button do?

yes ok was just wondering, taking Table as its PDS type... never mind that part