Skip to content

Commit

Permalink
Include all the datasets (#101)
Browse files Browse the repository at this point in the history
* Include all the datasets

* and rst

* Update figs

* Remove unneeded figs and let script handle images

* Optimised images with calibre/image-actions

* Fix formatting

* Optimised images with calibre/image-actions

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
  • Loading branch information
3 people committed Nov 5, 2023
1 parent aa6cce5 commit 6d922d1
Show file tree
Hide file tree
Showing 36 changed files with 83 additions and 7 deletions.
Binary file added docs/_static/GMT_earth_age.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/GMT_earth_age_thumbnail.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/GMT_earth_day.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/GMT_earth_day_thumbnail.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/GMT_earth_edefl.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/GMT_earth_edefl_thumbnail.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_static/GMT_earth_faa.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_static/GMT_earth_faa_thumbnail.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/GMT_earth_faaerror.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/GMT_earth_faaerror_thumbnail.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/GMT_earth_gebco.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/GMT_earth_gebco_thumbnail.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/_static/GMT_earth_gebcosi.jpg
Binary file not shown.
Binary file removed docs/_static/GMT_earth_gebcosi_thumbnail.jpg
Binary file not shown.
Binary file modified docs/_static/GMT_earth_geoid.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/GMT_earth_mag.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/_static/GMT_earth_mag4km.jpg
Binary file not shown.
Binary file removed docs/_static/GMT_earth_mag4km_thumbnail.jpg
Binary file not shown.
Binary file added docs/_static/GMT_earth_mag_thumbnail.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/GMT_earth_mask.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/GMT_earth_mask_thumbnail.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/GMT_earth_mdt.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/GMT_earth_mdt_thumbnail.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/GMT_earth_ndefl.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/GMT_earth_ndefl_thumbnail.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/GMT_earth_night.jpg
Binary file added docs/_static/GMT_earth_night_thumbnail.jpg
Binary file modified docs/_static/GMT_earth_relief.jpg
Binary file modified docs/_static/GMT_earth_wdmam.jpg
Binary file modified docs/_static/GMT_earth_wdmam_thumbnail.jpg
2 changes: 1 addition & 1 deletion docs/earth-faaerror.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ You access a global free-air (faa) error grid by specifying the special name
The following codes for *rr*\ *u* and the optional *reg* are supported (dimensions are listed
for pixel-registered grids; gridline-registered grids increment dimensions by one):

.. _tbl-earth_faa:
.. _tbl-earth_faaerror:

.. table:: IGPP Global Earth Free-Air Anomaly. An asterisk denotes tiled datasets.

Expand Down
76 changes: 72 additions & 4 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ Information about the GMT data server and mirrors can be found on the
.. grid-item-card:: GEBCO Earth Relief
:link: earth-gebco
:link-type: doc
:img-bottom: /_static/GMT_earth_gebco_thumbnail.jpg
:text-align: center

.. grid-item-card:: GEBCO Earth Relief Sub Ice
:link: earth-gebcosi
:link-type: doc
:img-bottom: /_static/GMT_earth_gebcosi_thumbnail.jpg
:text-align: center

Expand All @@ -49,6 +55,24 @@ Information about the GMT data server and mirrors can be found on the
:img-bottom: /_static/GMT_earth_faa_thumbnail.jpg
:text-align: center

.. grid-item-card:: IGPP Earth Free-Air Anomaly Error
:link: earth-faaerrors
:link-type: doc
:img-bottom: /_static/GMT_earth_faaerrors_thumbnail.jpg
:text-align: center

.. grid-item-card:: IGPP Earth West-East Deflections
:link: earth-edefl
:link-type: doc
:img-bottom: /_static/GMT_earth_edefl_thumbnail.jpg
:text-align: center

.. grid-item-card:: IGPP Earth South-North Deflections
:link: earth-ndefl
:link-type: doc
:img-bottom: /_static/GMT_earth_ndefl_thumbnail.jpg
:text-align: center

.. grid-item-card:: IGPP Earth Relief
:link: earth-relief
:link-type: doc
Expand All @@ -73,20 +97,64 @@ Information about the GMT data server and mirrors can be found on the
:img-bottom: /_static/GMT_earth_wdmam_thumbnail.jpg
:text-align: center

.. grid-item-card:: NASA Mars Relief
:link: mars-relief
:link-type: doc
:img-bottom: /_static/GMT_mars_relief_thumbnail.jpg
:text-align: center

.. grid-item-card:: NASA Mercury Relief
:link: mercury-relief
:link-type: doc
:img-bottom: /_static/GMT_mercury_relief_thumbnail.jpg
:text-align: center

.. grid-item-card:: NASA Moon Relief
:link: moon-relief
:link-type: doc
:img-bottom: /_static/GMT_moon_relief_thumbnail.jpg
:text-align: center

.. grid-item-card:: NASA Pluto Relief
:link: pluto-relief
:link-type: doc
:img-bottom: /_static/GMT_pluto_relief_thumbnail.jpg
:text-align: center

.. grid-item-card:: NASA Venus Relief
:link: venus-relief
:link-type: doc
:img-bottom: /_static/GMT_venus_relief_thumbnail.jpg
:text-align: center


.. toctree::
:hidden:
:caption: Datasets

earth-age
earth-edefl
earth-daynight
earth-faa
earth-faaerrors
earth-gebco
earth-gebcosi
earth-geoid
earth-ndefl
earth-mag
earth-relief
earth-mag4k
earth-mask
earth-faa
earth-gebco
earth-mdf
earth-mss
earth-relief
earth-synbath
earth-vgg
earth-daynight
earth-wdmam
mars-relief
mercury-relief
moon-relief
pluto-relief
venus-relief

.. toctree::
:caption: Reference
Expand Down
Empty file modified scripts/GMT_earth_daynight.sh
100644 → 100755
Empty file.
11 changes: 9 additions & 2 deletions scripts/GMT_earth_maps.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
#!/usr/bin/env bash
# Makes maps for every dataset in list for docs/earth-"set".rst
# Exclude close reltives like relif|synbath, gebco|gebcosi, and mag|mag4k

list=(faa gebcosi geoid mag4km mss relief vgg wdmam)
list=(day night age edefl faa faaerror gebco geoid mag mask mdt mss ndefl relief vgg wdmam)

gmt set GMT_DATA_SERVER candidate
let k=0
I=""
for set in ${list[@]}; do
gmt begin GMT_earth_${set} jpg
gmt grdimage @earth_${set}_10m -JQ0/7.5c -I -Rd
gmt grdimage @earth_${set}_10m -JQ0/7.5c -Rd ${I}
gmt psconvert -A -P -E150 -FGMT_earth_${set}_thumbnail -Tj
gmt end
mv GMT_earth_${set}.jpg ../docs/_static/
mv GMT_earth_${set}_thumbnail.jpg ../docs/_static/
let k++
if [ $k -eq 2 ]; then
I="-I"
fi
done
rm -f gmt.conf
Empty file modified scripts/GMT_planet_relief.sh
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions scripts/remote_map_earth_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# This checks that the tiled and single grid versions are similar. We use the
# candidate server which must pass all tests before overwriting oceania.
#
# Keeping mdt off the list since starts at 7.5 min grid only
list=(age day edefl faa faaerror gebco gebcosi geoid mag mag4km mask mss ndefl night relief synbath vgg wdmam)

gmt set GMT_DATA_SERVER candidate
Expand Down

0 comments on commit 6d922d1

Please sign in to comment.