Skip to content

Check the DO_JEDISNOWDA condition before adding snow DA analysis to the list#2471

Merged
aerorahul merged 4 commits into
NOAA-EMC:developfrom
jiaruidong2017:feature/Correct_hpss_arch
Apr 9, 2024
Merged

Check the DO_JEDISNOWDA condition before adding snow DA analysis to the list#2471
aerorahul merged 4 commits into
NOAA-EMC:developfrom
jiaruidong2017:feature/Correct_hpss_arch

Conversation

@jiaruidong2017
Copy link
Copy Markdown
Contributor

Description

This PR added checking the DO_JEDISNOWDA condition before adding snow DA analysis to the archive list.

Resolves #2469

Type of change

  • Bug fix (fixes something broken)

Change characteristics

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

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

Copy link
Copy Markdown
Contributor

@aerorahul aerorahul left a comment

Choose a reason for hiding this comment

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

Thank you for adding the conditional. This will work.

However, in config.base, the variable is named DO_JEDILANDDA. It should be renamed to DO_JEDISNOWDA. Would you mind changing that variable as well to be DO_JEDISNOWDA instead of DO_JEDILANDDA?

Comment thread ush/hpssarch_gen.sh Outdated
echo "${COM_SNOW_ANALYSIS/${ROTDIR}\//}/*0000.sfc_data.tile4.nc"
echo "${COM_SNOW_ANALYSIS/${ROTDIR}\//}/*0000.sfc_data.tile5.nc"
echo "${COM_SNOW_ANALYSIS/${ROTDIR}\//}/*0000.sfc_data.tile6.nc"
if [[ ${DO_JEDISNOWDA} = "YES" ]]; then
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
if [[ ${DO_JEDISNOWDA} = "YES" ]]; then
if [[ "${DO_JEDISNOWDA:-}" == "YES" ]]; then

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks @aerorahul and done the changes as suggested.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Also changed the DO_JEDILANDDA to DO_JEDISNOWDA.

@aerorahul aerorahul self-requested a review April 9, 2024 14:54
Copy link
Copy Markdown
Contributor

@aerorahul aerorahul left a comment

Choose a reason for hiding this comment

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

looks good.
At somepoint we should review what needs to be archived for the sfc_data files. We have sfcanl_data tile files also being archived.

@aerorahul aerorahul merged commit ddd91b1 into NOAA-EMC:develop Apr 9, 2024
@jiaruidong2017 jiaruidong2017 deleted the feature/Correct_hpss_arch branch April 9, 2024 22:24
danholdaway added a commit to danholdaway/global-workflow that referenced this pull request Apr 15, 2024
* upstream/develop:
  Update fbwind for COM refactor (NOAA-EMC#2479)
  Update parm files for atm product (NOAA-EMC#2486)
  Fix paths in prepocnobs task (NOAA-EMC#2459)
  Add oceanalecn to workflow generator (NOAA-EMC#2409)
  Add support for CADS IR cloud detection scheme in the GSI (NOAA-EMC#2478)
  Improve error messaging to resolve bugzilla (NOAA-EMC#2468)
  Check the DO_JEDISNOWDA condition before adding snow DA analysis to the list (NOAA-EMC#2471)
bbakernoaa pushed a commit to bbakernoaa/global-workflow that referenced this pull request Mar 19, 2026
* UFSWM - Port UFS-WM to Ursa
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.

Archive Jobs Fail

3 participants