[cig-commits] [commit] devel: added the script download_the_whole_topography_database_if_you_want_other_topographic_models.bash (fd5af76)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Sun Jul 6 10:07:42 PDT 2014


Repository : https://github.com/geodynamics/specfem3d_globe

On branch  : devel
Link       : https://github.com/geodynamics/specfem3d_globe/compare/346cc77b9e4830c49183bb3717806b31f6cf14ba...fd5af76b7524209b28d94ce5801915c3e12d260a

>---------------------------------------------------------------

commit fd5af76b7524209b28d94ce5801915c3e12d260a
Author: Dimitri Komatitsch <komatitsch at lma.cnrs-mrs.fr>
Date:   Sun Jul 6 19:03:51 2014 +0200

    added the script download_the_whole_topography_database_if_you_want_other_topographic_models.bash


>---------------------------------------------------------------

fd5af76b7524209b28d94ce5801915c3e12d260a
 doc/USER_MANUAL/manual_SPECFEM3D_GLOBE.tex         |  3 ++-
 ...abase_if_you_want_other_topographic_models.bash | 24 ++++++++++++++++++++++
 2 files changed, 26 insertions(+), 1 deletion(-)

diff --git a/doc/USER_MANUAL/manual_SPECFEM3D_GLOBE.tex b/doc/USER_MANUAL/manual_SPECFEM3D_GLOBE.tex
index d719ccd..339a2e5 100644
--- a/doc/USER_MANUAL/manual_SPECFEM3D_GLOBE.tex
+++ b/doc/USER_MANUAL/manual_SPECFEM3D_GLOBE.tex
@@ -871,8 +871,9 @@ Thus, flattening f = 1/299.8 is what is used in SPECFEM3D\_GLOBE, as it should.
 As a comparison, the classical World Geodetic System reference ellipsoid WGS 84 (see e.g. en.wikipedia.org/wiki/World\_Geodetic\_System) has $f = 1/298.2572236$.
 %
 \item [{\texttt{TOPOGRAPHY}}] Set to \texttt{.true.} if topography and
-bathymetry should be incorporated based upon model ETOPO5 \citep{Etopo5}.
+bathymetry should be incorporated based upon model ETOPO4 \citep{Etopo5}.
 This feature adds no cost to the simulation.
+It you want to use other topographic models, use the script download\_the\_whole\_topography\_database\_if\_you\_want\_other\_topographic\_models.bash provided in the root directory of the code and change the name of the topographic model to use in file \texttt{setup/constants.h.in} before configuring the code with the \texttt{configure} script.
 \item [{\texttt{GRAVITY}}] Set to \texttt{.true.} if self-gravitation should
 be incorporated in the Cowling approximation \citep{KoTr02b,DaTr98}.
 Turning this feature on is relatively inexpensive, both from the perspective
diff --git a/download_the_whole_topography_database_if_you_want_other_topographic_models.bash b/download_the_whole_topography_database_if_you_want_other_topographic_models.bash
new file mode 100755
index 0000000..a9fd0f9
--- /dev/null
+++ b/download_the_whole_topography_database_if_you_want_other_topographic_models.bash
@@ -0,0 +1,24 @@
+#!/bin/bash
+
+# this only needs to be done once and for all
+
+# this is optional, the default topography file topo_bathy_etopo4_smoothed_window_7.dat used by SPECFEM3D_GLOBE
+# is already included in the source code
+
+cd DATA/topo_bathy
+
+echo " "
+echo "downloading the whole topography database, which has a size of close to 1 GB; this may take a while..."
+echo " "
+
+wget http://data.geodynamics.org/specfem/specfem3d_globe/topo_bathy/etopo1_ice_c.grd.bz2
+wget http://data.geodynamics.org/specfem/specfem3d_globe/topo_bathy/etopo1_ice_c_resampled_at_2minutes.grd.bz2
+wget http://data.geodynamics.org/specfem/specfem3d_globe/topo_bathy/etopo2v2c.grd.bz2
+wget http://data.geodynamics.org/specfem/specfem3d_globe/topo_bathy/topo_bathy_etopo1_ice_c_original_unmodified_unsmoothed.dat.bz2
+wget http://data.geodynamics.org/specfem/specfem3d_globe/topo_bathy/topo_bathy_etopo1_ice_c_resampled_at_2minutes_original_unmodified_unsmoothed.dat.bz2
+wget http://data.geodynamics.org/specfem/specfem3d_globe/topo_bathy/topo_bathy_etopo1_ice_c_resampled_at_2minutes_smoothed_window_3.dat.bz2
+wget http://data.geodynamics.org/specfem/specfem3d_globe/topo_bathy/topo_bathy_etopo1_ice_c_smoothed_window_3.dat.bz2
+wget http://data.geodynamics.org/specfem/specfem3d_globe/topo_bathy/topo_bathy_etopo2v2c_original_unmodified_unsmoothed.dat.bz2
+wget http://data.geodynamics.org/specfem/specfem3d_globe/topo_bathy/topo_bathy_etopo2v2c_smoothed_window_3.dat.bz2
+wget http://data.geodynamics.org/specfem/specfem3d_globe/topo_bathy/topo_bathy_etopo4_from_etopo2_subsampled.dat.bz2
+



More information about the CIG-COMMITS mailing list