usgs / swarm

a Java application designed to display and analyze seismic waveforms in real-time.
http://volcanoes.usgs.gov/software/swarm
Other
36 stars 16 forks source link

Can only expand to show a month for RSAM plots #188

Closed dlnorgaard closed 6 years ago

dlnorgaard commented 6 years ago

'Expand time axis' button on RSAM window is controlled by SPAN_S variable which only goes up to a 4 week span. Can go to 6 or 8 weeks perhaps, but it does get slow to load.

public static final int[] SPANS_S = new int[] {1 H_TO_S, 12 H_TO_S, 1 D_TO_S, 2 D_TO_S, 1 W_TO_S, 2 W_TO_S, 4 W_TO_S, 8 W_TO_S};

dlnorgaard commented 6 years ago

Does not appear expanding time span is important at the moment. Closing w/o making changes.

On Mon, Jul 2, 2018 at 6:44 PM, Jeremy wrote: no strong preference from me at the moment. If it has potential for slow down, might as well leave it as is for now

dlnorgaard commented 6 years ago

After discussing with Jeremy, it does seem like the extra time span option (8 weeks) is desirable.

dlnorgaard commented 6 years ago

On 7/11/2018 2:54 PM, Jeremy wrote:

maybe a simple solution is to allow larger windows (6, 8, 12 weeks up to ? ) and have a pop up window warning about the slow down and confirming the user still wants to proceed.

There are times when I’ve wanted to view up to a year’s worth of RSAM, although infrequently.

dlnorgaard commented 6 years ago

Only doing up to 8 weeks for now as I am hesitant to add something that results in poor performance. Will reconsider wider time span in future.