NOAA-PMEL / las9

This is the home of LAS v9.x
1 stars 0 forks source link

The year should probably always be included in a profile plot #33

Open noaaroland opened 2 years ago

noaaroland commented 2 years ago

PyFerret and the LAS scripts automatically come up with reasonable axis labels in most situations, but in the case of these two plots the results are inconsistent. The first plot should contain a year label on the plot since the annotations block in the UI only contains information about the axes orthogonal to the plot. This might mean that the simplest solution would be to always include the year if that's possible.

This plot:

https://data.pmel.noaa.gov/uaf/las/UI.html#%7B%22id%22:0,%20%22targetPanel%22:1,%20%22operation%22:%22Profile_Plot_2D%22,%20%22variableHashes%22:%5B%22be952c95a5972ebdef4e0747f3e12dc4%22%5D,%20%22datasetHashes%22:%5B%2270d3c057534267037bec1f0cb6283327%22%5D,%20%22analysis%22:%5Bnull%5D,%20%22axesSets%22:%5B%7B%22xlo%22:%22-158.7061%22,%20%22xhi%22:%22-157.075%22,%20%22ylo%22:%2220.52222%22,%20%22yhi%22:%2222.17478%22,%20%22zlo%22:%22-1847.75%22,%20%22zhi%22:%22-0.75%22,%20%22tlo%22:%2229-Apr-2021%2004:35%22,%20%22thi%22:%2206-Aug-2021%2004:35%22%7D%5D,%20%22dataQualifiers%22:null,%20%22dataConstraints%22:%5B%5D,%20%22requestProperties%22:%5B%7B%22id%22:0,%20%22type%22:%22ferret%22,%20%22name%22:%22interpolate_data%22,%20%22value%22:%220%22%7D,%7B%22id%22:0,%20%22type%22:%22ferret%22,%20%22name%22:%22deg_min_sec%22,%20%22value%22:%220%22%7D,%7B%22id%22:0,%20%22type%22:%22ferret%22,%20%22name%22:%22data_count%22,%20%22value%22:%221%22%7D%5D%7D

does not have the year in the axis label.

This plot does:

https://data.pmel.noaa.gov/uaf/las/UI.html#%7B%22id%22:0,%20%22targetPanel%22:1,%20%22operation%22:%22Profile_Plot_2D%22,%20%22variableHashes%22:%5B%22bd4eafcc33a446289f69fb94231deb54%22%5D,%20%22datasetHashes%22:%5B%22d6d1b6fc1021f28749e558d0eac7d04a%22%5D,%20%22analysis%22:%5Bnull%5D,%20%22axesSets%22:%5B%7B%22xlo%22:%22-158.5959%22,%20%22xhi%22:%22-157.2988%22,%20%22ylo%22:%2220.83912%22,%20%22yhi%22:%2222.15108%22,%20%22zlo%22:%22-535.75%22,%20%22zhi%22:%22-0.75%22,%20%22tlo%22:%2204-Feb-2021%2013:35%22,%20%22thi%22:%2207-Aug-2021%2013:35%22%7D%5D,%20%22dataQualifiers%22:null,%20%22dataConstraints%22:%5B%5D,%20%22requestProperties%22:%5B%7B%22id%22:0,%20%22type%22:%22ferret%22,%20%22name%22:%22interpolate_data%22,%20%22value%22:%220%22%7D,%7B%22id%22:0,%20%22type%22:%22ferret%22,%20%22name%22:%22deg_min_sec%22,%20%22value%22:%220%22%7D,%7B%22id%22:0,%20%22type%22:%22ferret%22,%20%22name%22:%22data_count%22,%20%22value%22:%221%22%7D%5D%7D

noaaroland commented 2 years ago

I can't assign this to Josh, so I'm tagging him here. @josborne-noaa Josh you can tag Ansley if you think that would be a good idea. :-)