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/6269#issuecomment-1036719578,https://api.github.com/repos/pydata/xarray/issues/6269,1036719578,IC_kwDOAMm_X849yxXa,2443309,2022-02-11T22:58:12Z,2022-02-11T22:58:12Z,MEMBER,"> To be fair, ds.info is not 100% CDL, but it's darn close. I think making `ds.info` CDL compliant would be a great feature addition. > ### Describe alternatives you've considered > Some kind of schema object that can be used to validate or generate an xarray Dataset, but does not contain any data. You may be interested in [xarray-schema](https://github.com/carbonplan/xarray-schema) then. We're actively working on / using this project and would be more than happy to think about how a cdl-like schema fits in there.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1132894350 https://github.com/pydata/xarray/issues/6269#issuecomment-1036514917,https://api.github.com/repos/pydata/xarray/issues/6269,1036514917,IC_kwDOAMm_X849x_Zl,5821660,2022-02-11T18:50:34Z,2022-02-11T18:50:34Z,MEMBER,"> 2. creates CDL using ds.info(). Great, this somehow went past me. ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1132894350 https://github.com/pydata/xarray/issues/6269#issuecomment-1036505143,https://api.github.com/repos/pydata/xarray/issues/6269,1036505143,IC_kwDOAMm_X849x9A3,2448579,2022-02-11T18:37:25Z,2022-02-11T18:37:25Z,MEMBER,"@nbren12 See https://docs.xarray.dev/en/stable/internals/how-to-add-new-backend.html for adding a new backend. That way we could have ``` xr.open_dataset('schema.cdl', engine=""cdl"") ```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1132894350 https://github.com/pydata/xarray/issues/6269#issuecomment-1036458613,https://api.github.com/repos/pydata/xarray/issues/6269,1036458613,IC_kwDOAMm_X849xxp1,5821660,2022-02-11T17:45:47Z,2022-02-11T17:46:04Z,MEMBER,@nbren12 The other way round would be useful too. Aren't there xarray extension packages around where this would fit into?,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1132894350