Project

General

Profile

Bug #1145

'too many open files' error

Added by Maarten Sneep almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
-
Start date:
02/21/2017
Due date:
% Done:

0%


Description

When working with many files in PyCAMA an error may occur:

'Unable to open file (Unable to open file: name = 'g2a_offl_l2__omicld_20100915t055740_20100915t073904_20267_02_001102_20170214t193130_clim.nc', 
    errno = 24, 
    error message = 'too many open files', 
    flags = 0, 
    o_flags = 0)'

Need to tighten the file open/close loop for the input files.

History

#1 Updated by Maarten Sneep almost 5 years ago

  • Status changed from In Progress to Resolved

Now closing file references when they aren't needed anymore. This should not introduce errors as opening was already on-demand.

#2 Updated by Maarten Sneep almost 5 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF