diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000000..ae733f3f28 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,12 @@ +cmake_minimum_required(VERSION 3.12) +project (WW3) + +execute_process ( + COMMAND sh ${CMAKE_SOURCE_DIR}/model/bin/ww3_from_ftp.sh +) +execute_process ( + COMMAND sh ${CMAKE_SOURCE_DIR}/model/bin/w3_setup ${CMAKE_SOURCE_DIR}/model -c intel -s NCEP_st4 +) + +execute_process(COMMAND ${CMAKE_SOURCE_DIR}/model/bin/w3_automake) + diff --git a/model/bin/ww3_from_ftp.sh b/model/bin/ww3_from_ftp.sh index 6630a5c977..5723b53d87 100755 --- a/model/bin/ww3_from_ftp.sh +++ b/model/bin/ww3_from_ftp.sh @@ -23,7 +23,7 @@ wget ftp://polar.ncep.noaa.gov/tempor/ww3ftp/ww3_from_ftp.v6.07.tar.gz tar -xvzf ww3_from_ftp.v6.07.tar.gz #Move regtest info from data_regtests to regtests: -echo -e "Moving data from data_regtests to regtets" +echo -e "Moving data from data_regtests to regtests" cp -r data_regtests/ww3_tp2.15/input/*.nc regtests/ww3_tp2.15/input/ cp -r data_regtests/ww3_tp2.13/*.png regtests/ww3_tp2.13/ cp -r data_regtests/ww3_tic1.4/input/*.nc regtests/ww3_tic1.4/input/ @@ -53,7 +53,7 @@ else echo -e ' Not deleting tar file.' fi -echo -e "\n\n Files were copied from the data_regtests to the regtets folder." +echo -e "\n\n Files were copied from the data_regtests to the regstets folder." echo -e "Do you want to delete the data_regtests folder? [y|n]: " read wnew2 if [ "${wnew2}" = "Y" ] || [ "${wnew2}" = "y" ]