fsciortino / Aurora

Modern toolbox for impurity transport, neutrals and radiation modeling in magnetically-confined plasmas
https://aurora-fusion.readthedocs.io
MIT License
39 stars 22 forks source link

caching for adas files loading #94

Closed fabGitHubTester closed 2 months ago

fabGitHubTester commented 7 months ago

Hi, This should speed up the loading of the adas files especially in a scenario where we repeat the loading of the same files many times (ex: optimization or uncertainty quantification).

fsciortino commented 6 months ago

@odstrcilt could you please check whether this may have nasty interactions with the OMFIT environment? If not, I think that we can merge. I wonder if this trick by @fabGitHubTester could have wider applicability in Aurora -- avoiding explicit cashing of ADAS files.