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

Cli step 7 b06 correct #113

Merged
merged 9 commits into from
Feb 16, 2024
Merged
4 changes: 3 additions & 1 deletion .github/workflows/test-B01_SL_load_single_file.yml
kmilo9999 marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,6 @@ jobs:
run: make-iowaga-threads-prior --track-name SH_20190502_05180312 --batch-key SH_testSLsinglefile2 --output-dir ./work
- name: fifth step B04_angle
run: make-b04-angle --track-name SH_20190502_05180312 --batch-key SH_testSLsinglefile2 --output-dir ./work

- name: Seventh step B06_correct_separate
run: correct-separate --track-name SH_20190502_05180312 --batch-key SH_testSLsinglefile2 --output-dir ./work

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ make-spectra = "icesat2_tracks.analysis_db.B02_make_spectra_gFT:make_spectra_app
plot-spectra = "icesat2_tracks.analysis_db.B03_plot_spectra_ov:plot_spectra"
make-iowaga-threads-prior = "icesat2_tracks.analysis_db.A02c_IOWAGA_thredds_prior:make_iowaga_threads_prior_app"
make-b04-angle = "icesat2_tracks.analysis_db.B04_angle:make_b04_angle_app"
correct-separate= "icesat2_tracks.analysis_db.B06_correct_separate_var:corrected_separate_app"
kmilo9999 marked this conversation as resolved.
Show resolved Hide resolved
icesat2waves = "icesat2_tracks.app:app"


Expand Down
33 changes: 17 additions & 16 deletions src/icesat2_tracks/analysis_db/B04_angle.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,23 +63,24 @@ def run_B04_angle(

col_dict = color_schemes.rels

with suppress_stdout(verbose):
track_name, batch_key, test_flag = io.init_from_input(
[
None,
track_name,
batch_key,
ID_flag,
]
)
track_name, batch_key, test_flag = io.init_from_input(
[
None,
track_name,
batch_key,
ID_flag,
]
)

kargs = {
"track_name": track_name,
"batch_key": batch_key,
"ID_flag": ID_flag,
"output_dir": output_dir,
}
report_input_parameters(**kargs)
kargs = {
"track_name": track_name,
"batch_key": batch_key,
"ID_flag": ID_flag,
"output_dir": output_dir,
}
report_input_parameters(**kargs)

with suppress_stdout(verbose):

hemis, batch = batch_key.split("_")

Expand Down
Loading
Loading