Skip to content

Commit

Permalink
Remove check for existence of tiled fix files
Browse files Browse the repository at this point in the history
The existing of some fix files was being checked with fallback
values used if the files are missing. However, this approach does
not work with the tiled fix files, as they are passed as 'tileX',
while the files are tile1, tile2, etc. This was causing the files
checked to always fall back to their non-tiled versions.

In the future, we should check for the existence of all fix files,
not just the five that were checked here, appropriately handling
the tiled versions.

Refs: NOAA-EMC#416
  • Loading branch information
WalterKolczynski-NOAA committed Aug 25, 2021
1 parent 86cba79 commit d83428c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ush/forecast_postdet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -374,10 +374,6 @@ EOF
FNSMCC=${FNSMCC:-"$FIX_AM/global_soilmgldas.statsgo.t${JCAP}.${LONB}.${LATB}.grb"}

# If the appropriate resolution fix file is not present, use the highest resolution available (T1534)
[[ ! -f $FNALBC ]] && FNALBC="$FIX_AM/global_snowfree_albedo.bosu.t1534.3072.1536.rg.grb"
[[ ! -f $FNVETC ]] && FNVETC="$FIX_AM/global_vegtype.igbp.t1534.3072.1536.rg.grb"
[[ ! -f $FNSOTC ]] && FNSOTC="$FIX_AM/global_soiltype.statsgo.t1534.3072.1536.rg.grb"
[[ ! -f $FNABSC ]] && FNABSC="$FIX_AM/global_mxsnoalb.uariz.t1534.3072.1536.rg.grb"
[[ ! -f $FNSMCC ]] && FNSMCC="$FIX_AM/global_soilmgldas.statsgo.t1534.3072.1536.grb"

# NSST Options
Expand Down

0 comments on commit d83428c

Please sign in to comment.