ARCCSS-extremes / climpact

Calculate the ET-SCI climate extremes indices
GNU General Public License v3.0
42 stars 29 forks source link

Error in climpact.ncdf.wrapper function: unused arguments executing create.indices.from.files function #119

Open aseemsharma1 opened 1 week ago

aseemsharma1 commented 1 week ago

The climpact.ncdf.wrapper.r function through an error ' unused argument ...' when executed using the provided sample netcdf file. I tested running the same function directly from the package climdex.pcic.ncdfand it works fine and provides the indices however fewer than climpact will do. Here is the error and session info.

climpterror
> version
               _                           
platform       x86_64-pc-linux-gnu         
arch           x86_64                      
os             linux-gnu                   
system         x86_64, linux-gnu           
status                                     
major          4                           
minor          4.1                         
year           2024                        
month          06                          
day            14                          
svn rev        86737                       
language       R                           
version.string R version 4.4.1 (2024-06-14)
nickname       Race for Your Life          
> sessionInfo()
R version 4.4.1 (2024-06-14)
Platform: x86_64-pc-linux-gnu
Running under: Ubuntu 22.04.4 LTS

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.10.0 
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.10.0

locale:
 [1] LC_CTYPE=C.UTF-8       LC_NUMERIC=C           LC_TIME=C.UTF-8        LC_COLLATE=C.UTF-8    
 [5] LC_MONETARY=C.UTF-8    LC_MESSAGES=C.UTF-8    LC_PAPER=C.UTF-8       LC_NAME=C             
 [9] LC_ADDRESS=C           LC_TELEPHONE=C         LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C   

time zone: America/Los_Angeles
tzcode source: system (glibc)

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] climdex.pcic.ncdf_0.5-4 PCICt_0.5-4.4          

loaded via a namespace (and not attached):
[1] compiler_4.4.1      snow_0.4-4          parallel_4.4.1      tools_4.4.1         rstudioapi_0.16.0  
[6] Rcpp_1.0.12         climdex.pcic_1.1-11
>