Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make icebergs use the mask_table #3

Merged
merged 2 commits into from
Sep 25, 2014
Merged

Conversation

nikizadehgfdl
Copy link
Contributor

icebergs need to use the mask_table whenever SIS2 does. and SIS2 needs to use it for OM4_SIS2 experiments.

- The maskmap argument was commented out (inherited from sis1 when it was not using the mask_table I suspect).
- There will be "bad lon" , "bad lat" warnings in the stderr because
  lon and lat for bergs are not being initialized over the masking area.

    - The maskmap argument was commented out (inherted from sis1).
    - There will be "bad lon" , "bad lat" warnings in the stderr because
      lon and lat for bergs are not being initialized over the masking area.
- My previous commit to make icebergs use mask_table broke models that do not have a mask_table.
  This was due to unassociated maskmap being passed to mpp_define_domains.
- mpp_define_domains has an optional argument called "maskmap" that should be associated.
  We are relying on the compiler to not pass this argument if it is itself a ".not. present" optional argument!
- Made the optional argument maskmap to be the last argument of iceberg_init for clarity.
@adcroft adcroft merged commit 867684b into dev/master Sep 25, 2014
@adcroft adcroft deleted the user/nnz/use_mask_table branch March 12, 2015 19:58
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