SIFT is currently creating two Scene objects, and calling load on both of them:
- Scene load
- Scene load
The Scene#1 is initialised after the files selection, the Scene#2 after the datasets selection. Both load calls happen (obviously) after the datasets selection. But it seems that only load#2 is the one that makes it into the layers, load#1 is only used to get metadata.
We should try to optimise this. E.g. Scene#1 could be passed further on to avoid a new init and a new load call?
In general the Scene init and load are not very time consuming for most instruments, but for FCI, given the high number of files and NetCDF complexity, this is taking considerable time, particularly when loading complex composites.
SIFT is currently creating two Scene objects, and calling load on both of them:
The Scene#1 is initialised after the files selection, the Scene#2 after the datasets selection. Both load calls happen (obviously) after the datasets selection. But it seems that only load#2 is the one that makes it into the layers, load#1 is only used to get metadata.
We should try to optimise this. E.g. Scene#1 could be passed further on to avoid a new init and a new load call?
In general the Scene init and load are not very time consuming for most instruments, but for FCI, given the high number of files and NetCDF complexity, this is taking considerable time, particularly when loading complex composites.