VAST icon indicating copy to clipboard operation
VAST copied to clipboard

Extracting values from VAST outputs

Open HelloMckenna opened this issue 5 years ago • 1 comments

Hello James,

This may not count as an issue per say, I'm just not sure where to log such an enquiry as I'm unable to find it on the wiki.

I'm comparing multiple indicators across years and was wondering if there is a simple way to the extract values used to generate each plot? The graphics produced are fantastic and a lot of thought has been put on to building the functions generate them. Its just that I wish to use the values these outside of VAST.

I'm using the single species as an example script to carry out the analysis on my own data. I understand that the values are in "Report" and "TmbData". The plot functions then take the values within these lists and process them through the relevant equations before generating the graphics and saving them to the output folder.

Is there a simple way of generating a table of indicator parameters by year? Alternatively is the only way to produce this to work through plot functions and extract the values for each year?

Much appreciated,

Ryan

HelloMckenna avatar Nov 28 '19 17:11 HelloMckenna

Thanks for asking on the issue tracker, I agree this is a good place.

Each plotting function like 'plot_index(.)' has an invisible return with the values used to plot. I think the wrapper function 'plot(.)' will also pass those returns through.

Could you please try assigning output from 'plot' and check the contents, and then respond and close the issue if that solves it for you?

James-Thorson-NOAA avatar Nov 28 '19 18:11 James-Thorson-NOAA