fatiando / rockhound

NOTICE: This library is no longer being developed. Use Ensaio instead (https://www.fatiando.org/ensaio). -- Download geophysical models/datasets and load them in Python
BSD 3-Clause "New" or "Revised" License
34 stars 15 forks source link

Use pooch.os_cache to determine the data location #32

Closed leouieda closed 5 years ago

leouieda commented 5 years ago

The function finds the cache folder for each operating system. This is more user friendly than setting the directory by hand (it plays nicely with backups and cleaning programs). Can still be overwritten by the environment variable. Provide a function that returns the cache location for convenience to the user as well.

Reminders