Giter Site home page Giter Site logo

magtess-inversion-python's People

Contributors

eldarbaykiev avatar nholz avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

fadeli

magtess-inversion-python's Issues

Permission denied

The error
sh: 1: ./tessutil_magnetize_model: Permission denied
comes up when the magnetic tesseroid is created. I changed all permissions to 777 for tessutil_magnetize_model, however, that doesn't help. Starting the GUI also does not help

Create tesseroid model does not work

Creating a tesseroid model ends up with an error:

Traceback (most recent call last):
File "gmi_gui.py", line 365, in CreateTesseroidModel
import gmi_create_tesseroid_model
File "/home/esasummer/MagInv/magtess-inversion-python/gmi_create_tesseroid_model.py", line 31
else
^
SyntaxError: invalid syntax

File is missing ?

Do I have to provide a .magtess model ??
There is only a .tess model.

Magnetic tesseroid model model.tess is created
Traceback (most recent call last):
File "gmi_gui.py", line 382, in CreateTesseroidModel
gmi_create_tesseroid_model.main(self.GMI_PATH)
File "/home/esasummer/MagInv/magtess-inversion-python/gmi_create_tesseroid_model.py", line 119, in main
with open(file_name, 'r') as file_to_check:
FileNotFoundError: [Errno 2] Datei oder Verzeichnis nicht gefunden: 'model.magtess'

Missing example data

Would you please provide the example data, which could test the codes:

  • data/crust1_top.csv
  • global_moho/moho.csv
  • IGRF12.COF
  • bangui_test_area_5km/LCS1_paper_inv_res.magtess_grid_sat_glob.txt_Bz.xyz
  • bangui_test_area_5km/LCS1_paper_inv_res.magtess_grid_sat_glob.txt_Bz.xyz_minus_piece_LCS1_paper_inv_res.magtess_grid_sat_glob.txt_Bz.xyz

Error during Tesseroid creation

Traceback (most recent call last):
File "gmi_gui.py", line 369, in CreateTesseroidModel
import gmi_create_tesseroid_model
File "/home/esasummer/MagInv/magtess-inversion-python/gmi_create_tesseroid_model.py", line 43
if not os.path.isfile(gmi_config.IGRF_COEFF_FILENAME):
^
TabError: inconsistent use of tabs and spaces in indentation

Error for result plotting

gmt: Warning: module ps2raster is deprecated; use psconvert.
nlssubprob.dat
nlssubprob.dat is selected for plotting
WARNING [../magtess-inversion-python/gmi_misc.py|init_result_folder|40]: RESULT FOLDER ALREADY EXIST!
Traceback (most recent call last):
File "gmi_gui.py", line 164, in EnableResultPlotting
self.PlotResult()
File "gmi_gui.py", line 189, in PlotResult
ax.plot(dat[:, 0], dat[:, 1])
IndexError: too many indices for array

Create tesseroid model does not work

Gives an error, when trying to create a model:
Traceback (most recent call last):
File "gmi_gui.py", line 365, in CreateTesseroidModel
import gmi_create_tesseroid_model
File "/home/esasummer/MagInv/magtess-inversion-python/gmi_create_tesseroid_model.py", line 12
tar.extractfile()
^
IndentationError: unindent does not match any outer indentation level

GUI update & resize

The window of the GUI is resizeable, but the content is not fitted to the new larger window.

If spectrum is clicked, the window does not update automatically, but after zooming for example.

Need help documents

For the config information:

[Name]
project_name = Project Name

[Global Tesseroid Model]
lon_min = -180
lon_max = 180
lat_min = -90
lat_max = 90
width = 2.0
top_surface =
bot_surface =
path_surfaces =
igrf_day = 1
igrf_month = 1
igrf_year = 2014
igrf_coeff_filename = IGRF12.COF

[Global Grid]
grid_lon_min = -180
grid_lon_max = 180
grid_lat_min = -90
grid_lat_max = 90
grid_alt = 400000
grid_step = 2.0

[Spherical Harmonics]
n_min_cutoff = 16

[Inversion]
observed_data =
subtract_data =
init_solution =
max_iter = 100
multiplicator = 1.0

=================================================
The above config information needs a detailed explanation. Moreover, the related data file is needed for example testing, i.e., IGRF12.COF, SURFACE FILE.

Moreover, the logic steps to manipulate the Config+Plots+Stages+Inversion part of the MainWindow are also needed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.