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

Ability to cache a Transform instance #83

Open
s-boardman opened this issue Sep 21, 2023 · 1 comment
Open

Ability to cache a Transform instance #83

s-boardman opened this issue Sep 21, 2023 · 1 comment
Labels
new: feature Highlight a new community raised "feature request" issue

Comments

@s-boardman
Copy link

✨ Feature Request

It would be very useful to be able to cache an instance of Transform for reuse by multiple runtimes.

Motivation

My use case is that I have a load of LFric files that get generated regularly and I want to process them to the same UM like structure each time. I can't keep a python runtime open forever so would need to create a new Transform instance each time I started my processing.

Additional Context

If I wanted to use Transform for the same grid repeatedly in multiple runtimes I'd have to instantiate the same Transform instance each time which costs time. If I could then cache a Transform instance and load from that in each run time that would make life a lot easier and quicker!

@s-boardman s-boardman added the new: feature Highlight a new community raised "feature request" issue label Sep 21, 2023
@bjlittle
Copy link
Owner

@s-boardman A solid +1 on this, it's an obvious and practical feature to support.

Thanks for taking the time to raise this issue, much appreciated 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new: feature Highlight a new community raised "feature request" issue
Projects
None yet
Development

No branches or pull requests

2 participants