Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop more variables from Vector wave-burst file #270

Merged
merged 1 commit into from
Nov 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions stglib/vec/nc2waves.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,29 @@ def nc_to_waves(nc_filename):

for k in [
"burst",
"brange",
"sample",
"u_1205",
"v_1206",
"w_1204",
"vel1_1277",
"vel2_1278",
"vel3_1279",
"vel",
"vrange",
"amp",
"AGC_1202",
"AGC1_1221",
"AGC2_1222",
"AGC3_1223",
"SNR1",
"SNR2",
"SNR3",
"snr",
"cor1_1285",
"cor2_1286",
"cor3_1287",
"cor",
"AnalogInput1",
"AnalogInput2",
"Hdg_1215",
Expand All @@ -55,6 +62,8 @@ def nc_to_waves(nc_filename):
"Bat_106",
"Tx_1211",
"SV_80",
"orientation",
"orientmat",
]:
if k in ds:
ds = ds.drop(k)
Expand Down
Loading