Skip to content

Commit

Permalink
Include Grid File Format as Attribute (#968)
Browse files Browse the repository at this point in the history
* Include Grid File Format as Attribute

* moved grid spec attribute declaration

---------

Co-authored-by: Philip Chmielowiec <[email protected]>
  • Loading branch information
rytam2 and philipc2 committed Sep 18, 2024
1 parent 0f7282c commit 2b60860
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions uxarray/grid/grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ def __init__(

# initialize attributes
self._antimeridian_face_indices = None
self._ds.assign_attrs({"source_grid_spec": self.source_grid_spec})

# initialize cached data structures and flags (visualization)
self._gdf = None
Expand Down

0 comments on commit 2b60860

Please sign in to comment.