Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error using summary_database() #81

Open
San42 opened this issue Feb 7, 2024 · 1 comment
Open

Error using summary_database() #81

San42 opened this issue Feb 7, 2024 · 1 comment

Comments

@San42
Copy link

San42 commented Feb 7, 2024

Error using summary_database()
Hi, I am trying to use the tool and receiving this warning message while using the summary_database() . I have copied the file in the same directory as the cmip6_index.csv. However, I am getting the following warning message.

In addition: Warning message:
Case(s) shown below does not matche any NetCDF file in the database. Please make sure all needed NetCDF files listed in the file index have been downloaded and placed in the database.
#1 | For case 'CMIP6.ScenarioMIP.AWI.AWI-CM-1-1-MR.ssp245.r1i1p1f1.day.tas.gn.v20190529.tas_day_AWI-CM-1-1-MR_ssp245_r1i1p1f1_gn_20340101-20341231.nc':

#2 | For case 'CMIP6.ScenarioMIP.AWI.AWI-CM-1-1-MR.ssp245.r1i1p1f1.day.tas.gn.v20190529.tas_day_AWI-CM-1-1-MR_ssp245_r1i1p1f1_gn_20350101-20351231.nc':

#3 | For case 'CMIP6.ScenarioMIP.AWI.AWI-CM-1-1-MR.ssp245.r1i1p1f1.day.tas.gn.v20190529.tas_day_AWI-CM-1-1-MR_ssp245_r1i1p1f1_gn_20360101-20361231.nc':

This leads to the following error in the subsequent steps:

coord$coord[, .(file_path, coord)]
Empty data.table (0 rows and 2 cols): file_path,coord
> str(coord$coord$coord[[1]])
Error in coord$coord$coord[[1]] : subscript out of bounds

The name of a sample .nc file :

tas_day_AWI-CM-1-1-MR_ssp126_r1i1p1f1_gn_20350101-20351231

@San42 San42 changed the title Hello, Error using summary_database() Feb 7, 2024
@hongyuanjia
Copy link
Member

This error indicated that those files listed in cmip6_index.csv were not found in the getOption("epwshiftr.dir"). Please check if this is the case. If not, this should be an epwshiftr bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants