Page 1 of 1
Windows command line
Posted: Fri Jun 19, 2020 8:30 pm
by laleh
Hi,
I am wondering if I can use Windows command line for some batch processing (e.g. cutting traces for many days)? on the website, it looks like it is only available for Linux users.
Thank you!
Re: Windows command line
Posted: Fri Jun 19, 2020 8:49 pm
by admin
Hi,
There are several tools under Windows to emulate a bash terminal.
- If you install git for Windows, there is nice terminal available (the one I'm using for compiling geopsy).
- MobaXterm
- Cygwin
- MSYS
- ...
I also read that it possible also to install a true Ubuntu/Windows terminal and X server for Windows 10. It is not that straight forward but there are tutorials.
The mini terminal provided in GeopsyLand is very limited and we use it only for very basic operations especially while teaching.
Any geopsy applications can be started from a terminal. To get the list of options you can add option '-h' to get the most important options, '-h all' to get all descriptions and '-h 1' to restrict to first level of options.
Note that geopsy does not necessary need traces to be cut for processing arrays and H/V, instead time range to process can be specified in the parameters. You can try the latest command line tools geopsy-fk, geopsy-spac and geopsy-hv for massive datasets (in 3.3.0 out in a few days). For instance, a script may loop over several days just providing a sliding time range and keeping other parameters constant.
Re: Windows command line
Posted: Wed Jun 24, 2020 11:54 pm
by laleh
Many thanks Marc, your reply is rally helpful, I would try these solutions and happily looking forward to get version 3.3.0!
Re: Windows command line
Posted: Thu Jul 16, 2020 8:11 am
by admin
Version 3.3.1 is out now
Re: Windows command line
Posted: Thu Apr 15, 2021 5:56 pm
by laleh
Hi Marc,
I wondered if there is any way to create the database for geopsy-hv using the command line instead of using the GUI?
When I run only 1 station data using geopsy-hv, it works well but when I give it a larger database consisting of a few more stations it stops. (screenshot attached).
Thanks,
Laleh
Re: Windows command line
Posted: Tue May 18, 2021 12:50 pm
by admin
Re: Windows command line
Posted: Wed Aug 04, 2021 3:56 pm
by laleh
Hi Marc,
Thanks for the update. I wondered what command I should use now instead of -db for the list of files? I use geopsy-hv -db filename -param filename
what is the modification I should make now? Thanks a lot!
Re: Windows command line
Posted: Thu Aug 05, 2021 7:34 am
by admin
You can skip the option '-db' and just list files. Even for .gpy files you can skip '-db'
Re: Windows command line
Posted: Tue Aug 10, 2021 5:22 pm
by laleh
Thank you! what if we have different files for each component at each station? 3 different files per station.
Re: Windows command line
Posted: Thu Aug 12, 2021 4:00 pm
by admin
Exactly, all files you provide will be considered as signals to be used exactly like moving signals into a viewer in the graphical interface.
Re: Windows command line
Posted: Thu Aug 26, 2021 8:22 pm
by laleh
Hi, I have used the new Geopsy version to calculate H/V, I have compared the results calculated with the same version of geopsy-hv and just using the database vs. listing the files, and I get slightly different values in the number of windows and also the amplitudes after the second decimal number. I wonder what causes these differences? Thank you!
Re: Windows command line
Posted: Thu Sep 02, 2021 8:31 am
by admin
Hi,
Can you save the results obtained inside the graphical interface? Then, post them here with the .hv and .log files produced by the command line? The first thing to check is the parameter values. They are maybe slightly different. But normally the code is the same for both implementations. Evermore, they share the same library for computing the H/V, the difference is the interface with the user.
Best regards,
Marc