Skip to content

Commit

Permalink
Fixup attrs
Browse files Browse the repository at this point in the history
  • Loading branch information
ghidalgo3 committed Aug 22, 2024
1 parent f078c9b commit dd1c43c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ __pycache__
htmlcov
dist
.direnv
.venv
2 changes: 2 additions & 0 deletions xstac/_xstac.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,8 @@ def xarray_to_stac(
**additional_dimensions:
A dictionary with keys ``extent``, ``values``, ``step``.
"""
ds = fix_attrs(ds)

temporal_dimension = maybe_use_cf_standard_axis(
temporal_dimension, "temporal_dimension", ds
)
Expand Down

0 comments on commit dd1c43c

Please sign in to comment.