Tibble management in FIMS workflows #986
Replies: 2 comments 3 replies
-
|
Thanks @Bai-Li-NOAA for the Discussion topic. I think it would be 🥇 if we can get the input parameter tibble to match the output tibble to the best extent possible. One small thing off the bat that I notice is the differences in module_name where the output tibble is all lowercase. I think that the case-specific names in the input tibble is by design because it matches up with the code, right? Below is a table of labels by module_name from an example output. Where line 23 should be "EWAAGrowth" rather than just "EWAA" to match the input. I also think that the code could be better in matching column names, where the current column names of the output are and the column names of the input are It would be nice to change "value" in the input tibble to "input" to match the output because value is not specific enough in the output tibble. Do we need "fleet_name" in the input or is "fleet" sufficient? I will add "time" to the output. Note that @Schiano-NOAA @sbreitbart-NOAA and @kellijohnson-NOAA will be working on this today at 12:30 PT for the estimates tibble. |
Beta Was this translation helpful? Give feedback.
-
|
@Bai-Li-NOAA would you mind expanding on this idea more because I am not sure exactly what you mean
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, there are several tibbles floating around after setting up model configurations and running a model, including
default_configurationsanddefault_parameters. I can see a potential issue: if users modify amodule_typein thedefault_parameters, it may no longer align with the originalmodule_typein thedefault_configurationstibble.Do we want to explore the possibility of expanding the
default_configurationstibble by modifying it directly, rather than creating new tibbles each time a function is used? Right now, the R script still allows us to reproduce results.Along the same lines, the
modified_parameterstibble is not fully connected to the outputs. Do we want to consider appending identifiers (e.g.,module_idandparameter_id) to the output ofinitialize_fims(), so that this tibble can be linked to the model estimates later? This way, we could maintain a single tibble throughout the workflow.Beta Was this translation helpful? Give feedback.
All reactions