ref dataset ingest
fails if a file has no "branch_time_in_child" global NetCDF attribute
#38
Labels
bug
Something isn't working
Describe the bug
ref dataset ingest
fails if a file has no "branch_time_in_child" global NetCDF attributeFailing Test
Run
ref --log-level INFO datasets ingest --n-jobs 20 --source-type cmip6 ~/climate_data/CMIP6/
on the file
/home/bandela/climate_data/CMIP6/CMIP/EC-Earth-Consortium/EC-Earth3/historical/r101i1p1f1/Amon/tas/gr/v20200412/tas_Amon_EC-Earth3_historical_r101i1p1f1_gr_199001-199012.nc
.This results in the following error message:
The contents of the file look like this
Expected behavior
I would expect the tool to gracefully handle this.
Screenshots
None
System
uv.lock
file (first runuv lock
to make sure the lock file is up-to-date)ref package installed at commit 80ce4a3
Linux, Python 3.11
Additional context
None
The text was updated successfully, but these errors were encountered: