Skip to content

Commit

Permalink
renamed join_levels to join_l2 because join_l3 will have different me…
Browse files Browse the repository at this point in the history
…rging function, attribute management and use site_id and list_station_id
  • Loading branch information
BaptisteVandecrux committed Jun 12, 2024
1 parent fdb6b02 commit 3bd0435
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
'console_scripts': [
'get_promice_data = pypromice.get.get_promice_data:get_promice_data',
'get_l0tx = pypromice.tx.get_l0tx:get_l0tx',
'join_levels = pypromice.process.join_levels:join_levels',
'join_l2 = pypromice.process.join_levels:join_l2',
'get_l2 = pypromice.process.get_l2:get_l2',
'get_l3 = pypromice.process.get_l3:get_l3',
'get_l2tol3 = pypromice.process.get_l2tol3:get_l2tol3',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def parse_arguments_join():
return args

def loadArr(infile):
print(infile)
if infile.split('.')[-1].lower() == 'csv':
df = pd.read_csv(infile, index_col=0, parse_dates=True)
ds = xr.Dataset.from_dataframe(df)
Expand Down Expand Up @@ -97,8 +96,7 @@ def join_levels():

# Resample to hourly, daily and monthly datasets and write to file
prepare_and_write(all_ds, args.outpath, v, m, '60min')
# prepare_and_write(all_ds, out, v, m, '1D')
# prepare_and_write(all_ds, out, v, m, 'M')

print(f'Files saved to {os.path.join(args.outpath, name)}...')

if __name__ == "__main__":
Expand Down

0 comments on commit 3bd0435

Please sign in to comment.