Skip to content

Instantly share code, notes, and snippets.

@pwolfram
Created March 11, 2016 21:00
Show Gist options
  • Save pwolfram/248efce774ad08cb1dd6 to your computer and use it in GitHub Desktop.
Save pwolfram/248efce774ad08cb1dd6 to your computer and use it in GitHub Desktop.
/var/spool/slurmd/job159253/slurm_script: line 4: 3#MSUB: command not found
Started on Fri Mar 11 12:12:19 MST 2016
[building xarray dataset] finished in 480 s at 2016-03-11 12:20:22.957852
[subsetting the data] finished in 0 s at 2016-03-11 12:20:23.749237
[dropping variables] finished in 0 s at 2016-03-11 12:20:23.751863
Traceback (most recent call last):
File "reduce_dispersion_file.py", line 40, in <module>
if __name__ == "__main__":
File "reduce_dispersion_file.py", line 36, in reduce_dispersion_file
with timeit_context('output to disk'):
File "/users/pwolfram/envs/LIGHT_analysis/lib/python2.7/site-packages/xarray/core/dataset.py", line 791, in to_netcdf
engine=engine, encoding=encoding)
File "/users/pwolfram/envs/LIGHT_analysis/lib/python2.7/site-packages/xarray/backends/api.py", line 356, in to_netcdf
dataset.dump_to_store(store, sync=sync, encoding=encoding)
File "/users/pwolfram/envs/LIGHT_analysis/lib/python2.7/site-packages/xarray/core/dataset.py", line 739, in dump_to_store
store.sync()
File "/users/pwolfram/envs/LIGHT_analysis/lib/python2.7/site-packages/xarray/backends/netCDF4_.py", line 283, in sync
super(NetCDF4DataStore, self).sync()
File "/users/pwolfram/envs/LIGHT_analysis/lib/python2.7/site-packages/xarray/backends/common.py", line 186, in sync
self.writer.sync()
File "/users/pwolfram/envs/LIGHT_analysis/lib/python2.7/site-packages/xarray/backends/common.py", line 165, in sync
da.store(self.sources, self.targets)
File "/users/pwolfram/lib/python2.7/site-packages/dask/array/core.py", line 712, in store
Array._get(dsk, keys, **kwargs)
File "/users/pwolfram/lib/python2.7/site-packages/dask/base.py", line 43, in _get
return get(dsk2, keys, **kwargs)
File "/users/pwolfram/lib/python2.7/site-packages/dask/threaded.py", line 57, in get
**kwargs)
File "/users/pwolfram/lib/python2.7/site-packages/dask/async.py", line 481, in get_async
raise(remote_exception(res, tb))
dask.async.RuntimeError: NetCDF: HDF error
Traceback
---------
File "/users/pwolfram/lib/python2.7/site-packages/dask/async.py", line 264, in execute_task
result = _execute_task(task, data)
File "/users/pwolfram/lib/python2.7/site-packages/dask/async.py", line 246, in _execute_task
return func(*args2)
File "/users/pwolfram/lib/python2.7/site-packages/dask/array/core.py", line 1954, in store
out[index] = np.asanyarray(x)
File "netCDF4/_netCDF4.pyx", line 3678, in netCDF4._netCDF4.Variable.__setitem__ (netCDF4/_netCDF4.c:37215)
File "netCDF4/_netCDF4.pyx", line 3887, in netCDF4._netCDF4.Variable._put (netCDF4/_netCDF4.c:38907)
real 39m19.894s
user 5m8.677s
sys 26m28.662s
Finished on Fri Mar 11 12:51:39 MST 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment