euroargodev / euroargodev/argopy

Cache = True -> FileNotFoundError

Open
#516 5 comments 0 reactions 0 assignees View on GitHub
bug invalid performance
Dominant language
Python
Stars
229
Forks
52
Avg merge
1d 17h
Merged PRs (30d)
5

Description

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

When using DataFetcher(... cache=True)

#### MCVE Code Sample

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

#### Expected Output

🌐 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: -

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.