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
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
icesat2waves make-iowaga-threads-prior --help
icesat2waves make-b04-angle --help # prelim name
icesat2waves define-angle --help
icesat2waves correct-separate --help # prelim name

- name: first step B01_SL_load_single_file
run: load-file --track-name 20190502052058_05180312_005_01 --batch-key SH_testSLsinglefile2 --output-dir ./work
Expand All @@ -45,4 +46,5 @@ jobs:
run: make-b04-angle --track-name SH_20190502_05180312 --batch-key SH_testSLsinglefile2 --output-dir ./work
- name: sixth step B04_define_angle
run: define-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 @@ -171,6 +171,7 @@ 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"
define-angle = "icesat2_tracks.analysis_db.B05_define_angle:define_angle_app"
correct-separate = "icesat2_tracks.analysis_db.B06_correct_separate_var:correct_separate_app"
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