Skip to content

Commit

Permalink
preserve get_brdf_data call signature
Browse files Browse the repository at this point in the history
  • Loading branch information
uchchwhash committed Jul 21, 2023
1 parent 0e24024 commit b301bfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion wagl/ancillary.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ def collect_nbar_ancillary(
for acq in container.get_acquisitions(group=group):
if acq.band_type is not BandType.REFLECTIVE:
continue
data = get_brdf_data(acq, brdf_dict, compression)
data = get_brdf_data(acq, brdf_dict, compression=compression)

# output
for param in data:
Expand Down
2 changes: 1 addition & 1 deletion wagl/brdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -555,9 +555,9 @@ def assert_exists(path):
def get_brdf_data(
acquisition,
brdf_config,
mode=None,
compression=H5CompressionFilter.LZF,
filter_opts=None,
mode=None,
):
"""
Calculates the mean BRDF value for the given acquisition,
Expand Down

0 comments on commit b301bfe

Please sign in to comment.