@@ -17,9 +17,9 @@ def parse_arguments_joinl3(debug_args=None):
17
17
parser .add_argument ('-s' , '--site' , default = None , type = str , required = False ,
18
18
help = 'Name of site to process (default: all sites are processed)' )
19
19
20
- parser .add_argument ('-p ' , '--folder_l2 ' , type = str , required = True ,
21
- help = 'Path to level 2 folder' )
22
- parser .add_argument ('-g ' , '--folder_gcnet' , type = str , required = False ,
20
+ parser .add_argument ('-l3 ' , '--folder_l3 ' , type = str , required = True ,
21
+ help = 'Path to level 3 folder' )
22
+ parser .add_argument ('-gc ' , '--folder_gcnet' , type = str , required = False ,
23
23
help = 'Path to GC-Net historical L1 folder' )
24
24
25
25
parser .add_argument ('-o' , '--outpath' , default = os .getcwd (), type = str , required = True ,
@@ -167,9 +167,14 @@ def join_l3():
167
167
168
168
config_file = os .path .join (args .config_folder , args .site + '.toml' )
169
169
conf = toml .load (config_file )
170
+
171
+ if not site :
172
+ site_list = conf ['list_station_id' ]
173
+ else :
174
+ site_list = site
170
175
171
176
l3m = xr .Dataset ()
172
- for stid in conf [ 'list_station_id' ] :
177
+ for stid in site_list :
173
178
print (stid )
174
179
175
180
is_promice = False
0 commit comments