Skip to content

RRFS_ens: Adopting the changes from Guoqing to have the option "upgrade" for pre-existing directories#116

Merged
chunhuazhou merged 2 commits into
NOAA-GSL:RRFS_ensfrom
chunhuazhou:RRFS_ens_upgradedir
May 24, 2021
Merged

RRFS_ens: Adopting the changes from Guoqing to have the option "upgrade" for pre-existing directories#116
chunhuazhou merged 2 commits into
NOAA-GSL:RRFS_ensfrom
chunhuazhou:RRFS_ens_upgradedir

Conversation

@chunhuazhou
Copy link
Copy Markdown
Collaborator

DESCRIPTION OF CHANGES:

Adopting the changes from Guoqing to have the option "upgrade" for pre-existing directories (See #111 from feature/RRFS_dev1)

TESTS CONDUCTED:

ISSUE (optional):

CONTRIBUTORS (optional):

@guoqing-noaa

…eexisting directories (PR # 111 from feature/RRFS_dev1)
Copy link
Copy Markdown
Collaborator

@guoqing-noaa guoqing-noaa 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 to me. Only one minor cosmetic comment and I hope it can be addressed before the final merge.

while [ -d "${old_dir_or_file}" ]; do
i=$[$i+1]
old_indx=$( printf "%03d" "$i" )
old_dir_or_file="${dir_or_file}/old${old_indx}"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

better to indent line 138 to align with line 139,140

@chunhuazhou chunhuazhou merged commit c98e015 into NOAA-GSL:RRFS_ens May 24, 2021
@chunhuazhou chunhuazhou deleted the RRFS_ens_upgradedir branch May 24, 2021 00:37
EdwardColon-NOAA pushed a commit to EdwardColon-NOAA/regional_workflow that referenced this pull request Sep 24, 2023
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