Skip to content

Commit

Permalink
Retain config.fcst output filetypes while parsing NOAA-EMC#588
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidHuber-NOAA authored Jan 18, 2022
1 parent 86d4b30 commit fa5ea08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ush/parsing_model_configure_FV3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@

FV3_model_configure(){

export OUTPUT_FILETYPES="$OUTPUT_FILE"
export OUTPUT_FILETYPES=${OUTPUT_FILETYPES:-${OUTPUT_FILE:-"netcdf"}}
if [[ "$OUTPUT_FILE" == "netcdf" ]]; then
export OUTPUT_FILETYPES=" 'netcdf_parallel' 'netcdf' "
export OUTPUT_FILETYPES=${OUTPUT_FILETYPES:-" 'netcdf_parallel' 'netcdf' "}
fi

rm -f model_configure
Expand Down

0 comments on commit fa5ea08

Please sign in to comment.