Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Store more data as private members to speed up the processes #13

Closed
remi-braun opened this issue Oct 7, 2021 · 1 comment
Closed
Labels
enhancement New feature or request

Comments

@remi-braun
Copy link
Member

We should store all the data that are time-consuming (at least not immediate) and lightweight (floats or even vectors) in order to speed up the recomputation.
These would be computed only if needed.

Hereunder is a premilinary list (for product):

  • extent
  • footprint
  • mean_az, mean_el
  • crs
  • default_transform

And why not:

  • condensed_name
  • datetime
  • date

Other product_classes could have others to add.

They could be accessed as regular members through a @property -> this will break things !

@remi-braun remi-braun added enhancement New feature or request 1.0 labels Oct 7, 2021
@remi-braun remi-braun removed the 1.0 label Oct 15, 2021
@remi-braun
Copy link
Member Author

remi-braun commented Oct 15, 2021

Need python 3.8 for @functools.cached_property and python 3.9 for @functools.cache 😰

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant