Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Cache = True -> FileNotFoundErrorΒ #516

@brspencer90

Description

@brspencer90

FileNotFoundError: https://data-argo.ifremer.fr/ar_index_global_prof.txt.gz/local.pq

When using DataFetcher(... cache=True)

MCVE Code Sample

DataFetcher(
        parallel=True,
        src='gdac',
        cache=True
        ).float(4903240)

Expected Output

<datafetcher.gdac>
🌐 Name: Ifremer GDAC Argo data fetcher for floats
πŸ€– Domain: WMO4903240
πŸ”— API: https://data-argo.ifremer.fr
πŸ“— Index: ar_index_global_prof.txt.gz (3206479 records)
πŸ“· Index searched: False
🏊 User mode: standard
🟑+πŸ”΅ Dataset: phy
🌀 Performances: cache=False, parallel=True [thread]

Problem Description

Code was working until recently, was able to isolate issue to the cache setting when i started to have issues.

Versions

Output of `argopy.show_versions()`

SYSTEM

commit: None
python: 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [MSC v.1929 64 bit (AMD64)]
python-bits: 64
OS: Windows
OS-release: 10
machine: AMD64
processor: Intel64 Family 6 Model 154 Stepping 3, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
LOCALE: English_United States.1252
libhdf5: 1.14.4
libnetcdf: 4.9.2

INSTALLED VERSIONS: CORE

aiohttp : 3.12.15
argopy : 1.0.0
decorator : 5.1.1
erddapy : 2.2.0
fsspec : 2025.7.0
netCDF4 : 1.7.2
packaging : 24.0
requests : 2.31.0
scipy : 1.12.0
toolz : 1.0.0
xarray : 2024.2.0

INSTALLED VERSIONS: EXT.UTIL

boto3 : -
gsw : -
s3fs : -
tqdm : -
zarr : -

INSTALLED VERSIONS: EXT.PERF

dask : -
distributed : -
h5netcdf : -
pyarrow : 15.0.0

INSTALLED VERSIONS: EXT.PLOT

IPython : 8.18.1
cartopy : 0.23.0
ipykernel : 6.29.4
ipywidgets : 8.1.5
matplotlib : 3.9.2
pyproj : 3.6.1
seaborn : 0.13.2

INSTALLED VERSIONS: DEV

aiofiles : -
black : -
bottleneck : -
cfgrib : -
cftime : 1.6.4.post1
codespell : -
flake8 : -
numpy : 1.26.4
pandas : 2.2.0
pip : 24.0
pytest : -
pytest_cov : -
pytest_env : -
pytest_localftpserver: -
setuptools : 58.1.0
sphinx : -

INSTALLED VERSIONS: PIP

pytest-reportlog: -

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinginvalidThis doesn't seem rightperformanceShould make argopy faster or better designed

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions