Skip to content

Commit

Permalink
ignoring skeleton test
Browse files Browse the repository at this point in the history
  • Loading branch information
rstrub committed Jan 8, 2024
1 parent 4eb642d commit 05a6733
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions hermes_eea/calibration/calibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,14 +199,17 @@ def l0_sci_data_to_cdf(data: dict, original_filename: Path, destination_dir: Pat
f'1.0.{file_metadata["version"]}',
)
if not cdf_filename.is_file():
cdf = pycdf.CDF(
str(cdf_filename),
os.path.join(
try:
cdf = pycdf.CDF(
str(cdf_filename),
os.path.join(
hermes_eea._data_directory,
"masterSkeletons/hermes_eea_l1_00000000000000_v0.0.0.cdf",
),
)
cdf.close()
),
)
cdf.close()
except FileNotFoundError:
pass
if data:
#cdf = pycdf.CDF(str(cdf_filename))
#cdf.readonly(False)
Expand Down Expand Up @@ -318,4 +321,4 @@ def retrieve_canned_attributes():
]
}

return input_attrs
return input_attrs

0 comments on commit 05a6733

Please sign in to comment.