Replies: 1 comment 2 replies
-
|
Thanks for starting this @jbusecke ! I agree with that top level idea you mention where the user never has to know there is an icechunk vs kerchunk (unless they want to). So your proposed One thing I'd like to discuss is whether that top level function should return stores rather than So I guess in the way I've proposed, the top level use case would be or replace that last line with whatever package. Another reason I like the earthaccess side of things to return a store or url is that it parallels the netCDF use case. E.g. earthaccess is used to find granule metadata or create file-like objects that get passed into Xarray, but doesn't do the job of actually opening and returning an Xarray.Dataset itself. Whether intentional or not, I like that earthaccess has set themselves up in this way, so they could be used easily with more packages than just Xarray. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have been virtualizing several NASA datasets recently (see here, here, and here) with one of them (NLDAS) now existing fully (virtual icechunk store + target chunks in nc files) on the NASA waterinsight bucket.
As discussed in #956 (comment) and with several other folks on slack etc. manually providing the virtual container credentials is a major friction point. In the specific scope of NASA data and earthaccess we can entirely abstract that complexity away from the user!
I want to use this issue to discuss implementation details and make sure that any PR I am opening is aligned with efforts of others like @DeanHenze (see https://github.com/nsidc/earthaccess/pull/964/files).
Scope
This feature will exclusively focus on the ability to open an existing virtual icechunk store including the authentication. For now I would develop something along the lines of
This should work for both native icechunk stores and virtual ones
Under the hood this will have to do several things:
Questions
I ll outline some questions I immediately have here, and will add as things go along.
earthaccess.open_virtual()(with either options or keywords to open both kerchunk + icechunk virtual stores? @DeanHenze, can we coordinate to have the same functional signature forearthaccess.open_virtual_icechunkand a potentialearthaccess.open_kerchunk? Then.open_virtualcould easily dispatch one of them.Very keen to hear comments, feedback, concerns from the earthaccess community before diving into this!
Beta Was this translation helpful? Give feedback.
All reactions