From ae33b0bdfd281ee06c418778a948c57f698c60e7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Hern=C3=A1n=20Asorey?= <asoreyh@gmail.com>
Date: Thu, 25 Aug 2022 11:33:05 +0200
Subject: [PATCH] Minor typo in extractor. New script to download averaged
 atmospheric profiles from github

---
 extractor/get_atm_from_repo.sh | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/extractor/get_atm_from_repo.sh b/extractor/get_atm_from_repo.sh
index f09c812..7f6fbba 100755
--- a/extractor/get_atm_from_repo.sh
+++ b/extractor/get_atm_from_repo.sh
@@ -66,10 +66,10 @@ for m in $(seq -w 1 12); do
 		echo "Failed to retrieve $file"
 	fi
 done
-	if [ "$n" -eq 12 ]; then
-		echo "Success retrieving site:${site} for year:$year"
-	else
-		echo "Failed to retrieve some files. $n files extracted"
-		echo "Perhaps files does not be already produced. Please check at https://github.com/lagoproject/atmospheres/"
-		exit 99
-	fi
+if [ "$n" -eq 12 ]; then
+	echo "Success retrieving site:${site} for year:$year"
+else
+	echo "Failed to retrieve some files. $n files extracted"
+	echo "Perhaps files does not be already produced. Please check at https://github.com/lagoproject/atmospheres/"
+	exit 99
+fi
-- 
GitLab