Skip to content

Issue615 binary outputs#616

Merged
einola merged 2 commits intodevelopfrom
issue615_binary_outputs
Oct 5, 2022
Merged

Issue615 binary outputs#616
einola merged 2 commits intodevelopfrom
issue615_binary_outputs

Conversation

@einola
Copy link
Copy Markdown
Member

@einola einola commented Oct 5, 2022

I went for approach 1 because the "prognostics" group is not properly defined in the code. Turns out that the default output of "Concentration", and "Thickness" is actually a diagnostic, because it's the sum of M_conc and M_conc_young, etc. This mixes the prognostics and diagnostics groups and in the end it was easier and quicker to implement a per-variable output, like the moorings have it. But you can still choose the bulk lists of "diagnostics" and "forcings". In fact, you cannot choose from forcing variables, because they aren't ModelVariable objects.

The default output is a list of variables, same as the default outputs for the moorings. But we could want to either have the default output "None" (which means only Time is output!) or the list Tim uses for neXtSIM-F. This needs some discussion.

Link to issue #615

I went for approach 1 because the "prognostics" group is not properly
defined in the code. Turns out that the default output of
"Concentration", and "Thickness" is actually a diagnostic, because it's
the sum of M_conc and M_conc_young, etc. This mixes the prognostics
and diagnostics groups and in the end it was easier and quicker to
implement a per-variable output, like the moorings have it. But you can
still choose the bulk lists of "diagnostics" and "forcings". In fact,
you cannot choose from forcing variables, because they aren't
ModelVariable objects.

The default output is a list of variables, same as the default outputs
for the moorings. But we could want to either have the default output
"None" (which means only Time is output!) or the list Tim uses for
neXtSIM-F. This needs some discussion.
@einola einola requested review from akorosov and tdcwilliams October 5, 2022 06:57
@tdcwilliams
Copy link
Copy Markdown
Contributor

Hi @einola - did you mean to put it into master?
btw on the forecasting we only use the restart files and the moorings now

@einola einola changed the base branch from master to develop October 5, 2022 08:34
@einola
Copy link
Copy Markdown
Member Author

einola commented Oct 5, 2022

Hi @tdcwilliams. No, master was a mistake - thanks for catching it.

But ok, so the forecast doesn't need any defaults. In this case, I would prefer "None" as the default. Any thoughts @tdcwilliams, @akorosov?

@einola
Copy link
Copy Markdown
Member Author

einola commented Oct 5, 2022

NB! In this version M_nb_regrid, Element_area, and M_dirichlet_flags are no longer output - and there's no possibility of doing so.

@tdcwilliams
Copy link
Copy Markdown
Contributor

tdcwilliams commented Oct 5, 2022

I think what you have for defaults is ok, but maybe none is ok too - before yesterday I would have said if someone wants to export binaries they would want to have some variables, but maybe @akorosov is the only one using them now?

This seems to be the most sensible option. I've also added a list of all
available variables to the error message.
@einola
Copy link
Copy Markdown
Member Author

einola commented Oct 5, 2022

I've set "None" as the default now. See commit 9bcbf74

Copy link
Copy Markdown
Contributor

@tdcwilliams tdcwilliams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks ok to me

@einola einola merged commit 0c013c7 into develop Oct 5, 2022
@einola einola deleted the issue615_binary_outputs branch October 5, 2022 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants