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

Added tasks to construct aero_diffparm.yaml from template. #3

Merged
merged 3 commits into from
Jun 5, 2024

Conversation

CoryMartin-NOAA
Copy link
Owner

Description

Type of change

  • Bug fix (fixes something broken)
  • New feature (adds functionality)
  • Maintenance (code refactor, clean-up, new CI test, etc.)

Change characteristics

  • Is this a breaking change (a change in existing functionality)? YES/NO
  • Does this change require a documentation update? YES/NO

How has this been tested?

Checklist

  • Any dependent changes have been merged and published
  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • New and existing tests pass with my changes
  • I have made corresponding changes to the documentation if necessary

@@ -25,6 +25,7 @@ def __init__(self, config: Dict[str, Any]) -> None:
_res_anl = int(self.config['CASE_ANL'][1:])

_bmat_yaml = os.path.join(self.runtime_config.DATA, f"{self.runtime_config.CDUMP}.t{self.runtime_config['cyc']:02d}z.chem_diagb.yaml")
_diff_yaml = os.path.join(self.runtime_config.DATA, f"{self.runtime_config.CDUMP}.t{self.runtime_config['cyc']:02d}z.chem_diff.yaml")
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you change all of these from diff (and DIFF) to diffusion (DIFFUSION) just to be more explicit, and not make people think it is 'difference'

logger.info(f"Generate B Matrix YAML config: {self.task_config.bmat_yaml}")
bmat_config = parse_j2yaml(self.task_config.BMATYAML, self.task_config, searchpath=self.gdasapp_j2tmpl_dir)
logger.debug(f"BMAT config:\n{pformat(bmat_config)}")

return bmat_config
return bmat_config
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove the trailing whitespace here, it's causing coding norms to fail

@CoryMartin-NOAA
Copy link
Owner Author

@andytangborn can you fix the suggestions otherwise I can tomorrow

@andytangborn
Copy link
Collaborator

andytangborn commented Jun 4, 2024 via email

@andytangborn
Copy link
Collaborator

I made the changes. git push didn't do anything (??). We can discuss in the morning.

@andytangborn
Copy link
Collaborator

Oh sorry, one more step needed.

@CoryMartin-NOAA CoryMartin-NOAA merged commit a200b1e into feature/aero-b Jun 5, 2024
3 checks passed
@CoryMartin-NOAA CoryMartin-NOAA deleted the feature/diff_parm branch June 5, 2024 19:20
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