Open Jithinpm opened 3 years ago
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
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 https://github.com/paddy-seismic/retreat/issues/2#issuecomment-857873339, 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 IN.CAL.BHZ 22.54 88.33 6 IN.MDRS.HHZ 13.07 80.25 15 IN.RAGD.BHZ 19.25 83.46 225 IN.VISK.HHZ 17.72 83.33 82 for_inventory.txt
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.
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.
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?
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
IN.BWNR.BHZ 20.30 85.81 46 IN.CAL.BHZ 22.54 88.33 6 IN.MDRS.HHZ 13.07 80.25 15 IN.RAGD.BHZ 19.25 83.46 225 IN.VISK.HHZ 17.72 83.33 82 for_inventory.txt
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
As per you sed, I am not seeing any ASCII format when I drop down the file format option. Do I need to update or something to get the ASCII format in the drop-down?
Hereby attaching an image of my dropdown window when I click the file format option.
### "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"
Yes, those are with lat/long data.
Sir, How long-distance station can we use for the beamforming process?
Hi Jithin,
As per you sed, I am not seeing any ASCII format when I drop down the file format option. Do I need to update or something to get the ASCII format in the drop-down?
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
inv_type=['STATIONXML', 'SEED', 'XSEED', 'ASCII'],
How long-distance station can we use for the beamforming process? Even at extremely low frequencies the seismic waves will not be coherent over several hundred km. I would suggest a maximum aperture/spacing of a few tens of km, but it really depends on what you are trying to do/study.
Hope that helps, Regards
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.
IN.BWNR..BHZ IN.CAL..BHZ IN.RAGD..BHZ
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
This is my location ASCII file IN.BWNR.BHZ 20.30 85.81 46.0 IN.CAL.BHZ 22.54 88.33 6.0 IN.RAGD.BHZ 19.25 83.46 225.0
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.
Sir now the program output box is blank (full white colour) while running as per you sed.
Hi Jithan, Sorry, without more information I'm not sure I can help.
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