Skip to content

Commit

Permalink
Merge pull request #1104 from paultcochrane/fix-issues-in-transformat…
Browse files Browse the repository at this point in the history
…ion-grids-docs

Fix issues in transformation grids docs
  • Loading branch information
snowman2 committed Jul 11, 2022
2 parents d2d098c + 3320ad9 commit 7a239cd
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions docs/transformation_grids.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,28 +25,30 @@ the capability to work with grid files that are not installed on the local machi

Available methods for download include:

- `Mirroing the data <https://proj.org/usage/network.html#mirroring>`__:
- `Mirroring the data <https://proj.org/usage/network.html#mirroring>`__:

To download to PROJ user writable data directory:
To download to the PROJ user-writable data directory:

.. versionadded:: 7.1.0

.. code-block:: bash
export PROJ_DOWNLOAD_DIR=$(python -c "import pyproj; print(pyproj.datadir.get_user_data_dir())
export PROJ_DOWNLOAD_DIR=$(python -c "import pyproj; print(pyproj.datadir.get_user_data_dir())")
To download to the main PROJ data data directory:
To download to the main PROJ data directory:

.. code-block:: bash
export PROJ_DOWNLOAD_DIR=$(python -c "import pyproj; print(pyproj.datadir.get_data_dir())
export PROJ_DOWNLOAD_DIR=$(python -c "import pyproj; print(pyproj.datadir.get_data_dir())")
Download the files:
Download the files with either:

.. code-block:: bash
aws s3 sync s3://cdn.proj.org ${PROJ_DOWNLOAD_DIR}
or:

.. code-block:: bash
wget --mirror https://cdn.proj.org/ -P ${PROJ_DOWNLOAD_DIR}
Expand Down

0 comments on commit 7a239cd

Please sign in to comment.