-
Notifications
You must be signed in to change notification settings - Fork 11
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
allow processors without tiles (N_catl=0) #309
Conversation
- keep processing for optional variable "obsbias_ok" (would otherwise need to edit calls to get_obs_pred() in clsm_ensupd_enkf_update.F90) - added "(1:kk)" to vectors call to dist_km2deg() - moved cycle statements to beginning of loop through processors (3 occurrences) - comments and whitespace modifications
@weiyuan-jiang : I added a few changes, see commit message f7fdb61 I did not test (or even compile) the changes. Please review and let me know if you have any questions.
That should be safe. If there are no tiles on a given processor, then there cannot be obs assigned to tiles on that processor. |
to preserve symmetry with the subsequent handling of optional argument "fcsterr_inflation_fac"
@weiyuan-jiang : I agree with the change of "obsbias_ok" to "obsbias_ok_tmp" late in subroutine get_obs_pred(). |
If N_obsl =0, the assignment obsbias_ok_tmp = .false. will crash. @gmao-rreichle |
Of course, sorry! Thanks for catching this, @weiyuan-jiang |
Successful 0-diff tests by @biljanaorescanin completed 16 Sep 2020. |
This reverts commit 2fccefe.
If a process has no tile, it crashes when running data assimilation. Is it safe to assume N_obsl = 0 if N_catl =0 ? @gmao-rreichle