Skip to content

Commit

Permalink
updates to speed up choppyzs
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Grant committed Aug 23, 2021
1 parent 5d93d61 commit a5f1732
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/choppyzs/netcdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ def chop(self, time_var='time', value_var='scpdsi'):
sd = pd.DataFrame.from_dict(stats_data)
df = pd.DataFrame(self.shape_df)
dat = pd.concat([df, sd], axis=1)
logging.info(f'{nc_time.values}')
dat['time'] = nc_time.values
logging.info(f'{nc_time}')
dat['time'] = nc_time
if self.geometry is False:
dat.drop(columns='geometry', inplace=True, errors='ignore')
self.df_list.append(dat)
Expand Down

0 comments on commit a5f1732

Please sign in to comment.