-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problem reading file #9
Comments
The first call to Otherwise, as long as you supply these parameters in some way (e.g., hardcode the values for |
first good afternoon! I would like to thank you for getting back so quickly! and apologize for my delay in responding. Next: I'm a programmer, I don't understand calculus in your area, so forgive my lack of knowledge about the tools you are quoting, I took a while to respond because I'm trying to help a researcher to use this tool that you kindly made it available, but we are having problems, I installed gmt in the newest version, and it didn't read the file, I installed in the version below 6 as you mentioned and it didn't catch either, and I'm feeling lost! I really appreciate it if you can give me a guide with the prints and the file that I'm going to make available here, if you can give me a hint of what I'm doing wrong it will be of great value. And first of all, thanks again! Below is a link to the file to be converted: https://drive.google.com/drive/folders/12El01nKwFcyG1lLCX_hWjn3aYlkxsgv6?usp=sharing attached the error that is happening when trying to convert the data. something else in the example you put there in the documentation has some configuration settings. How to do this within the program. Thanks for all the help have a great weekend |
Dear @maralves - I have tried converting your file |
clear! the program oasis montaj was used to generate the grd, however the program also generates xyz and txt if it is easier to use we can try |
Hi Maralves, I installed plateflex using this command You can find the C code in this temporary file: /tmp/theano_compilation_error_gc3zdjxa ImportError Traceback (most recent call last) ImportError: Version check of the existing lazylinker compiled file. Looking for version 0.211, but found None. Extra debug information: force_compile=False, _need_reload=True During handling of the above exception, another exception occurred: ImportError Traceback (most recent call last) ImportError: Version check of the existing lazylinker compiled file. Looking for version 0.211, but found None. Extra debug information: force_compile=False, _need_reload=True During handling of the above exception, another exception occurred: Exception Traceback (most recent call last) File ~/miniconda3/envs/pflex1/lib/python3.8/site-packages/theano/gof/lazylinker_c.py:139 File ~/miniconda3/envs/pflex1/lib/python3.8/site-packages/theano/gof/cmodule.py:2410, in GCC_compiler.compile_str(module_name, src_code, location, include_dirs, lib_dirs, libs, preargs, py_module, hide_symbols) Exception: Compilation failed (return status=1): In file included from /home/manoj/miniconda3/envs/pflex/x86_64-conda-linux-gnu/sysroot/usr/include/limits.h:27,. from /home/manoj/miniconda3/envs/pflex1/include/python3.8/Python.h:11,. from /home/manoj/.theano/compiledir_Linux-6.8--generic-x86_64-with-glibc2.10-x86_64-3.8.19-64/lazylinker_ext/mod.cpp:1:. /home/manoj/miniconda3/envs/pflex/x86_64-conda-linux-gnu/sysroot/usr/include/features.h:327: warning: "STDC_IEC_559" redefined. 327 | #define STDC_IEC_559 1. | . In file included from :. /usr/include/stdc-predef.h:38: note: this is the location of the previous definition. 38 | # define STDC_IEC_559 1. | . /home/manoj/miniconda3/envs/pflex/x86_64-conda-linux-gnu/sysroot/usr/include/features.h:328: warning: "STDC_IEC_559_COMPLEX" redefined. 328 | #define STDC_IEC_559_COMPLEX 1. | . /usr/include/stdc-predef.h:48: note: this is the location of the previous definition. 48 | # define STDC_IEC_559_COMPLEX 1. | . /home/manoj/miniconda3/envs/pflex/x86_64-conda-linux-gnu/sysroot/usr/include/features.h:331: warning: "STDC_ISO_10646" redefined. 331 | #define STDC_ISO_10646 200009L. | . /usr/include/stdc-predef.h:62: note: this is the location of the previous definition. 62 | #define STDC_ISO_10646 201706L. | . /home/manoj/miniconda3/envs/pflex1/bin/ld: /lib/x86_64-linux-gnu/libm.so.6: unknown type [0x13] section During handling of the above exception, another exception occurred: AttributeError Traceback (most recent call last) File ~/PlateFlex/plateflex/init.py:157 File ~/PlateFlex/plateflex/estimate.py:56 File ~/miniconda3/envs/pflex1/lib/python3.8/site-packages/pymc3/init.py:39 File ~/miniconda3/envs/pflex1/lib/python3.8/site-packages/pymc3/init.py:33, in __set_compiler_flags() File ~/miniconda3/envs/pflex1/lib/python3.8/site-packages/theano/init.py:110 File ~/miniconda3/envs/pflex1/lib/python3.8/site-packages/theano/compile/init.py:12 File ~/miniconda3/envs/pflex1/lib/python3.8/site-packages/theano/compile/mode.py:11 File ~/miniconda3/envs/pflex1/lib/python3.8/site-packages/theano/gof/vm.py:683 AttributeError: partially initialized module 'theano' has no attribute 'gof' (most likely due to a circular import) Can you please guide me to fix the above issue? |
good afternoon everyone!
Guys, next: I managed to install everything just right, but I'm having trouble reading my generated file, I opened the "Topo_NA" file of the examples left, and compared it with mine, and then the following question came to me: where was it extracted from , or how to calculate that part of the top that you have in the example file?
ETOPO1_NA.grd 0 6805.75136468 0 6819.00580269 -8302.53808594 3603.22363281 20.0169157785 19.9970844654 341 342
0 6819.00580269 -31.3442268372
the only difference between my file and the example is: it doesn't have the top, I saw that it has nx,ny and some information passed in the example file, but where does that come from? if anyone can give me a tip i would appreciate it. thanks!
The text was updated successfully, but these errors were encountered: