From 05b4e8479c1289094a234c99078935605071278f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Hern=C3=A1n=20Asorey?= <asoreyh@gmail.com>
Date: Thu, 8 Sep 2022 16:09:59 -0600
Subject: [PATCH] Type for final year casted from str to int

---
 extractor/extractor.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/extractor/extractor.py b/extractor/extractor.py
index c1641be..9ba1a09 100755
--- a/extractor/extractor.py
+++ b/extractor/extractor.py
@@ -53,8 +53,8 @@
 # for now, using instantaneous profiles at local noon and mignight for each site
 # ## Preliminaries
 # required:
+# sudo apt install pip screen vim
 # sudo pip install pytz gspread numpy scipy pandas timezonefinder oauth2client 
-
 from datetime import datetime
 import sys
 import getopt
@@ -118,7 +118,7 @@ def n_index():
 
 def main(argv):
     # Some auxiliary variables
-    gdas_atm_path = '../atm/'
+    gdas_atm_path = './'
     gdas_local_hour = [00, 12]
     gdas_min_height = str(0.)
     gdas_max_height = str(0.)
@@ -173,7 +173,7 @@ def main(argv):
             start_year = int(arg)
             print(f"    year      :  {start_year}")
         elif opt in ("-d", "--end"):
-            end_year = arg
+            end_year = int(arg)
             default_last = False
             print(f"    last year :  {end_year}")
 
-- 
GitLab