NOAA-PMEL / LAS

Live Access Server
https://ferret.pmel.noaa.gov/LAS/
The Unlicense
13 stars 5 forks source link

Improve trajectory plots in V8. #1524

Open karlmsmith opened 6 years ago

karlmsmith commented 6 years ago

Reported by @noaaroland on 25 Apr 2013 14:48 UTC Looking at the default trajectory plots that are part of the LAS 8. They are very different (wide white margins, side color bar, etc) from the current default V8 XY contour plots. Plus they are really slow because there is no data selection sub-sampling on my end and Ferret has to draw a bunch of rectangles on top of each other for a net effect of the last one drawn.

Migrated-From: http://dunkel.pmel.noaa.gov/trac/las/ticket/1518

karlmsmith commented 6 years ago

Attachment from @noaaroland on 25 Apr 2013 14:48 UTC Current trajectory plot. traj

karlmsmith commented 6 years ago

Attachment from @AnsleyManke on 16 May 2013 23:44 UTC trajectory image with annotations traj_new png

karlmsmith commented 6 years ago

Comment by @AnsleyManke on 16 May 2013 23:45 UTC I've worked on the trajectory-plot scripts so they have the same narrow margins as our other V8 plots.

The data is plotted using the ribbon color-by-value line plots, using a PLOT/SYMBOL=dot, for the smallest dot of color the graphics will make. These are smaller than our little polygons in previous versions, so we may want to change the setting. Adjust the size of the mark depending on the amount of data?

I'm writing the labels to the annotations file. The labels that are specific to SOCAT are written there as "note" xml, so these appear in a list in the annotations. Assuming we won't have the "subsampling labels, the number of cruises and obs label can be just one line:

136 cruises, 409504 obs (0 missing)

Constraints are currently listed this way, each in a separate line,

Where fCO2 recomputed > 300
Where fCO2 recomputed <= 420

We'll need to work on the ordering of these labels and what is actually written to them.