Skip to content

Commit

Permalink
cleanup & comments (interactive questions make_bcs)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmao-rreichle committed Jan 11, 2022
1 parent 7af27ba commit a42ebcb
Showing 1 changed file with 18 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ set CR = $RESET
set pwd = `pwd`

#######################################################################
#
# Atmospheric Horizontal Resolution (HRCODE)

HRCODE:
echo " "
Expand Down Expand Up @@ -134,6 +136,11 @@ if( $HRCODE == o ) then
endif

#######################################################################
#
# Land bcs version (LBCSV)

# set default land bcs version
set lbcsv = NL3

LBCSV:
echo
Expand All @@ -153,11 +160,15 @@ echo " Nevertheless, the impact of these differences on scien
echo " the parameter files produced by current source code is considered to be"
echo " scientifically equivalent to the corresponding archived BCs"
echo " "
echo " OR press ENTER to select NL3 (current default)."
echo " OR press ENTER to select $lbcsv (current default)."
set dummy = `echo $<`
set dummy = `echo $dummy | tr "[:lower:]" "[:upper:]"`
set lbcsv = NL3
if( $dummy == 'F25' | $dummy == 'GM4' | $dummy == 'ICA' | $dummy == 'NL3' | $dummy == 'NL4' | $dummy == 'NL5'| $dummy == 'DEV') set lbcsv = $dummy
if( $dummy == 'F25' | $dummy == 'GM4' | $dummy == 'ICA' | $dummy == 'NL3' | $dummy == 'NL4' | $dummy == 'NL5'| $dummy == 'DEV') then
set lbcsv = $dummy
else
echo "You selected lbcsv=$dummy !!!! Invalid Version, stopping !!!! "
exit
endif

#######################################################################

Expand All @@ -166,6 +177,10 @@ if($HRCODES == m1 | $HRCODES == m3 | $HRCODES == m9 | $HRCODES == m36 | $HRCODES

else

#######################################################################
#
# Ocean Horizontal Resolution (ORSLV)

ORSLV:

echo
Expand Down

0 comments on commit a42ebcb

Please sign in to comment.