id,node_id,number,title,user,state,locked,assignee,milestone,comments,created_at,updated_at,closed_at,author_association,active_lock_reason,draft,pull_request,body,reactions,performed_via_github_app,state_reason,repo,type 1695028906,I_kwDOAMm_X85lCBaq,7814, TypeError: 'NoneType' object is not callable when joining netCDF files. Works when ran interactively.,25112215,closed,0,,,7,2023-05-04T00:41:30Z,2023-06-06T15:14:38Z,2023-06-06T15:14:38Z,NONE,,,,"### What is your issue? I'm trying to join multiple netCDF files with the following: ```python import xarray as xr combined = xr.open_mfdataset('Burst*.nc',combine=""nested"", concat_dim=""time"", group=""Data/Burst"") combined.to_netcdf('nc_combined.nc') ``` When running the lines interactively, everything works, but when running it as a script I get the following error multiple times: ``` File ""/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/xarray/backends/file_manager.py"", line 246, in del TypeError: 'NoneType' object is not callable ``` Thanks, Paul","{""url"": ""https://api.github.com/repos/pydata/xarray/issues/7814/reactions"", ""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,completed,13221727,issue