pacificclimate / design-value-explorer

Web application for interactively visualizing and downloading design value fields and tables.
GNU General Public License v3.0
0 stars 0 forks source link

Reduce unnecessary reloads #140

Closed rod-glover closed 3 years ago

rod-glover commented 3 years ago

Including:

rod-glover commented 3 years ago

Re download table reloads:

  1. How much impact does this have?
  2. How often is this likely to occur? (Once a dl table has been created, then every time the DV is changed. Hmm.)
  3. Currently, the dl table callback takes the DV selection as an input, and uses that to determine the file which is used to determine the lat-lon from the rlat-rlon supplied in the clickData. This could conceivably be replaced by a using a fixed (configurable) file for this, at the risk of the conversion to lat-lon being slightly off when the selected DV is not the fixed file.
  4. A better alternative: we could prevent updates when the DV is changed, and only update when the click occurs.