Add diffusion/diag B for aerosol DA and some other needed changes#2738
Conversation
Added tasks to construct aero_diffparm.yaml from template.
|
|
Automated global-workflow Testing Results: |
WalterKolczynski-NOAA
left a comment
There was a problem hiding this comment.
Sorry, missed these the first time. Just method names, following the same reasoning as the other PR.
| pass | ||
|
|
||
| @logit(logger) | ||
| def computeVariance(self) -> None: |
There was a problem hiding this comment.
Python style guidelines say method names should be snake case, not camel case.
| def computeVariance(self) -> None: | |
| def compute_variance(self) -> None: |
| pass | ||
|
|
||
| @logit(logger) | ||
| def computeDiffusion(self) -> None: |
There was a problem hiding this comment.
| def computeDiffusion(self) -> None: | |
| def compute_diffusion(self) -> None: |
| self.link_jediexe() | ||
|
|
||
| @logit(logger) | ||
| def interpBackground(self) -> None: |
There was a problem hiding this comment.
| def interpBackground(self) -> None: | |
| def interp_background(self) -> None: |
|
|
||
| @logit(logger) | ||
| def execute(self: Analysis) -> None: | ||
| def variational(self: Analysis) -> None: |
There was a problem hiding this comment.
Best verb I could come up with here, open to others.
| def variational(self: Analysis) -> None: | |
| def var_assimilate(self: Analysis) -> None: |
| # Instantiate the aerosol analysis task | ||
| AeroAnl = AerosolAnalysis(config) | ||
| AeroAnl.execute() | ||
| AeroAnl.variational() |
There was a problem hiding this comment.
| AeroAnl.variational() | |
| AeroAnl.var_assimilate() |
| AeroB.interpBackground() | ||
| AeroB.computeVariance() | ||
| AeroB.computeDiffusion() |
There was a problem hiding this comment.
| AeroB.interpBackground() | |
| AeroB.computeVariance() | |
| AeroB.computeDiffusion() | |
| AeroB.interp_background() | |
| AeroB.compute_variance() | |
| AeroB.compute_diffusion() |
WalterKolczynski-NOAA
left a comment
There was a problem hiding this comment.
Upon reflection, this PR has been hanging around long enough. Let's try to get it in as-is and we can address the method names later.
|
All CI Test Cases Passed on Wcoss2: |
|
@CoryMartin-NOAA Looks like merging Russ's PR created a conflict |
|
@WalterKolczynski-NOAA resolved |
|
CI Passed on Hera in Build# 2 |
|
CI Passed on Hercules in Build# 1 |
Description
This PR adds in support for computing files needed for the aerosol analysis B. This includes a new task,
aeroanlgenb. This work was performed by both me and @andytangbornResolves #2501
Resolves #2737
Please note, I am still using python to create dictionaries for FileHandler. This will not be resolved in this PR but a future PR, an issue #2737 has been created to make note of this.EDIT: this PR has been added to such that the above is no longer true
Type of change
Change characteristics
How has this been tested?
Checklist