Repository navigation
Allow disabling inlining for MultiZarrToZarr - #506
Conversation
|
I think this was already possible with inline_threashold=0 ? |
|
Nope, if We could change this so that we use |
|
That sounds like a good plan |
|
Ok @martindurant, that should take care of it. Now the code should be functionally identical to the previous, except that the file size lookup is skipped when unneeded. In other words, no more |
|
Oh, I'm sorry, I'm on my laptop at the moment and it looks like I forgot to set up pre-commit 🙈 Please feel free to squash this PR. |
|
Hmm, this test failure I can reproduce locally, also from |
|
@Anu-Ra-g , any idea? |
|
Interesting, it seems like something's getting mangled. When I run locally the assert above passes for me, but the subsequent one fails. Note that for me idx_df.iloc[83]
varname wz
typeOfLevel isobaricInhPa
stepType instant
name Geometric vertical velocity
isobaricInhPa 975.0
step 0 days 06:00:00
time 2023-09-28 00:00:00
valid_time 2023-09-28 06:00:00
uri ~/repos/kerchunk/kerchunk/tests/gfs....
offset 21234675
length 1035696
inline_value None
surface NaN
heightAboveGround NaN
meanSea NaN
Name: 83, dtype: object |
The culprit is eccodes v2.38.0. |
|
@maresb I tried to emulate the above steps on my local system. The error is not occurring consistently. Even though the error is occuring, the remaining steps work fine. |
|
Thanks @Anu-Ra-g! May I ask which version of eccodes you are using? |
|
I'm on eccodes version |
|
Since the test failure is unrelated to this PR, I recommend moving discussion to #508. @Anu-Ra-g, to reproduce the failure you need to upgrade to eccodes v2.38.0. |
|
Thanks a lot @martindurant for the merge!!! 🙏 |

I am trying to combine some massive S3-based Zarr references. A
MultiZarrToZarroperation which would otherwise take a minute would take days because the size of each file on S3 is being queried. Thus I want to be able to pass ininline_threshold=Noneso that my datasets combine in a reasonable timeframe.