Skip to content

Change the "overwrite" option to "upgrade" for preexisting directory#111

Merged
guoqing-noaa merged 1 commit into
NOAA-GSL:feature/RRFS_dev1from
guoqing-noaa:upgrade
May 19, 2021
Merged

Change the "overwrite" option to "upgrade" for preexisting directory#111
guoqing-noaa merged 1 commit into
NOAA-GSL:feature/RRFS_dev1from
guoqing-noaa:upgrade

Conversation

@guoqing-noaa
Copy link
Copy Markdown
Collaborator

Based on discussions at the 05/18/2021 data assimilation branch meeting, change the "overwrite" option to "upgrade" for preexisting directory.

  1. the word "overwrite" literally may read as "dangerous" to some users and it does not full reflect what really happens either;
  2. Although it is discouraged but there are situations when quick changes to xml, nml, configure or var_defns.sh under $EXPDIR may be made to test something. "overwrite" may lost those changes.
  3. "upgrade" will save a copy for $EXPDIR first, and then do the in-place upgrade.

The changes were tested on Jet.

Comment thread ush/bash_utils/check_for_preexist_dir_file.sh
@guoqing-noaa guoqing-noaa merged commit f2e6fe2 into NOAA-GSL:feature/RRFS_dev1 May 19, 2021
@guoqing-noaa guoqing-noaa deleted the upgrade branch May 19, 2021 17:54
hu5970 added a commit that referenced this pull request May 29, 2021
* Feature/rrfs dev1: add retrospective function and changes for running on WCOSS (#104)

* Cold start RRFS_dev1 3km CONUS hourly cycles from 09/21Z HRRR analysis.
* Changes for running on RRFS cycles on WCOSS.

* Copy addtional grid from UPP run directory to comout space. (#105)

* Copy addtional grid from UPP run directory to comout space.

* Improvements for 3-km NA (#103)

* Extending walltime for "run_post" in 3-km NA

* Updated settings for layout_x, layout_y to improve run time.

* Increase RRFS_AK time step to match CONUS (#110)

* Feature/rrfs dev1: add retro and radar tten functions (#108)

* Add functions to run retro with staged data on disk.
* Add namelist option for radar tten.
* Bug fix for using GFS on JET for 3km NA.

* Feature/rrfs dev1: delete radar tten option (#112)

* delete tten option in namelist to match current USD model.

* Turn off cloud analysis for future debug. (#113)

* Change the "overwrite" option to "upgrade" (#111)

* Change $EXPDIR backup from inside to outside (#117)

* RRFS_dev1: Add python maps (#82)

* Updating job script to work with maps.

* Workflow for Python graphics.

* Use a metatask to manage map subsets.

Move skewt out of metatask.

* Sorting out plotting the wgrib2-produced domains.

* Updating configure scripts for appropriate domains.

* Adding domains for 3DRTMA

* Fixes for undefined variables and logic changes.

* RRFS_dev1: Turn on radar tten option and use "upgrade" to deploy. (#121)

* Add and turn on radar tten option
* Change PREEXISTING_DIR_METHOD from "rename" to "upgrade" for all RRFS_dev runs.

* Add configure options to decide how to clean the old cycles. (#123)

Change the reference date for clean from current run time to current cycle time

Co-authored-by: Jaymes Kenyon <jaymes.kenyon@noaa.gov>
Co-authored-by: Trevor Alcott <69324222+TrevorAlcott-NOAA@users.noreply.github.com>
Co-authored-by: Guoqing Ge <guoqing.ge@noaa.gov>
Co-authored-by: Christina Holt <56881914+christinaholtNOAA@users.noreply.github.com>
EdwardColon-NOAA pushed a commit to EdwardColon-NOAA/regional_workflow that referenced this pull request Sep 24, 2023
guoqing-noaa pushed a commit to guoqing-noaa/regional_workflow that referenced this pull request Sep 15, 2024
* Update testbed_fields_bgdawp.txt

* Add VIL which was accidentally removed

---------

Co-authored-by: benjamin blake <benjamin.blake@clogin08.cactus.wcoss2.ncep.noaa.gov>
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