-
Notifications
You must be signed in to change notification settings - Fork 542
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
UKMO Staging jan2021 #327
UKMO Staging jan2021 #327
Conversation
Fixes: NOAA-EMC#314 * Interpolation weights now correctly calculated on points next to land and BC locations. * Changes to improve the code: the possibility of reading zero values from the input is considered, and points that should not be taken into account in the interpolation are identified by the netcdf fill value; a subroutine is created to avoid code duplication
* Fixes NOAA-EMC#290 (ww3_multi hanging when generating restart with IOSTYP >= 2) * Also fixes out-of-bounds array access error. * Includes some MPI optimizations
model/ftn/w3iorsmd.ftn
Outdated
@@ -609,7 +604,7 @@ | |||
!/MPI IF ( IP .EQ. NAPRST ) THEN | |||
!/MPI WRITEBUFF(1:NSPEC) = VA(1:NSPEC,JSEA) | |||
!/MPI ELSE | |||
!/MPI JSEA = JSEA - 2*((IB-1)/2)*RSBLKS | |||
!/MPI JSEA = 1 + MOD(IB-1,2)*RSBLKS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do the bug fixes here warrant changing the date for this file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was going to say no, as it as it doesn't actually change the format of the file... but I suppose it could change how an earlier file was read in w.r.t. JSEA? @ukmo-juan-castillo - can you confirm?
Does this close any issues? I want to say there is at least one issue this PR would close. |
to take into account the coupled configurations, that are also affected
@JessicaMeixner-NOAA : yes - I've edited the description to link in the relevant issues. |
@ukmo-juan-castillo and I are happy with the regtest results for this PR now. The output of the full regression test maxtrix compared against matrixComp_staging_jan2021.zip Summary of differences relavent to this PR:
Also, the usual culprits which have known differences
Over to you @aliabdolali :) |
Hi @ukmo-juan-castillo and @ukmo-ccbunney |
Hi @ukmo-juan-castillo and @ukmo-ccbunney |
@aliabdolali I notice that you have some differences in the Everything else looks as expected. |
@ukmo-ccbunney I checked another PR and I had similar non-identical results in |
Phew - that's a relief. Also - this is interesting behaviour as sometimes I also have differences in the * I sometimes forget that compilers are written by humans too! |
@ukmo-ccbunney I remember we had this happen before because there was an uninitialized variable being stored in the mod_def.ww3 file. I'm not sure if it's the same file/test or not, but something like that could explain why some compilers it's fine and others it is not. |
Fixes #206 |
The staging branch comprises two PRs from the ukmo-waves repository:
Fixes #290
Fixes #207
Fixes #314
Full regression test output for each PR are available in the PRs links above.
Regression test outputs for this combined staging branch will be provided below.