Skip to content

Conversation

@zhanglikate
Copy link

Description

This PR updates the UPP system to support aerosol GRIB2 output for the gcafsv1 model within UFSATM.

Specifically:

Updates UPP to the develop branch to include the text file required for the GCAFS model in UFSATM.

Adds the post_itag_gcafs file for the GCAFS model.

Implements and links UPP-related components for the gcafsv1 model to process aerosol GRIB2 outputs.

These changes enhance UFSATM’s capability to handle aerosol fields generated by GCAFS for post-processing and analysis.

Type of change

  • New feature (adds functionality)

Change characteristics

  • Is this a breaking change (a change in existing functionality)? NO
  • Does this change require a documentation update? YES
  • Does this change require an update to any of the following submodules? YES (If YES, .)
    • UFS-weather-model

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
  • I have documented my code, including function, input, and output descriptions
  • My changes generate no new warnings
  • New and existing tests pass with my changes
  • This change is covered by an existing CI test or a new one has been added
  • Any new scripts have been added to the .github/CODEOWNERS file with owners
  • I have made corresponding changes to the system documentation if necessary

the text file required for the GCAFS model in UFSATM.
2) Add the post_itag_gcafs file for the GCAFS model.
3) Implement and link UPP-related files for the gcafsv1 model
to process aerosol GRIB2 outputs.
# rm -f "pgb2${grp}file_${fhr3}_${iproc}_${grid}"
file="pgb2${grp}file_${fhr3}_${iproc}_${grid}"
# only concatenate if file exists and is non-empty
if [[ -s "$file" ]]; then

Check notice

Code scanning / shellcheck

Prefer putting braces around variable references even when not strictly required. Note

Prefer putting braces around variable references even when not strictly required.
file="pgb2${grp}file_${fhr3}_${iproc}_${grid}"
# only concatenate if file exists and is non-empty
if [[ -s "$file" ]]; then
cat "$file" >> "pgb2${grp}file_${fhr3}_${grid}"

Check notice

Code scanning / shellcheck

Prefer putting braces around variable references even when not strictly required. Note

Prefer putting braces around variable references even when not strictly required.
if [[ -s "$file" ]]; then
cat "$file" >> "pgb2${grp}file_${fhr3}_${grid}"
fi
rm -f -- "$file"

Check notice

Code scanning / shellcheck

Prefer putting braces around variable references even when not strictly required. Note

Prefer putting braces around variable references even when not strictly required.
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.

1 participant