-
Xarray open_mfdataset is a fantastic tool, but I haven't been able to make it work efficiently. I am opening multiple NetCDFs each around 2GB for a total of 13GB. I have the data on an SSD, so it should open pretty quickly, however, it takes approx. 791 seconds to open the files. Any suggestions on how to speed this up? I have run several dozen tests with different options and different chunk sizes to try to zero in on the problem with no luck. Below is the code I use to open the data:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This should be quick if you only have 7 files (?). Can you try profiling with |
Beta Was this translation helpful? Give feedback.
This should be quick if you only have 7 files (?). Can you try profiling with
parallel=False
using snakeviz?