Skip to content

Commit

Permalink
fix(harmonizer)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasK committed Dec 6, 2023
1 parent 8e766f2 commit 4f96ac7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions earthdaily/earthdatastore/cube_utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,5 @@ def apply_cross_calibration_to_asset(functions, asset, band_name):
return asset * functions[0]["scale"] + functions[0]["offset"]
else:
# Multiple functions
x = asset[band_name]
xr_where_string = define_functions_from_xcal_item(functions)
asset[band_name] = eval(xr_where_string)
asset[band_name] = define_functions_from_xcal_item(functions,asset[band_name])
return asset

0 comments on commit 4f96ac7

Please sign in to comment.