-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add task to calculate ensemble mean and variance from background state #397
Conversation
This seems to work - it runs fine, but I am confused as to what's preventing the localensembleda to go beyond simply the ensemean background ... after all, this is behaving as if it were the ensemblemean suite but it's not! |
@rtodling and @metdyn this is missing the last commit from the Please see following changes. We are abandoning the static feature/submit/ens_mean...develop @metdyn, please notice the changes in |
Thanks, @Dooruk, I will take a look and make appropriate changes to the PR to be update with other suites and relative path. |
I know the ctest Error message is
So I printed out the string of the dict into files:
diff diff in.txt out.txt Then I print out the first two lines of differences of the two files:
The order between Meanwhile I tried to print out the difference between the two dictionaries:
|
I think this error means I need to regenerate |
@metdyn, let me look into this branch and see what is going on. I will suggest an update to this branch afterwards as a merge. It's a simple unit test issue but I also notice some potential If you change this following line in the source code (setting swell/src/swell/test/code_tests/code_tests.py Lines 28 to 29 in 465990f
Sorry, this is all very obscure without documentation but this is also how I learned these things.. |
@Dooruk thanks and that is the key! I was about to ask you why the logger.info did not work in this test code file, but logger.test() worked in another file. |
* Update CODEOWNERS (#398) * parsing ozinfo.db (#396) Co-authored-by: Doruk Ardağ <38666458+Dooruk@users.noreply.github.com> * task name change and yaml fixes * oops application changes * flow.cylc fixes, slurm directive changes * no Datetime class without datetime (#403) * no Datetime object without datetime * fix wrong task questions entry --------- Co-authored-by: Matt Thompson <matthew.thompson@nasa.gov> Co-authored-by: Akira Sewnath <asewnath@users.noreply.github.com> Co-authored-by: Yonggang Yu <yonggang.yu@nasa.gov>
@rtodling, can you confirm |
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 added a few comments. There is some duplicate functionality because RunJediEnsembleMean
already handles the options where you put inside RunJediLocalDaExecutable
. Simply taking them out should suffice.
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 created another PR to help with enHX with packets.
#405
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.
This is good to go on my end, let's wait on @rtodling .
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.
This works for me - it fails in the HofX, but I understand this is another issue to be tackled elsewhere.
Description
A step towards LETKF is to calculate ensemble mean and variance:
Alternatively, this functionality may be used as a simple, independent tool.
Tested on SCU17:
Dependencies
None
Impact
It is part of the localensembleda suite.