Skip to content

Commit

Permalink
Run workflows without first downloading the diskdf corrections; save …
Browse files Browse the repository at this point in the history
…included pre-calculated corrections as binary; don't mentione downloadable corrections in the docs any more
  • Loading branch information
jobovy committed Apr 19, 2023
1 parent 4ccd97a commit 861c2f7
Show file tree
Hide file tree
Showing 17 changed files with 1 addition and 27 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -248,10 +248,6 @@ jobs:
git checkout galpy
cd -
fi
- name: Download dfcorrections
run: |
curl -O https://github.s3.amazonaws.com/downloads/jobovy/galpy/galpy-dfcorrections.tar.gz
tar xvzf galpy-dfcorrections.tar.gz -C ./galpy/df/data/
- name: Install package
if: matrix.os == 'ubuntu-latest'
run: |
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/build_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,6 @@ jobs:
- name: Install JAX
if: ${{ matrix.REQUIRES_JAX }}
run: pip install jax jaxlib
- name: Download dfcorrections
run: |
curl -O https://github.s3.amazonaws.com/downloads/jobovy/galpy/galpy-dfcorrections.tar.gz
tar xvzf galpy-dfcorrections.tar.gz -C ./galpy/df/data/
- name: Install package
run: |
python -m pip install -ve .
Expand Down
17 changes: 0 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,20 +85,3 @@ small and larger extensions of galpy that would be useful
well as a longer-term roadmap
[here](http://github.com/jobovy/galpy/wiki/Roadmap). Please let the main
developer know if you need any help contributing!

DISK DF CORRECTIONS
===================

The dehnendf and shudf disk distribution functions can be corrected to
follow the desired surface-mass density and radial-velocity-dispersion
profiles more closely (see
[1999AJ\....118.1201D](http://adsabs.harvard.edu/abs/1999AJ....118.1201D)).
Calculating these corrections is expensive, and a large set of
precalculated corrections can be found
[here](http://github.com/downloads/jobovy/galpy/galpy-dfcorrections.tar.gz)
\[tar.gz archive\]. Install these by downloading them and unpacking them
into the galpy/df/data directory before running the setup.py
installation. E.g.:

curl -O https://github.s3.amazonaws.com/downloads/jobovy/galpy/galpy-dfcorrections.tar.gz
tar xvzf galpy-dfcorrections.tar.gz -C ./galpy/df/data/
3 changes: 1 addition & 2 deletions doc/source/basic_df.rst
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,7 @@ that the output profiles more closely resemble the desired profiles
(see `1999AJ....118.1201D
<http://adsabs.harvard.edu/abs/1999AJ....118.1201D>`_). galpy supports
the calculation of these corrections, and comes with some
pre-calculated corrections (these can be found `here
<http://github.com/downloads/jobovy/galpy/galpy-dfcorrections.tar.gz>`_). For
pre-calculated corrections bundled with the code. For
example, the following initializes a ``dehnendf`` with corrections up
to 20th order (the default)

Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 861c2f7

Please sign in to comment.