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

Use precomputed CFs in Table C2 #196

Closed rod-glover closed 2 years ago

rod-glover commented 2 years ago

Summary

Currently, Table C2 change factors are computed on the fly by extracting values from the change factor rasters at the station locations. Charles has now precomputed these values (with corrections for locations with no raster value, e.g., at some coastal locations).

Current situation

There is one file per DV. These files are stored at /storage/data/projects/comp_support/dv-explorer/data/new_tables. Each of these files contains columns labelled as follows (in LTR order):

CF values are computed from rasters using lat and lon to determine raster cell corresponding to each station. (This is where no-data errors can occur; Charles fixed this in his precomputations.)

These CSV files (old and new) affect only the content of the Table C-2 tab. Stations and values for display on Map tab are determined by a different set of files. This is probably not a good arrangement, but it makes the update simpler so we will not change it in this issue.

Updated files

There is one file per DV. A file contains columns labelled as follows (in LTR order):

where

Conversion

Straightforward, except for the column names. Options: