Skip to content

Commit

Permalink
reformatting done.
Browse files Browse the repository at this point in the history
  • Loading branch information
dabhicusp committed Nov 1, 2023
1 parent e7c99ad commit f82f65f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xee/ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,9 @@ def _get_primary_coordinates(self) -> list[Any]:
)
if self.primary_dim_property in ['system:time_start', 'system:time_end']:
# Convert elements in primary_dim_list to np.datetime64
primary_coords = [pd.to_datetime(time, unit='ms') for time in primary_coords]
primary_coords = [
pd.to_datetime(time, unit='ms') for time in primary_coords
]
return primary_coords

def get_variables(self) -> utils.Frozen[str, xarray.Variable]:
Expand Down

0 comments on commit f82f65f

Please sign in to comment.