documentation in metadata
See original GitHub issueCan we document what we do in the nc attrs?
when we save skill
to skill.nc
, we could add the way how we calculated the skill in the nc attributes. To be seen in a terminal with ncdump -h
similar: https://github.com/NCAR/esmlab/blob/master/esmlab/utils/_variables.py
def get_original_attrs(x):
attrs = x.attrs.copy()
encoding = x.encoding
if "_FillValue" not in encoding:
encoding["_FillValue"] = None
return attrs, encoding
def update_attrs(x, original_attrs, original_encoding):
for att in ["grid_loc", "coordinates"]:
if att in original_attrs:
del original_attrs[att]
x.attrs = original_attrs
x.encoding = {
key: val
for key, val in original_encoding.items()
if key in ["_FillValue", "dtype"]
}
return x
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (1 by maintainers)
Top Results From Across the Web
Documentation & metadata | Data management - MIT Libraries
Data documentation, also known as metadata, helps you understand your data in detail, and also helps other researchers find, use, and properly cite...
Read more >Data Documentation and Metadata | Data Cooperative
Metadata explains the origin, purpose, time, geographic location, creator, access, and terms of use of the data. Information in the metadata is used...
Read more >Metadata and Documentation - Axiom Data Science
Metadata describes information about a dataset to ensure that it can be understood and re-used properly in the future. Content of the metadata...
Read more >Documentation & Metadata - Data Management Planning
Data documentation (also known as metadata) enables you understand your data in detail and will enable other researchers to find, ...
Read more >Documentation & Metadata - Research Data Management
Metadata is the information that describes and documents research data. Metadata will make your datasets searchable in an archive or ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
we can make the URL persist, when we dont change. and a broken link to an existing package is I think better than non.
optional: when bootstrapped results sig number of bootstrap