In the release notes it says we can invoke previous versions of intake that uses the file_id option , as in intake.cat.access_nri(version="v2025-07-30")
However, when I try that, I get the following error:
version=v2025-07-30 is less than v2026-01-16
Is this option still valid?
___
why am I trying to do this?
I have a student that is trying to use NCI intake to import OM2-IAF daily SIC.
But this takes a very long time for just 2d variables (Almost 10 mins), because .to_dataset_dict() is accessing two keys and later on extracting the one we want. the two keys are: ['seaIce.1day.d2:2.nc:5.ni:3600.nj:2700.mean', 'seaIce.1day.d2:2.nc:5.ni:3600.nj:2700.nkice:4.mean']
so I wanted to reduce that by making the code access right away just the file_ID we want
clairecarouge
(Claire Carouge, ACCESS-NRI Land Modelling Team Lead)
2
Hi @Wilton_Aguiar. We might have to wait until @CharlesTurner is back from leave to answer your question about using old versions. But I can help with accessing the data you want using the latest version.
The reason this takes so long is because these data include the 2D grid coordinates TLON, TLAT, ULON, ULAT in every single file. With its default arguments, xarray works hard to check that these coordinates are compatible at every time. This has come up a few times before, e.g. in the context of the cosima cookbook here.
You can pass some additional arguments when you open the data to tell xarray not to do these checks. This will speed things up:
@Wilton_Aguiar if you’re happy with my response as a solution to this topic could you please mark it as “the solution” by clicking the little tick at the bottom of the post?
I think the version stuff is related to our updates that wrap the catalog in different object to let people alias common CMIP names. I’ll take a look into it.
Just a heads up that using previous versions of the catalog has somewhat limited utility, as they still have to refer to the same underlying files on disk. Typically this means using an older catalog is more likely to give you stale file handles which were updated in a newer version.