Small-Bodies-Node / pds4_tools

Python package to read and display NASA PDS4 data.
17 stars 13 forks source link

Label Array axes in Table View #33

Open dcoia740 opened 4 years ago

dcoia740 commented 4 years ago

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 4 years ago

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?

dcoia740 commented 4 years ago

yes please

dcoia740 commented 4 years ago

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

LevN0 commented 4 years ago

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?

dcoia740 commented 4 years ago

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