Skip to content

Commit

Permalink
#37 I think a change in:
Browse files Browse the repository at this point in the history
    destination_dir = data_filename.parent
necessitated a couple of small changes on my part...plus more familiarity with vscode
  • Loading branch information
rstrub committed Jun 27, 2024
1 parent d111431 commit e66c5e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hermes_eea/calibration/calibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def l0_sci_data_to_cdf(stepper, data: dict, original_filename: Path, destination
try:
# this writes out the data to CDF file format
cdf_path = hermes_eea_factory.hermes_eea_data.save(
str(destination_dir), True
destination_dir, True
)
except Exception as e:
log.error(e)
Expand Down
2 changes: 1 addition & 1 deletion hermes_eea/tests/test_calibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def verify_l1a(stepper, output_l1a):
"""
from hermes_eea.io.EEA import REAL4FILL, EPOCHTIMEFILL, INTFILL
assert os.path.getsize(output_l1a) > 275000
with pycdf.CDF(output_l1a) as cdf:
with pycdf.CDF(str(output_l1a)) as cdf:

# overall structure
length_vars = len(cdf["Epoch"][:])
Expand Down

0 comments on commit e66c5e0

Please sign in to comment.