Skip to content

Opening a dataset initialises two Scene objects with two respective load calls #456

@ameraner

Description

@ameraner

SIFT is currently creating two Scene objects, and calling load on both of them:

  1. Scene load
  2. 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.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions