Skip to content

Commit f83cbf5

Browse files
author
Menlo Innovations - CAVA Project
committed
Harrison 2381 - PMCL/TLAY - Rename files to match date of the contents.
1 parent 5d80cf0 commit f83cbf5

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

run_local.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -289,9 +289,9 @@ def create_hit_direct_event_cdf():
289289

290290
if "swe_pitch_angels" in sys.argv:
291291
dependencies = SweL3Dependencies.from_file_paths(
292-
get_test_data_path("swe/imap_swe_l2_sci-with-ace-data_19990609_v002.cdf"),
293-
get_test_data_path("swe/imap_mag_l1d_mago-normal_19990609_v001.cdf"),
294-
get_test_data_path("swe/imap_swapi_l3a_proton-sw_19990609_v001.cdf"),
292+
get_test_data_path("swe/imap_swe_l2_sci-with-ace-data_19990906_v002.cdf"),
293+
get_test_data_path("swe/imap_mag_l1d_mago-normal_19990906_v001.cdf"),
294+
get_test_data_path("swe/imap_swapi_l3a_proton-sw_19990906_v001.cdf"),
295295
get_test_data_path("swe/example_swe_config.json"),
296296
)
297297
print(create_swe_pitch_angle_cdf(dependencies))

scripts/swe/create_fake_l2_cdf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ def replace_variable(cdf: CDF, variable_name: str, new_values: np.ndarray):
9494
l1_hdf_path = path.parent.parent.parent / "instrument_team_data/swe/ACE_LV1_1999-159.swepam.hdf"
9595
l2_hdf_path = path.parent.parent.parent / "instrument_team_data/swe/swepam-nswe-1999-159.v1-02.hdf"
9696

97-
l2_swe_cdf_file_path = path.parent.parent.parent / "tests" / "test_data" / "swe" / "imap_swe_l2_sci-with-ace-data_19990609_v002.cdf"
98-
mag_file_path = path.parent.parent.parent / "tests" / "test_data" / "swe" / "imap_mag_l1d_mago-normal_19990609_v001.cdf"
99-
swapi_file_path = path.parent.parent.parent / "tests" / "test_data" / "swe" / "imap_swapi_l3a_proton-sw_19990609_v001.cdf"
97+
l2_swe_cdf_file_path = path.parent.parent.parent / "tests" / "test_data" / "swe" / "imap_swe_l2_sci-with-ace-data_19990906_v002.cdf"
98+
mag_file_path = path.parent.parent.parent / "tests" / "test_data" / "swe" / "imap_mag_l1d_mago-normal_19990906_v001.cdf"
99+
swapi_file_path = path.parent.parent.parent / "tests" / "test_data" / "swe" / "imap_swapi_l3a_proton-sw_19990906_v001.cdf"
100100

101101
mag_file_path.unlink(missing_ok=True)
102102
swapi_file_path.unlink(missing_ok=True)

tests/test_data/swe/imap_mag_l1d_mago-normal_19990609_v001.cdf renamed to tests/test_data/swe/imap_mag_l1d_mago-normal_19990906_v001.cdf

File renamed without changes.

tests/test_data/swe/imap_swapi_l3a_proton-sw_19990609_v001.cdf renamed to tests/test_data/swe/imap_swapi_l3a_proton-sw_19990906_v001.cdf

File renamed without changes.

tests/test_data/swe/imap_swe_l2_sci-with-ace-data_19990609_v002.cdf renamed to tests/test_data/swe/imap_swe_l2_sci-with-ace-data_19990906_v002.cdf

File renamed without changes.

0 commit comments

Comments
 (0)