Skip to content

Commit

Permalink
Small bug in distribute 2d
Browse files Browse the repository at this point in the history
  • Loading branch information
fmaussion committed Jun 9, 2023
1 parent f8a1745 commit 9496862
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oggm/sandbox/distribute_2d.py
Expand Up @@ -245,7 +245,7 @@ def distribute_thickness_from_simulation(gdir, input_filesuffix='',
band_ids, counts = np.unique(np.sort(band_index_mask[glacier_mask]), return_counts=True)

dx2 = gdir.grid.dx**2
out_thick = np.empty((len(dg.time), *glacier_mask.shape))
out_thick = np.zeros((len(dg.time), *glacier_mask.shape))
for i, yr in enumerate(dg.time):

dgy = dg.sel(time=yr)
Expand Down

0 comments on commit 9496862

Please sign in to comment.