-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Despite using NetCDF.jl v0.11 I just got this error
NetCDF error code 24:
Too many open files
Stacktrace:
[1] check at /home/kloewer/.julia/packages/NetCDF/2DiO1/src/netcdf_helpers.jl:22 [inlined]
[2] nc_open(::String, ::UInt16, ::Array{Int32,1}) at /home/kloewer/.julia/packages/NetCDF/2DiO1/src/netcdf_c.jl:234
[3] nc_open at /home/kloewer/.julia/packages/NetCDF/2DiO1/src/netcdf_helpers.jl:103 [inlined]
[4] open(::String; mode::UInt16, readdimvar::Bool, add_finalizer::Bool) at /home/kloewer/.julia/packages/NetCDF/2DiO1/src/NetCDF.jl:911
[5] open(::String) at /home/kloewer/.julia/packages/NetCDF/2DiO1/src/NetCDF.jl:911while looping over several hundreds of those
ncfile = NetCDF.open(joinpath(path,"member$ie","ensemble.t.member$ie.step$s.ll.nc"))
t[ie,it] = ncfile.vars["t"][x0,y0,1]How can there be too many open files when NetCDF.close is deprecated?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels