Commit b7565aaa authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Changed format of band names.

parent 07994c02
Pipeline #3173 failed with stages
in 18 minutes and 22 seconds
......@@ -988,7 +988,7 @@ class ReferenceCube_Generator(object):
tgt_im = GeoArray(np.zeros((*im_gA.shape[:2], len(tgt_srf.bands)), dtype=np.int16), im_gA.gt, im_gA.prj)
tgt_im.meta.band_meta['wavelength'] = list(tgt_srf.wvl)
tgt_im.bandnames = tgt_srf.LayerBandsAssignment
tgt_im.bandnames = ['B%s' % i if len(i) == 2 else 'B0%s' % i for i in tgt_srf.LayerBandsAssignment]
tiles = im_gA.tiles((1000, 1000)) # use tiles to save memory
for ((rS, rE), (cS, cE)), tiledata in (tqdm(tiles) if progress else tiles):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment