Document the "Advanced" usage, with the ``expire`` option for the Loader

This commit is contained in:
Bruno Bord 2019-08-23 11:19:59 +02:00
parent bef0abcba3
commit 5001b9aab7
No known key found for this signature in database
GPG Key ID: 9499EA6788BF80A1
2 changed files with 8 additions and 1 deletions

View File

@ -2,7 +2,7 @@
## master (unreleased)
Nothing here yet.
* Document the "Advanced" usage, with the ``expire`` option for the Loader.
## 0.0.1 (2019-07-29)

View File

@ -38,6 +38,13 @@ planets = load('de421.bsp') # this command won't download this file
ts = load.timescale() # this command won't download the deltat + Leap Second files
```
If you want to make sure that the data files would **never** be downloaded, you can also use the ``expire`` option like this:
```python
load = Loader(get_skyfield_data_path(), expire=False)
```
## Developers
We're providing a ``Makefile`` with basic targets to play around with the toolkit. use ``make help`` to get more details.