Skip to content

Commit

Permalink
Changing handling of var.yaml to correct vrfy bug (#507)
Browse files Browse the repository at this point in the history
* changed handling of var.yaml

* saving original var with different name
  • Loading branch information
AndrewEichmann-NOAA committed Jun 14, 2023
1 parent 2895f79 commit 77defba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions scripts/exgdas_global_marine_analysis_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ function clean_yaml()

################################################################################
# run 3DVAR FGAT
cp var.yaml var_original.yaml
clean_yaml var.yaml
$APRUN_OCNANAL $JEDI_BIN/soca_var.x var.yaml
export err=$?; err_chk
Expand Down
2 changes: 1 addition & 1 deletion scripts/exgdas_global_marine_analysis_vrfy.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ def plot_zonal_slice(config):

evadir = os.path.join(HOMEgfs, 'sorc', f'{RUN}.cd', 'ush', 'eva')
marinetemplate = os.path.join(evadir, 'marine_gdas_plots.yaml')
varyaml = os.path.join(comout, 'yaml', 'var.yaml')
varyaml = os.path.join(comout, 'yaml', 'var_original.yaml')

# it would be better to refrence the dirs explicitly with the comout path
# but eva doesn't allow for specifying output directories
Expand Down

0 comments on commit 77defba

Please sign in to comment.