Closed lysoifer closed 2 years ago
Hi Lydia, I'm just replying quickly to acknowledge receipt of this issue-- I'm currently working on some other updates to the package and will circle back to this soon. From what you've written it does appear that an nc_close()
may be useful somewhere. Would you mind emailing me the netCDF file(s) represented by my_nc
in your example, so I can try to reproduce your example?
dklinges9@gmail.com
Thanks, Dave
I am trying to extract ERA5 data for a list of coordinates, but when I loop through the list I receive the error "Error in R_nc4_open: Too many open files" after several iterations. I think this error is caused by not closing the nc file somewhere [sneumann/mzR/issues/185]. I tried reinstalling the 'xcms' package as mentioned in the previous thread, but am still receiving the same error. Do you know where the issue might be?
Thanks.