Skip to content

Commit 51c9e29

Browse files
committed
Remove commented out lines
1 parent a46541f commit 51c9e29

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

tobac/utils/bulk_statistics.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,6 @@ def get_statistics_from_mask(
316316
# get bulk statistics for each timestep
317317
step_statistics = []
318318

319-
# for tt in pd.to_datetime(segmentation_mask.time):
320319
for _, tt, segmentation_mask_t, features_t in field_and_features_over_time(
321320
segmentation_mask,
322321
features,

tobac/utils/internal/xarray_utils.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -396,10 +396,6 @@ def add_coordinates_to_features(
396396
# you can only rename dims alone when operating on datasets, so add our dataarray to a
397397
# dataset
398398
renamed_dim_da = variable_da.swap_dims(dim_new_names)
399-
# interpolated_df = renamed_dim_da.interp(coords=dim_interp_coords)
400-
# interpolated_df = interpolated_df.drop_vars(
401-
# [hdim1_name_new, hdim2_name_new, vdim_name_new], errors="ignore"
402-
# )
403399
return_feat_df[time_dim_name] = variable_da[time_dim_name].values[
404400
return_feat_df["frame"]
405401
]

0 commit comments

Comments
 (0)