Skip to content

Slightly inconsistent plot name outputs #25

Description

@mollystevens-noaa

Would you be willing to update some of the standard file name outputs? Most are in the format...

paste0(output.dir,"/PlotName_",jabba$assessment,"_",jabba$scenario,".png")

The Retro output...

if(as.png==TRUE){png(file = paste0(output.dir,"/Retro_",hc$scenario,".png"), width = width, height = height,

...and hcxaval output...

if(as.png==TRUE){png(file = paste0(output.dir,"/hcxaval_",hc[[1]]$assessment,".png"), width = 7, height = ifelse(n.indices==1,5,ifelse(n.indices==2,3.,2.5))*round(n.indices/2+0.01,0),

...are missing the assessment and scenario, respectively, in the file name (linked above). I'm working on a quarto html comparing runs, so it would make life much easier if you wouldn't mind making these fixes in the code here. I might be able to do a workaround, but I think adding assessment and scenario to each PlotName will allow us to loop through figures and quickly generate a comparative output. We're only working with a single index, and I think the file locations are linked correctly, but there may be other minor inconsistencies with multiple indices.

Thank you so much, and please let me know if this is possible and if so on what general timeline! This is for an ongoing stock assessment where the next webinar is the end of November. We've really enjoyed working with your package and can keep you posted on the results and write-up!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions