[Python] unable to resolve error xcube.store api, open_dataset() got an unexpected keyword...

Discussão em 'Python' iniciado por Stack, Março 28, 2025.

  1. Stack

    Stack Membro Participativo

    I am trying to read copernicumarine data, using xcube store open_dataset(), getting no_metadata_cache error. I am using copernicusmarine python package version 2.0.0 and xcube-cmems 0.1.5.

    store = new_data_store("cmems")
    ds = store.open_data(
    id,
    variable_names=varbs,
    bbox=bbox,
    time_range=(start, end),
    )


    The reason its failing is because copernicusmarine toolbox removed the support of cache in version 2.0.0 onwards copernicusmarine toolbox

    but xcube datastore open_dataset(..) api is still expecting this variable. xcube did fix this in version 0.1.6 xcube-cmems but i can't find this package in conda-forge channel.

    I tried falling back to copernicusmarine version 1.3.5 but that too didnt work. Interestingly if i use wekeolab default environment which uses this version xcube-cmems 0.1.5 works fine.

    can anyone please help or suggestions.

    Thank you.

    Continue reading...

Compartilhe esta Página