Skip to content

Commit

Permalink
build metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
dougbrn committed Nov 14, 2023
1 parent aa2021b commit ecc6e03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tape/ensemble.py
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ def calc_nobs(self, by_band=False, label="nobs", temporary=True):

# Get the band metadata
unq_bands = np.unique(self._source[band_col])
meta = {f"{band}": float for band in unq_bands}
meta = {band: float for band in unq_bands}

# Map the groupby to each partition
band_counts = self._source.map_partitions(
Expand Down

0 comments on commit ecc6e03

Please sign in to comment.