Open juanfung opened 3 months ago
Update postprocessing functions so that:
model
name (eg, RCMF-4-baseline-nsfr
)system
, design
, and num_stories
, with defaults
system = "RCMF
design
= "baseline-nsfr`num_stories = 4
(postprocess|plot)_eal
functions to more accurate (postprocess|plot)_eal_by_design
, as these function really disaggregate EALs to report bar chart of by loss categories, for a single design(postprocess|plot)_eal
functions to summarize EALs across range of systems and stories(postprocess|plot)_bcr
- EDIT: filtering by model list should actually be by design (intervention); need to update preprocessing to create this column, with plain english names, for easy plotting (as this is getting done ad hoc for plotting from the outputs)
UPDATE: resolved by 3282cae2d99573cf0457bbea35b1216c9e4fe9ed
- [x] Repeat for
(postprocess|plot)_bcr
Resolved by b0f54b9, which created separate baseline and sensitivity BCR plots
- [x] Rename existing
(postprocess|plot)_eal
functions to more accurate(postprocess|plot)_eal_by_design
, as these function really disaggregate EALs to report bar chart of by loss categories, for a single design- [x] Create new
(postprocess|plot)_eal
functions to summarize EALs across range of systems and stories
UPDATE: Resolved by d874a92
Note the plot_eal
function is broken down into two functions: one for total EALs across systems (currently a placeholder) and one for disaggregated EALs by loss category (plot_eal_by_loss
)
Update postprocessing functions so that:
- [x] Expected input is not entire
model
name (eg,RCMF-4-baseline-nsfr
)[x] Instead, filter by
system
,design
, andnum_stories
, with defaults
system = "RCMF
design
= "baseline-nsfr`num_stories = 4
Resolved by b0f54b9 and https://github.com/juanfung/frbca/commit/d874a92f255502b9149d3bcd23af2c7fd807dac6
plot_eal
to plot EALs across multiple systems
- [x] Update placeholder
plot_eal
to plot EALs across multiple systems
UPDATE: Resolved by d85f9a1
Current plot functions are kludgey. Needs