Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Metadata) - What is currently / what should be in .attrs of zarr pyramids #103

Open
norlandrhagen opened this issue Feb 10, 2022 · 0 comments

Comments

@norlandrhagen
Copy link
Contributor

norlandrhagen commented Feb 10, 2022

What .attrs are currently in output zarr pyramids:

What .attrs do we want in zarr pyarmids:

  • Attrs from carbonplan_data
    • __version__ needs to be overwritten b/c it’s from carbonplan_data
  • each data (tmin, tmax, prec) variable needs to have:
    • units
    • long_name
    • standard_name
  • coords
 lat:long_name = "latitude" ;
 lat:units = "degrees_north" ;
 lat:standard_name = "latitude" ;
double time(time) ;
  time:long_name = "time" ;
  time:units = "days since 1990-1-1 0:0:0" ;
  • Write a function that takes a dataset and returns a dataset with attrs add_metadata()
  • ideally all intermediate datasets have attrs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant