initial upload

This commit is contained in:
2024-09-10 20:25:18 +08:00
parent b8de03ee4f
commit f1cc876972
377 changed files with 2721267 additions and 34 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,10 @@
# model_type value_type model_value model_parameter
#regular_block add 1.0 300/700/300/700/100/400
#regular_block erase 0.0 400/600/400/600/200/300
#regular_block add -1.0 600/800/600/800/260/360
#tilted_block add 1.0 500/700/500/700/100/500/700/200/400/400
#tilted_block add -1.0 200/400/200/400/100/200/400/600/800/400
#sphere replace 1.0 500/500/250/300/200/150
interface replace/top 1.0 example_topography.txt
tilted_block replace 1.5 400/600/400/600/50/400/600/200/400/450
interface erase/bot 0.0 example_topography.txt

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

View File

@@ -0,0 +1,26 @@
#!/bin/bash
# set model parameters
cat <<- EOF > model_list.txt
regular_block add 0.5 200/800/200/300/50/150
tilted_block add 1.0 300/500/400/600/100/300/500/600/800/350
sphere add 0.8 700/700/250/100/250/100
EOF
# construct model
gm3d -o forward_model.msh -m model_list.txt -d 12.5/25/987.5/12.5/25/987.5/12.5/25/387.5 -e "density_model_(g/cm^3)"
# forward modeling of the model's gravity and gravity gradient data
gm3d -i forward_model.msh -f forward_g.txt -e "density_model_(g/cm^3)" -p 4/8/1020/4/8/1020/50 -t Vz
gm3d -i forward_model.msh -f forward_g_x.txt -e "density_model_(g/cm^3)" -p 4/8/1020/4/8/1020/50 -t Vzx
gm3d -i forward_model.msh -f forward_g_y.txt -e "density_model_(g/cm^3)" -p 4/8/1020/4/8/1020/50 -t Vzy
gm3d -i forward_model.msh -f forward_g_z.txt -e "density_model_(g/cm^3)" -p 4/8/1020/4/8/1020/50 -t Vzz
# mapping
xyz2grd forward_g.txt -Gforward_g.nc -R4/1020/4/1020 -I8/8 -i0,1,3
gmtxy-image -i forward_g.nc -u mGal -a "y (m);x (m)" -t 256,256
xyz2grd forward_g_x.txt -Gforward_g_x.nc -R4/1020/4/1020 -I8/8 -i0,1,3
gmtxy-image -i forward_g_x.nc -u Eo -a "y (m);x (m)" -t 256,256
xyz2grd forward_g_y.txt -Gforward_g_y.nc -R4/1020/4/1020 -I8/8 -i0,1,3
gmtxy-image -i forward_g_y.nc -u Eo -a "y (m);x (m)" -t 256,256
xyz2grd forward_g_z.txt -Gforward_g_z.nc -R4/1020/4/1020 -I8/8 -i0,1,3
gmtxy-image -i forward_g_z.nc -u Eo -a "y (m);x (m)" -t 256,256

View File

@@ -0,0 +1,3 @@
regular_block add 0.5 200/800/200/300/50/150
tilted_block add 1.0 300/500/400/600/100/300/500/600/800/350
sphere add 0.8 700/700/250/100/250/100

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

View File

@@ -0,0 +1,37 @@
#!/bin/bash
# set model parameters
cat <<- EOF > model_list.txt
regular_block add 0.1 200/400/250/750/100/200
regular_block add 0.1 600/800/250/750/100/200
EOF
# construct model
gm3d -o forward_model.msh -m model_list.txt -d 12.5/25/987.5/12.5/25/987.5/12.5/25/387.5 -e "magnetic_model_(SI(k))"
# forward modeling of the model's gravity and gravity gradient data
gm3d -i forward_model.msh -f forward_m.txt -e "magnetic_model_(SI(k))" -p -500/10/1500/-500/10/1500/50 -t DT -v 70/10/70/10
gm3d -i forward_model.msh -f forward_m_Tx.txt -e "magnetic_model_(SI(k))" -p -500/10/1500/-500/10/1500/50 -t DTx -v 70/10/70/10
gm3d -i forward_model.msh -f forward_m_Ty.txt -e "magnetic_model_(SI(k))" -p -500/10/1500/-500/10/1500/50 -t DTy -v 70/10/70/10
gm3d -i forward_model.msh -f forward_m_Tz.txt -e "magnetic_model_(SI(k))" -p -500/10/1500/-500/10/1500/50 -t DTz -v 70/10/70/10
gm3d -i forward_model.msh -f forward_m_Hax.txt -e "magnetic_model_(SI(k))" -p -500/10/1500/-500/10/1500/50 -t Hax -v 70/10/70/10
gm3d -i forward_model.msh -f forward_m_Hay.txt -e "magnetic_model_(SI(k))" -p -500/10/1500/-500/10/1500/50 -t Hay -v 70/10/70/10
gm3d -i forward_model.msh -f forward_m_Za.txt -e "magnetic_model_(SI(k))" -p -500/10/1500/-500/10/1500/50 -t Za -v 70/10/70/10
# mapping
xyz2grd forward_m.txt -Gforward_m.nc -R-500/1500/-500/1500 -I10/10 -i0,1,3
gmtxy-image -i forward_m.nc -u nT -a "y (m);x (m)" -t 500,500
xyz2grd forward_m_Tx.txt -Gforward_m_Tx.nc -R-500/1500/-500/1500 -I10/10 -i0,1,3
gmtxy-image -i forward_m_Tx.nc -u Eo -a "y (m);x (m)" -t 500,500
xyz2grd forward_m_Ty.txt -Gforward_m_Ty.nc -R-500/1500/-500/1500 -I10/10 -i0,1,3
gmtxy-image -i forward_m_Ty.nc -u Eo -a "y (m);x (m)" -t 500,500
xyz2grd forward_m_Tz.txt -Gforward_m_Tz.nc -R-500/1500/-500/1500 -I10/10 -i0,1,3
gmtxy-image -i forward_m_Tz.nc -u Eo -a "y (m);x (m)" -t 500,500
xyz2grd forward_m_Hax.txt -Gforward_m_Hax.nc -R-500/1500/-500/1500 -I10/10 -i0,1,3
gmtxy-image -i forward_m_Hax.nc -u nT -a "y (m);x (m)" -t 500,500
xyz2grd forward_m_Hay.txt -Gforward_m_Hay.nc -R-500/1500/-500/1500 -I10/10 -i0,1,3
gmtxy-image -i forward_m_Hay.nc -u nT -a "y (m);x (m)" -t 500,500
xyz2grd forward_m_Za.txt -Gforward_m_Za.nc -R-500/1500/-500/1500 -I10/10 -i0,1,3
gmtxy-image -i forward_m_Za.nc -u nT -a "y (m);x (m)" -t 500,500

View File

@@ -0,0 +1,2 @@
regular_block add 0.1 200/400/250/750/100/200
regular_block add 0.1 600/800/250/750/100/200

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

View File

@@ -0,0 +1,37 @@
#!/bin/bash
# set model parameters
cat <<- EOF > model_list.txt
regular_block add 0.1 200/400/250/750/100/200
regular_block add 0.1 600/800/250/750/100/200
EOF
# construct model
gm3d -o forward_model.msh -m model_list.txt -d 12.5/25/987.5/12.5/25/987.5/12.5/25/387.5 -e "magnetic_model_(SI(k))"
# forward modeling of the model's gravity and gravity gradient data
gm3d -i forward_model.msh -f forward_m.txt -e "magnetic_model_(SI(k))" -p -500/10/1500/-500/10/1500/50 -t DT -v 70/10/-20/80
gm3d -i forward_model.msh -f forward_m_Tx.txt -e "magnetic_model_(SI(k))" -p -500/10/1500/-500/10/1500/50 -t DTx -v 70/10/-20/80
gm3d -i forward_model.msh -f forward_m_Ty.txt -e "magnetic_model_(SI(k))" -p -500/10/1500/-500/10/1500/50 -t DTy -v 70/10/-20/80
gm3d -i forward_model.msh -f forward_m_Tz.txt -e "magnetic_model_(SI(k))" -p -500/10/1500/-500/10/1500/50 -t DTz -v 70/10/-20/80
gm3d -i forward_model.msh -f forward_m_Hax.txt -e "magnetic_model_(SI(k))" -p -500/10/1500/-500/10/1500/50 -t Hax -v 70/10/-20/80
gm3d -i forward_model.msh -f forward_m_Hay.txt -e "magnetic_model_(SI(k))" -p -500/10/1500/-500/10/1500/50 -t Hay -v 70/10/-20/80
gm3d -i forward_model.msh -f forward_m_Za.txt -e "magnetic_model_(SI(k))" -p -500/10/1500/-500/10/1500/50 -t Za -v 70/10/-20/80
# mapping
xyz2grd forward_m.txt -Gforward_m.nc -R-500/1500/-500/1500 -I10/10 -i0,1,3
gmtxy-image -i forward_m.nc -u nT -a "y (m);x (m)" -t 500,500
xyz2grd forward_m_Tx.txt -Gforward_m_Tx.nc -R-500/1500/-500/1500 -I10/10 -i0,1,3
gmtxy-image -i forward_m_Tx.nc -u Eo -a "y (m);x (m)" -t 500,500
xyz2grd forward_m_Ty.txt -Gforward_m_Ty.nc -R-500/1500/-500/1500 -I10/10 -i0,1,3
gmtxy-image -i forward_m_Ty.nc -u Eo -a "y (m);x (m)" -t 500,500
xyz2grd forward_m_Tz.txt -Gforward_m_Tz.nc -R-500/1500/-500/1500 -I10/10 -i0,1,3
gmtxy-image -i forward_m_Tz.nc -u Eo -a "y (m);x (m)" -t 500,500
xyz2grd forward_m_Hax.txt -Gforward_m_Hax.nc -R-500/1500/-500/1500 -I10/10 -i0,1,3
gmtxy-image -i forward_m_Hax.nc -u nT -a "y (m);x (m)" -t 500,500
xyz2grd forward_m_Hay.txt -Gforward_m_Hay.nc -R-500/1500/-500/1500 -I10/10 -i0,1,3
gmtxy-image -i forward_m_Hay.nc -u nT -a "y (m);x (m)" -t 500,500
xyz2grd forward_m_Za.txt -Gforward_m_Za.nc -R-500/1500/-500/1500 -I10/10 -i0,1,3
gmtxy-image -i forward_m_Za.nc -u nT -a "y (m);x (m)" -t 500,500

View File

@@ -0,0 +1,2 @@
regular_block add 0.1 200/400/250/750/100/200
regular_block add 0.1 600/800/250/750/100/200