You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bin/skdaccess
+27-26Lines changed: 27 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -4,39 +4,40 @@ import argparse
4
4
importos
5
5
fromskdaccess.utilitiesimportdata_util
6
6
7
+
defskdaccess_script():
7
8
8
-
parser=argparse.ArgumentParser(description='The Sci-kit Data Access (skdaccess) package is a tool for integrating various scientific data sets into the Python environment using a common interface. This script can download different scientific data sets for offline analysis.')
9
-
parser.add_argument('data_set', help='Name of data set', nargs='?')
10
-
parser.add_argument('-l','--list', dest='list_bool', help='List data sets', action='store_true')
11
-
parser.add_argument('-i','--input', dest='local_data', help='Use LOCAL_DATA that has already been downloaded')
9
+
parser=argparse.ArgumentParser(description='The Sci-kit Data Access (skdaccess) package is a tool for integrating various scientific data sets into the Python environment using a common interface. This script can download different scientific data sets for offline analysis.')
10
+
parser.add_argument('data_set', help='Name of data set', nargs='?')
11
+
parser.add_argument('-l','--list', dest='list_bool', help='List data sets', action='store_true')
12
+
parser.add_argument('-i','--input', dest='local_data', help='Use LOCAL_DATA that has already been downloaded')
12
13
13
-
args=parser.parse_args()
14
+
args=parser.parse_args()
14
15
15
-
ifargs.list_bool:
16
-
print("This utility can install one of the following data sets:")
17
-
print()
18
-
print('\tPBO - Plate Boundary Observatory GPS Time Series ')
19
-
print('\tGRACE - Monthly Mass Grids')
20
-
print('\tGroundwater - Ground water daily values from wells in California')
21
-
parser.exit(1)
16
+
ifargs.list_bool:
17
+
print("This utility can install one of the following data sets:")
18
+
print()
19
+
print('\tPBO - Plate Boundary Observatory GPS Time Series ')
20
+
print('\tGRACE - Monthly Mass Grids')
21
+
print('\tGroundwater - Ground water daily values from wells in California')
0 commit comments