ReadingClouds / Subfilter

python code to compute sub-filter quantities from MONC output.
0 stars 1 forks source link

Convert to using xarray and dask. #10

Closed ReadingClouds closed 3 years ago

ReadingClouds commented 3 years ago

I have converted to use xarray; this simplifies much of the code and also facilitates the use of dask to parallelize the processing. Of note:

trjr commented 3 years ago

I have been unsuccessful with this in multiple configurations on JASMIN. It always seems to fail on the d.compute(...) with TypeError: slice indices must be integers or None or have an __index__ method. It's not clear to me where the problem is or how to find out, and I have sent a message to JASMIN support asking whether any special considerations are required on their system.

Has anyone had any luck with this code? Any suggestions?