Skip to content

Commit

Permalink
Fix to save proper band name
Browse files Browse the repository at this point in the history
  • Loading branch information
azvoleff committed Sep 18, 2021
1 parent 9b05519 commit 606216b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions LDMP/localexecution/ldn.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ def compute_ldn(
activated=True
)
ldn_job.results.bands.append(sdg_prod_band)
sdg_df.bands.append(sdg_band)
sdg_df.bands.append(DataFile(sdg_path, [sdg_prod_band]))

reproj_df = _combine_data_files(reproj_path, in_dfs)

Expand Down Expand Up @@ -1341,9 +1341,6 @@ def work(self):
# Width of cells in latitude
pixel_height = src_gt[5]

xt = None
# Minus 1 as first band is degradation, not an annual layer

# pr = cProfile.Profile()
# pr.enable()
with ThreadPoolExecutor(max_workers=4) as executor:
Expand Down

0 comments on commit 606216b

Please sign in to comment.