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 in nc_create while calculating SPEI using climpact #109

Open
aatreyee-nath opened this issue Dec 1, 2023 · 1 comment
Open

Error in nc_create while calculating SPEI using climpact #109

aatreyee-nath opened this issue Dec 1, 2023 · 1 comment

Comments

@aatreyee-nath
Copy link

Hello everyone,
I am new to the climpact package. I am trying to use it for the calculating of SPEI with netCDF files. I was able to install and run it for the sample data provided. However when I am trying to work using my own input data the errors were as follows

Error in validObject(.Object) : 
  invalid class “climdexInput” object: 1: Quantiles for tmax are missing.
invalid class “climdexInput” object: 2: Quantiles for tmin are missing.
invalid class “climdexInput” object: 3: Quantiles for prec are missing.

After which I followed this issue and tried to reinstall climdex.pcic. However, my errors are now as follows

Error in R_nc4_create: Permission denied (creation mode was 4096)
Error in ncdf4::nc_create(paste(out.dir, cdx.dat$filename[x], sep = "/"),  : 
  Error in nc_create!

I am not sure whether there is any issue with my input files. I am very new to this package as well as working with NetCDF files. I have attached the input file (tmax_tmin_precip_2000-22.zip) for your reference. I would be grateful for any suggestions.
tmax_tmin_precip_2000-22.zip

Thank you.

@heroldn
Copy link
Contributor

heroldn commented Dec 4, 2023 via email

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