Replies: 1 comment
-
A reminder: Lightkurve v.2.4.0 has just been released, which would require data cache directory migration mentioned above. https://github.com/lightkurve/lightkurve/releases/tag/v2.4.0 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is a heads-up that an upcoming
Lightkurve
release,v2.4.0
, will require migration of the default data cache directory.In short,
~/.lightkurve-cache
, which is the default location for the data products downloaded (e.g, viadownload()
call).~/.lightkurve/cache
, and can be configured by users.If you have questions or concerns, please reply to this post or comment on the pull request #1214 .
Excerpt of the migration documentation
Starting from Lightkurve version 2.4.0, the default cache directory is at
~/.lightkurve/cache
. The data files cached at the legacy location,~/.lightkurve-cache
, will not be used.A warning is issued if the legacy
~/.lightkurve-cache
directory still exists.Migration suggestions for handling various scenarios:
To use the existing data files cached, move all the contents under
~/.lightkurve-cache
to~/.lightkurve/cache
, and remove~/.lightkurve-cache
directory itself.If you need to use older version of Lightkurve, e.g., because of the requirements of other packages / applications, you can:
Keep the cache at the legacy location
~/.lightkurve-cache
Instruct current Lightkurve to use the legacy location. In the user’s lightkurve.cfg, add:
The warning will no long appear once a custom
cache_dir
is specified.warn_legacy_cache_dir
in the user’slightkurve.cfg
.Beta Was this translation helpful? Give feedback.
All reactions