Skip to content

Bugfix for a bug where the coupled ice-ocean model crashes when not receiving the first layer depth.#464

Merged
einola merged 6 commits intodevelopfrom
issue460_rcv_first_layer_depth
Aug 13, 2020
Merged

Bugfix for a bug where the coupled ice-ocean model crashes when not receiving the first layer depth.#464
einola merged 6 commits intodevelopfrom
issue460_rcv_first_layer_depth

Conversation

@einola
Copy link
Copy Markdown
Member

@einola einola commented Aug 12, 2020

Address issue #460 by using Environment::vm()["coupler.rcv_first_layer_depth].as() when initialising the DataSet class.

einola added 4 commits August 12, 2020 08:10
…r_depth].as<bool>() when initialising the DataSet class.
…current branch into line with develop ... except for the relevant changes, of course.
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.

is MLD needed at all in coupled mode? - maybe it should just be scrubbed altogether? (then there'd be no need for this option)

@einola
Copy link
Copy Markdown
Member Author

einola commented Aug 13, 2020

The point is that MLD is indeed needed. In the coupled mode it is the depth of the first ocean layer - which may be a constant (NENUK) or spatially and/or temporally varying (HYCOM). In the latter case we need to recieve MLD from the coupler

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.

OK great

@einola einola merged commit 144bfc6 into develop Aug 13, 2020
@einola einola deleted the issue460_rcv_first_layer_depth branch August 13, 2020 10:00
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