Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fb wind stress #483

Merged
merged 80 commits into from
Oct 6, 2021
Merged
Show file tree
Hide file tree
Changes from 62 commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
f103922
Fb oasis t+0 (#13)
ukmo-juan-castillo Oct 5, 2020
35e6831
Fb uprstr inp (#15)
ukmo-ansaulter Oct 7, 2020
c35acf6
First set of changes, still testing
ukmo-juan-castillo Oct 16, 2020
69259ef
Some fixes
ukmo-juan-castillo Oct 26, 2020
4c272cc
Further changes mainly fixing vector boundaries
ukmo-juan-castillo Oct 28, 2020
01177e4
Main changes
ukmo-juan-castillo Oct 28, 2020
0166c0d
Most changes already present, only need to write in output and restart
ukmo-juan-castillo Oct 29, 2020
f5be40a
Further changes - activate coupling
ukmo-juan-castillo Nov 2, 2020
dd1913f
Bug fixes to make the code compile
ukmo-juan-castillo Nov 3, 2020
3677987
Further changes to run regtests
ukmo-juan-castillo Nov 6, 2020
5c9974d
Minor fixes for output, manual, and switches
ukmo-juan-castillo Nov 23, 2020
f9cfcbb
Merge branch 'develop' into fb_coupling_fields
ukmo-juan-castillo Nov 23, 2020
b72a330
Small fix to comments in model input
ukmo-juan-castillo Dec 7, 2020
00d9fbf
Merge branch 'develop' into fb_coupling_fields
ukmo-juan-castillo Dec 7, 2020
1358ea3
Remove some lines that had to be removed but were overlooked
ukmo-juan-castillo Jan 6, 2021
656eb5e
Substitute ATTX and ATXX switches by WNTX and WNXX; add comments
ukmo-juan-castillo Jan 6, 2021
4a21c10
Change in file missed in latest commit
ukmo-juan-castillo Jan 6, 2021
a157dc9
Merge branch 'develop' into fb_coupling_fields
ukmo-juan-castillo Jan 7, 2021
73ea7e1
Minor changes fixing version change
ukmo-juan-castillo Jan 7, 2021
3dad097
Small fixes after reviewer's comments and to fix regtest
ukmo-juan-castillo Jan 12, 2021
6203ac8
Changes to pass regtests
ukmo-juan-castillo Jan 14, 2021
ad9dd8e
Addition of a new regtest and small fixes to ww3_prnc
ukmo-juan-castillo Jan 15, 2021
11de1d8
Time-interpolate air density when read from file
ukmo-juan-castillo Jan 15, 2021
6a491a7
Ensure that units are consistent
ukmo-juan-castillo Jan 15, 2021
0535ec6
Restore long name in metadata for new fieds, and update code version for
ukmo-juan-castillo Jan 29, 2021
38424b3
Merge branch 'develop' into fb_coupling_fields
ukmo-juan-castillo Feb 8, 2021
895bdf3
Merge branch 'develop' into fb_coupling_fields
ukmo-juan-castillo Feb 8, 2021
95747d3
Merge branch 'fb_coupling_fields' of https://github.com/ukmo-waves/WW…
ukmo-juan-castillo Feb 9, 2021
c39abc1
Update last modification date; corrections for new output field: WNMEAN
ukmo-juan-castillo Feb 9, 2021
b4b7ba4
Fixes from Jessica Meixner; update date of last change in restart file
ukmo-juan-castillo Feb 17, 2021
9193a0e
Small fix to the format of the example input file ww3_multi.inp
ukmo-juan-castillo Feb 18, 2021
81fd832
Merge branch 'develop' into fb_coupling_fields
ukmo-juan-castillo Mar 22, 2021
4c28b60
Some fixes after merging with latest version of develop
ukmo-juan-castillo Mar 22, 2021
ee6599b
Merge branch 'fb_coupling_fields' of https://github.com/ukmo-waves/WW…
ukmo-juan-castillo Mar 22, 2021
23f2ec6
Correct one version number
ukmo-juan-castillo Mar 22, 2021
a2a33f0
Fix the header of the table printed in log.ww3, should not cause changes
ukmo-juan-castillo Mar 25, 2021
10a1426
Introduction of switch FLX5 to pass the stresses
Mar 24, 2021
a54d13d
Added small modif for FLX5
Mar 25, 2021
d38eed1
Fix comma
Mar 25, 2021
bd914e6
Rebase on fb_coupling_fields
Mar 25, 2021
6d5903d
New regtest added
Mar 26, 2021
31f05a1
Added taua, taudir in output point files
Apr 6, 2021
cfb72a4
Bugfix outp
Apr 13, 2021
b50ee97
Info FLX5
ukmo-nievesvaliente Jun 1, 2021
7ae5dee
Merge remote-tracking branch 'origin/develop' into fb_wind_stress
ukmo-nievesvaliente Jun 1, 2021
acf8d75
Delete test regtest
ukmo-nievesvaliente Jun 1, 2021
d0d6b62
Merge branch 'develop' into fb_wind_stress
ukmo-nievesvaliente Jun 9, 2021
58f7b23
FLX5 introduced in w3src4
ukmo-nievesvaliente Jun 29, 2021
9ff2804
Fix on sea surface roughness.
ukmo-nievesvaliente Jul 2, 2021
a161ed1
Added final comments in FLX5 switch.
ukmo-nievesvaliente Jul 4, 2021
0b492db
Removed debug comments.
ukmo-nievesvaliente Jul 5, 2021
ff3a867
Removed debug comments.
ukmo-nievesvaliente Jul 5, 2021
51780b0
Info for compatibility with stress/density from atm file.
ukmo-nievesvaliente Jul 19, 2021
ceac4dd
Final FLX5 set-up.
ukmo-nievesvaliente Jul 28, 2021
44008fd
Merge branch 'develop' into fb_wind_stress
ukmo-nievesvaliente Jul 29, 2021
eb4bb20
Reverting some conflicts with last merge.
ukmo-nievesvaliente Jul 29, 2021
0193ee5
Remove unused comment.
ukmo-nievesvaliente Jul 29, 2021
c796a09
Merge branch 'develop' into fb_wind_stress
ukmo-nievesvaliente Aug 5, 2021
96e2df4
Added reference to switches for flux computation.
ukmo-nievesvaliente Aug 9, 2021
6b577ef
Merge branch 'develop' into fb_wind_stress
ukmo-ccbunney Sep 14, 2021
2556bf4
Merge branch 'develop' into fb_wind_stress
ukmo-nievesvaliente Sep 21, 2021
50d73f2
Commited missing file build_utils.
ukmo-nievesvaliente Sep 21, 2021
cb9112d
Remove not used switches.
ukmo-nievesvaliente Sep 24, 2021
4b00eaa
Merge branch 'develop' into fb_wind_stress
ukmo-nievesvaliente Sep 24, 2021
0a1251c
Print statements removed. WRITE used instead.
ukmo-nievesvaliente Sep 24, 2021
be8c7cf
Tidy up and declare in matrix.base flx5 regtest.
ukmo-nievesvaliente Sep 24, 2021
18ada7b
Modified entry for regtest ww3_tp2.15 to make a single invocation to
ukmo-ccbunney Sep 24, 2021
deeb8ab
Fixing cosmetics and new regtest added in matrix.base.
ukmo-nievesvaliente Sep 27, 2021
ec46f44
Merge remote-tracking branch 'origin/develop' into fb_wind_stress
ukmo-ccbunney Sep 28, 2021
f2aea81
Merge branch 'bugfix/tp2.15' into fb_wind_stress: converts multiple
ukmo-ccbunney Sep 28, 2021
1669d94
Only use RHOAIR, and TAU* variables in source term calculations when
ukmo-ccbunney Sep 28, 2021
bbbeb0b
Fixed some typos in line continuation characters
ukmo-ccbunney Sep 29, 2021
fd45999
Fixed typo in switch
ukmo-ccbunney Sep 29, 2021
d0ed743
Added TAU and RHO as output in relevant *.nml and *.inp files.
ukmo-nievesvaliente Oct 1, 2021
b7fad4b
Merge branch 'fb_wind_stress_flx5' into fb_wind_stress.
ukmo-nievesvaliente Oct 1, 2021
35157c3
Added TAU and RHO as output in relevant *.nml and *.inp files.
ukmo-nievesvaliente Oct 1, 2021
16bc13c
Merge inputs rho and flx5 in regtest ww3_tp2.15.
ukmo-nievesvaliente Oct 4, 2021
727b92e
Remove unused switch in regtest/ww3_tp2.15/input_rho.
ukmo-nievesvaliente Oct 4, 2021
0adbbdf
Fix w3iopomd compilation error.
ukmo-nievesvaliente Oct 5, 2021
af50399
Merge branch 'NOAA-EMC:develop' into fb_wind_stress
aliabdolali Oct 5, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions manual/impl/switch.tex
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ \subsubsection{~Mandatory switches} \label{sub:man_switch}
\sit{flx2} {Friction velocity from Tolman and Chalikov input.}
\sit{flx3} {Idem, with cap of Eq.~(\ref{eq:Cd_cap_1}) or (\ref{eq:Cd_cap_2}).}
\sit{flx4} {Friction velocity according to Eq.~(\ref{eq:ST607}).}
\sit{flx5} {Friction velocity from atmospheric stress (stresses should be an input).}
\end{slist}

\noindent
Expand Down
27 changes: 15 additions & 12 deletions model/bin/build_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ check_switches()
#sort:stress:
stress ) TY='one'
ID='stress computation'
OK='FLX0 FLX1 FLX2 FLX3 FLX4' ;;
OK='FLX0 FLX1 FLX2 FLX3 FLX4 FLX5' ;;
#sort:dstress:
dstress) TY='upto1'
ID='Diagnostic stress comp'
Expand Down Expand Up @@ -444,6 +444,7 @@ check_switches()
FLX2) str_st1='OK' ; str_st2='OK' ; str_st3='no' ; str_st6='OK' ;;
FLX3) str_st1='OK' ; str_st2='OK' ; str_st3='no' ; str_st6='OK' ;;
FLX4) str_st1='OK' ; str_st2='no' ; str_st3='no' ; str_st6='OK' ;;
FLX5) str_st1='no' ; str_st2='no' ; str_st3='yes' ; str_st6='OK' ;;
esac

if [ -n "$thread2" ] && [ "$thread1" != 'OMPG' ]
Expand Down Expand Up @@ -518,7 +519,7 @@ check_switches()
then
echo ' '
echo " *** !/ST6 cannot be used in combination with !/$stress"
echo " Choose from FLX1, FLX2, FLX3, or FLX4."
echo " Choose from FLX1, FLX2, FLX3, or FLX4 or FLX5."
echo ' ' ; exit 14
fi

Expand Down Expand Up @@ -592,6 +593,8 @@ switch_files()
flxx=$NULL ;;
FLX4) flx='w3flx4md'
flxx=$NULL ;;
FLX5) flx='w3flx5md'
flxx=$NULL ;;
esac

case $dstress in
Expand Down Expand Up @@ -767,7 +770,7 @@ create_file_list()
core=
data='w3wdatmd w3gdatmd w3adatmd w3idatmd w3odatmd wmmdatmd'
prop=
sourcet="w3parall w3triamd w3gridmd $stx $nlx $btx $is $uostmd"
sourcet="w3parall w3triamd w3gridmd $stx $flx $nlx $btx $is $uostmd"
IO='w3iogrmd'
aux="constants w3servmd w3arrymd w3dispmd w3gsrumd w3timemd w3nmlgridmd $pdlibyow $memcode"
if [ "$scrip" = 'SCRIP' ]
Expand All @@ -784,7 +787,7 @@ create_file_list()
core=
data="$memcode w3gdatmd w3wdatmd w3adatmd w3idatmd w3odatmd"
prop=
sourcet="$pdlibcode $pdlibyow $db $tr $trx $bt $setupcode $stx $nlx $btx $is wmmdatmd w3parall $uostmd"
sourcet="$pdlibcode $pdlibyow $db $tr $trx $bt $setupcode $stx $flx $nlx $btx $is wmmdatmd w3parall $uostmd"
IO='w3iogrmd w3iorsmd'
aux="constants w3triamd w3servmd w3arrymd w3dispmd w3gsrumd w3timemd" ;;
ww3_bound)
Expand All @@ -805,14 +808,14 @@ create_file_list()
core='w3fldsmd'
data="$memcode w3gdatmd w3adatmd w3idatmd w3odatmd w3wdatmd wmmdatmd"
prop=
sourcet="$pdlibcode $pdlibyow $db $bt $setupcode w3triamd $stx $nlx $btx $is $uostmd"
sourcet="$pdlibcode $pdlibyow $db $bt $setupcode w3triamd $stx $flx $nlx $btx $is $uostmd"
IO="w3iogrmd $oasismd $agcmmd $ogcmmd $igcmmd"
aux="constants w3servmd w3timemd $tidecode w3arrymd w3dispmd w3gsrumd w3parall" ;;
ww3_prnc)
core='w3fldsmd'
data="$memcode w3gdatmd w3adatmd w3idatmd w3odatmd w3wdatmd wmmdatmd"
prop=
sourcet="$pdlibcode $pdlibyow $db $bt $setupcode w3triamd $stx $nlx $btx $is w3parall $uostmd"
sourcet="$pdlibcode $pdlibyow $db $bt $setupcode w3triamd $stx $flx $nlx $btx $is w3parall $uostmd"
IO="w3iogrmd $oasismd $agcmmd $ogcmmd $igcmmd"
aux="constants w3servmd w3timemd w3arrymd w3dispmd w3gsrumd w3tidemd w3nmlprncmd" ;;
ww3_prtide)
Expand Down Expand Up @@ -882,15 +885,15 @@ create_file_list()
core=
data="w3parall wmmdatmd $memcode w3gdatmd w3wdatmd w3adatmd w3idatmd w3odatmd"
prop=
sourcet="$pdlibcode $pdlibyow $db $bt $setupcode $tr $trx $stx $nlx $btx $is $uostmd"
sourcet="$pdlibcode $pdlibyow $db $bt $setupcode $tr $trx $stx $flx $nlx $btx $is $uostmd"
IO='w3iogrmd w3iogomd'
aux="constants w3servmd w3timemd w3arrymd w3dispmd w3gsrumd"
aux="$aux" ;;
ww3_ounf)
core='w3initmd'
data="wmmdatmd $memcode w3gdatmd w3wdatmd w3adatmd w3idatmd w3odatmd"
prop=
sourcet="$pdlibcode $pdlibyow $db $bt $setupcode w3parall w3triamd $stx $nlx $btx $is $uostmd"
sourcet="$pdlibcode $pdlibyow $db $bt $setupcode w3parall w3triamd $stx $flx $nlx $btx $is $uostmd"
IO='w3iogrmd w3iogomd w3iorsmd w3iopomd'
aux="constants w3servmd w3timemd w3arrymd w3dispmd w3gsrumd"
aux="$aux w3nmlounfmd $smco w3ounfmetamd w3metamd" ;;
Expand Down Expand Up @@ -927,15 +930,15 @@ create_file_list()
core=
data="w3parall wmmdatmd w3triamd $memcode w3gdatmd w3wdatmd w3adatmd w3idatmd w3odatmd"
prop=
sourcet="$pdlibcode $pdlibyow $db $bt $setupcode $stx $nlx $btx $is $uostmd"
sourcet="$pdlibcode $pdlibyow $db $bt $setupcode $stx $flx $nlx $btx $is $uostmd"
IO='w3iogrmd w3iogomd'
aux="constants w3servmd w3timemd w3arrymd w3dispmd w3gsrumd"
aux="$aux" ;;
ww3_gspl)
core='w3fldsmd'
data="$memcode w3gdatmd w3wdatmd w3adatmd w3idatmd w3odatmd"
prop=
sourcet="$pdlibcode $pdlibyow $db $bt $setupcode wmmdatmd w3parall w3triamd $stx $nlx $btx $is $uostmd"
sourcet="$pdlibcode $pdlibyow $db $bt $setupcode wmmdatmd w3parall w3triamd $stx $flx $nlx $btx $is $uostmd"
IO="w3iogrmd $oasismd $agcmmd $ogcmmd $igcmmd"
aux="constants w3servmd w3timemd w3arrymd w3dispmd w3gsrumd $tidecode" ;;
ww3_gint)
Expand All @@ -950,7 +953,7 @@ create_file_list()
core=
data="$memcode w3gdatmd w3wdatmd w3adatmd w3idatmd w3odatmd"
prop=
sourcet="$pdlibcode $pdlibyow $db $bt $setupcode wmmdatmd w3parall w3triamd $stx $nlx $btx $tr $bs $is $uostmd"
sourcet="$pdlibcode $pdlibyow $db $bt $setupcode wmmdatmd w3parall w3triamd $stx $flx $nlx $btx $tr $bs $is $uostmd"
IO='w3iogrmd w3iogomd'
aux="constants w3servmd w3timemd w3arrymd w3dispmd w3gsrumd"
aux="$aux" ;;
Expand All @@ -965,7 +968,7 @@ create_file_list()
core='w3strkmd'
data="$memcode w3gdatmd w3adatmd w3idatmd w3odatmd w3wdatmd"
prop=
sourcet="$pdlibcode $pdlibyow $db $bt $setupcode wmmdatmd w3dispmd w3triamd $ln $stx $nlx $btx $tr $bs $is $uostmd"
sourcet="$pdlibcode $pdlibyow $db $bt $setupcode wmmdatmd w3dispmd w3triamd $ln $stx $flx $nlx $btx $tr $bs $is $uostmd"
IO=
aux="constants w3servmd w3timemd w3arrymd w3gsrumd w3parall" ;;
libww3|libww3.so)
Expand Down
17 changes: 9 additions & 8 deletions model/bin/make_makefile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@


progs="ww3_grid ww3_strt ww3_prep ww3_prnc ww3_shel ww3_multi ww3_sbs1
ww3_outf ww3_outp ww3_trck ww3_trnc ww3_grib gx_outf gx_outp ww3_ounf
ww3_outf ww3_outp ww3_trck ww3_trnc ww3_grib gx_outf gx_outp ww3_ounf
ww3_ounp ww3_gspl ww3_gint ww3_bound ww3_bounc ww3_systrk $tideprog"
progs="$progs ww3_multi_esmf ww3_uprstr"
progs="$progs libww3"
Expand Down Expand Up @@ -220,7 +220,7 @@
done
echo " @cd \$(aPo); ld -o $lib -shared $objs" >> makefile
echo ' ' >> makefile

else
echo ' @$(aPb)/link '"$filesl" >> makefile
echo ' ' >> makefile
Expand Down Expand Up @@ -250,7 +250,7 @@

suffixes="ftn f F f90 F90 c"
fexti=none
ispdlibi=no
ispdlibi=no
for s in $suffixes
do
if [ -f $main_dir/ftn/$file.$s ]
Expand Down Expand Up @@ -285,9 +285,9 @@
string3="$NULL"

if [ "$ispdlibi" = 'yes' ]
then
then
string1='$(aPo)/'$file'.o : PDLIB/'$file.$fexti' '
fi
fi

$main_dir/bin/ad3 $file 0 1 > ad3.out 2>&1

Expand Down Expand Up @@ -351,6 +351,7 @@
'W3FLX2MD' ) modtest=w3flx2md.o ;;
'W3FLX3MD' ) modtest=w3flx3md.o ;;
'W3FLX4MD' ) modtest=w3flx4md.o ;;
'W3FLX5MD' ) modtest=w3flx5md.o ;;
'W3SLN1MD' ) modtest=w3sln1md.o ;;
'W3SRC0MD' ) modtest=w3src0md.o ;;
'W3SRC1MD' ) modtest=w3src1md.o ;;
Expand Down Expand Up @@ -435,7 +436,7 @@
'W3OUNFMETAMD' ) modtest=w3ounfmetamd.o ;;
'W3METAMD' ) modtest=w3metamd.o ;;
'W3GRIDMD' ) modtest=w3gridmd.o ;;
* ) modfound=no ;;
* ) modfound=no ;;
esac

if [ "$modfound" == "yes" ]
Expand Down Expand Up @@ -494,9 +495,9 @@
fi

if [ "$scripnc" = 'SCRIPNC' ]
then
then
scrip_mk=$scrip_dir/SCRIP_NC.mk
else
else
scrip_mk=$scrip_dir/SCRIP.mk
fi
if [ ! -e $scrip_mk ]
Expand Down
24 changes: 12 additions & 12 deletions model/bin/ww3_from_ftp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@ curr_dir=`pwd`
# Set WW3 code version
ww3ver=v7.12.6

#Get top level directory of ww3 from user:
#Get top level directory of ww3 from user:
echo -e "\n\n This script will download data from the ftp for WAVEWATCH III "
echo -e "Enter the relative path to the main/top level directory, this would "
echo -e "be '../../' if in the model/bin directory or '.' if already in the "
echo -e "top/main directory:"
read ww3dir
read ww3dir

#Move to top level directory of ww3:
cd $ww3dir
#Move to top level directory of ww3:
cd $ww3dir

#Download from ftp and uptar:
echo -e "Downloading and untaring file from ftp:"
#Download from ftp and uptar:
echo -e "Downloading and untaring file from ftp:"
wget https://ftp.emc.ncep.noaa.gov/static_files/public/WW3/ww3_from_ftp.${ww3ver}.tar.gz
tar -xvzf ww3_from_ftp.${ww3ver}.tar.gz

#Move regtest info from data_regtests to regtests:
echo -e "Moving data from data_regtests to regtests"
echo -e "Moving data from data_regtests to regtests"
cp -r data_regtests/ww3_tp2.18/input/*.nc regtests/ww3_tp2.18/input/
cp -r data_regtests/ww3_tp2.15/input/wind.nc regtests/ww3_tp2.15/input/
cp -r data_regtests/ww3_tp2.15/input/*.nc regtests/ww3_tp2.15/input_rho/
Expand All @@ -43,7 +43,7 @@ if [ ! -d regtests/ww3_tp2.14/input/oasis3-mct/doc ]
then
mkdir regtests/ww3_tp2.14/input/oasis3-mct/doc
fi
cp -r data_regtests/ww3_tp2.14/input/oasis3-mct/doc/* regtests/ww3_tp2.14/input/oasis3-mct/doc/
cp -r data_regtests/ww3_tp2.14/input/oasis3-mct/doc/* regtests/ww3_tp2.14/input/oasis3-mct/doc/
cp -r data_regtests/ww3_tp2.14/input/toy/*.nc.OAS*CM regtests/ww3_tp2.14/input/toy/
cp -r data_regtests/ww3_tp2.14/input/toy/r-toy.nc.OASACM regtests/ww3_tp2.14/input/toy/r-toy.nc.OASACM2
cp -r data_regtests/ww3_tp2.14/input/toy/toy_coupled_field.nc.OASACM regtests/ww3_tp2.14/input/toy/toy_coupled_field.nc.OASACM2
Expand All @@ -59,15 +59,15 @@ cp -r data_regtests/ww3_ufs1.1/input/*.nc regtests/ww3_ufs1.2/input/
cp -r data_regtests/ww3_ufs1.2/input/* regtests/ww3_ufs1.2/input/
cp -r data_regtests/ww3_ufs1.3/input/*nc regtests/ww3_ufs1.3/input/

#Do you want to clean up (aka delete tar file, delete the data_regtests directory)
#Do you want to clean up (aka delete tar file, delete the data_regtests directory)
echo -e "\n\n Do you want to delete the tar file ww3_from_ftp.${ww3ver}.tar.gz [y|n]: "
read wnew
if [ "${wnew}" = "Y" ] || [ "${wnew}" = "y" ]
then
echo -e '\n Deleting tar file ww3_from_ftp.${ww3ver}.tar.gz'
rm ww3_from_ftp.${ww3ver}.tar.gz
else
echo -e ' Not deleting tar file.'
echo -e ' Not deleting tar file.'
fi

echo -e "\n\n Files were copied from the data_regtests to the regtests folder."
Expand All @@ -78,9 +78,9 @@ then
echo -e '\n Deleting the data_regtests folder'
rm -rf data_regtests
else
echo -e ' Not deleting the data_regtests folder.'
echo -e ' Not deleting the data_regtests folder.'
fi

#move back to original directory:
#move back to original directory:
cd $curr_dir
echo -e "End of ww3_from_ftp.sh"
Loading