-
I'm trying to use Virtualizarr to create references from multiple NetCDF files where each file's time variable has a unique units attribute. To successfully build a virtual dataset that concatenates these files along the time dimension, I think I need to embed the decoded datetime values directly into the references, as a single dataset can only support one time unit, right? If I were using Kerchunk, in MultiZarrToZarr I would specify:
but I don't know how to do this in Virtualzarr. I could simply hard code in the time values, but this seems heavy-handed. What is the best way to handle this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
See #669 (comment) for the best approach |
Beta Was this translation helpful? Give feedback.
-
I'm wondering whether I might be able to avoid using It seems this might load the time values for each dataset as DateTime objects, which would be great. But when I execute this:
it just seems to hang (e.g. produces no errors, but never completes execution) |
Beta Was this translation helpful? Give feedback.
Ugh, I had the loadable_variables as a dict, not a list. This works!