html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue
https://github.com/pydata/xarray/issues/3348#issuecomment-750929476,https://api.github.com/repos/pydata/xarray/issues/3348,750929476,MDEyOklzc3VlQ29tbWVudDc1MDkyOTQ3Ng==,32801740,2020-12-24T17:12:15Z,2020-12-24T17:12:15Z,CONTRIBUTOR,"``Dataset.astype()`` preserves attributes by default since xarray 0.16.1 with #4314. Running the scripts above with 0.16.2 I get the output below, which confirms attributes are now preserved. Can this issue be closed?
**Output 1**
```
Dimensions: (location: 3, time: 731)
Coordinates:
* time (time) datetime64[ns] 2000-01-01 2000-01-02 ... 2001-12-31
* location (location)