-
Notifications
You must be signed in to change notification settings - Fork 6
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 in opening GUI windowd #2
Comments
Hi Jithin, I have not tested the code using Ubuntu under Windows, only natively using Linux, Windows etc. From the screenshot, the
message would suggest you have a display issue? I assume you have a working X-server or similar running and are able to open other GUI applications (xclock, xcalc etc.)? If not then check this first. Otherwise, maybe try setting the DISPLAY variable, i.e. type:
into your terminal before starting the program. Regards, Paddy |
Thank you for your reply sir,
The program works, I just typ the below command in my windows run
"C:\Program Files\VcXsrv\vcxsrv.exe" :0 -multiwindow -clipboard -wgl -ac
Then in ubuntu, I typed:
export DISPLAY_NUMBER="0.0"
export DISPLAY=$(grep -m 1 nameserver /etc/resolv.conf | awk '{print
$2}'):$DISPLAY_NUMBER
Then I opened the program by typing
python3 -m retreat -w
The program works with the given test data from IRIS, I have mseed/sac data
in my local directory. Can you please guide me on how to open that data in
this program and get the result?
If you can help me out it's really helpful for me to complete my work.
THANKFULLY
JITHIN PM
…On Wed, Jun 9, 2021 at 10:33 PM Patrick Smith ***@***.***> wrote:
Hi Jithin,
I have not tested the code using Ubuntu under Windows, only natively using
Linux, Windows etc.
From the screenshot, the
_tkinter.TclError: no display name and no $DISPLAY environment variable
message would suggest you have a display issue?
I assume you have a working X-server or similar running and are able to
open other GUI applications (xclock, xcalc etc.)? If not then check this
first.
Otherwise, maybe try setting the DISPLAY variable, i.e. type:
export DISPLAY=0.0
xhost +
into your terminal before starting the program.
Regards,
Paddy
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASQFRRTEKT2HGOXSVWR42FLTR6NHJANCNFSM46MIWE6A>
.
|
I don't have an inventory file and scnl file. I only have mseed data of 5 stations. So how can we make an inventory file and how can I load my data into the program? Can anyone please help me out? As per the website information, If we don't have an inventory file then asked to create a text file with seed id and location. So am giving below the seed id and location of my station. Please help me convert this file to an inventory file. IN.BWNR.BHZ 20.30 85.81 46 |
Hi Jithin, You don't need to create an inventory specifically. The only essential information needed for the array processing is the station locations. You can use the text file you created as it is - you just need to select ASCII format for the file format.
You first need to choose the approriate file format from the drop-down menu. Then you need to specifiy the path to the data in the SDS directory box. If this is not stored in a directory structure with the standard SDS format you can specify your directory structure/filenames using the custom format box
One comment I have though - I assume these are the station locations in lat/lon? If so, they are many hundreds of km apart. I am not sure what you are planning to use this data to look at, but this array configuration is probably not suitable for typical seismic slownesses/frequencies |
Hi Jithin,
Apologies - the problem was in the defaults_input_values.py file, I had updated the one for the real-time example but not the archive one. I have fixed this now, so you can either re-download, or just change the inv_type variable in your default_input_values.py file to
Hope that helps, |
It works. But while running still some error is coming. Can you please help me solve that issue? --- This is the data name that I used to process (renamed same as the test data provided)
This is my UR.SCNL file
This is my location ASCII file
Hereby attaching the screenshot of the processing window and error window. |
Hi Jithin, You have not checked the box to say you are using an external SCNL file, so it is trying (and failing) to find channels matching UR*.HHZ.VI.. (as speficifed in the SCNL boxes) in your data.
You only need to use a separate file with a list of channels etc if you can't represent all the channels you want using wildcards. In your case, everything is the same network, so you could just use: * BHZ IN * etc in the SCNL boxes
I think you have lat/lon the wrong way round. The format is: SEED_id, longitude, latitude, elevation Regards, |
Sir now the program output box is blank (full white colour) while running as per you sed. |
Hi Jithan, |
Respected sir/madam,
I downloaded the program using the code "git clone --recursive https://git.dias.ie/paddy/retreat" through Ubuntu in windows. And I install the requirements.txt file. After that, while opening the GUI window some error is coming I don't know how to solve the issue. Can you please solve the issue for me. Hereby attaching the screenshot of the error while using the command python3 -m retreat and python3 -m retreat -w.
Please help me out.
Jithin P M
The text was updated successfully, but these errors were encountered: