-
Notifications
You must be signed in to change notification settings - Fork 22
Description
Hi again, I received an error for strain calculation with gpsgridder. My files are attached and so is the message error. I'll be happy for your advice. Thanks!
strain_config_gpsgridder_Isr.txt
StrainTensor_input.txt
D:\Ariel\Phd\Strain_software\Strain_2D\example>python ..\Strain_Tools\bin\strain_rate_compute.py strain_config_gpsgridder_Isr.txt
Hello! We are...
Computing strain using : gpsgridder
Input data from : ../test/testing_data/StrainTensor_input.txt
Calculation range : [34.0, 36.1, 32.1, 33.9]
Putting the outputs : Output/gpsgridder/
Reading file ../test/testing_data/StrainTensor_input.txt
11 stations before applying cleaning.
11 stations after imposing bounding box.
Computing strain via gpsgridder method.
writing vector output file tempgps.txt
gmt gpsgridder tempgps.txt -R33.98/36.120000000000005/32.08/33.92 -I0.04/0.04 -S0.5 -Fd0.01 -C0.0001 -Emisfitfile.txt -fg -r -Gnc_%s.nc
gpsgridder [WARNING]: (x_max-x_min) must equal (NX + eps) * x_inc), where NX is an integer and |eps| <= 0.0001.
gpsgridder (gmt_api.c:2126(gmtapi_init_grdheader)): Please select compatible -R and -I values
gpsgridder [WARNING]: (x_max-x_min) must equal (NX + eps) * x_inc), where NX is an integer and |eps| <= 0.0001.
gpsgridder (gmt_api.c:2126(gmtapi_init_grdheader)): Please select compatible -R and -I values
Traceback (most recent call last):
File "D:\Ariel\Phd\Strain_software\Strain_2D\Strain_Tools\bin\strain_rate_compute.py", line 11, in
internal_coordinator.strain_coordinator(MyParams);
File "C:\Users\Odelya\AppData\Local\Programs\Python\Python310\lib\site-packages\strain_2d-1.1.1-py3.10.egg\strain\internal_coordinator.py", line 26, in strain_coordinator
[Ve, Vn, rot, exx, exy, eyy, vels, resids] = constructed_object.compute(velField); # computing strain
File "C:\Users\Odelya\AppData\Local\Programs\Python\Python310\lib\site-packages\strain_2d-1.1.1-py3.10.egg\strain\models\strain_gpsgridder.py", line 24, in compute
[Ve, Vn, rot_grd, exx_grd, exy_grd, eyy_grd] = compute_gpsgridder(myVelfield, self._strain_range,
File "C:\Users\Odelya\AppData\Local\Programs\Python\Python310\lib\site-packages\strain_2d-1.1.1-py3.10.egg\strain\models\strain_gpsgridder.py", line 66, in compute_gpsgridder
subprocess.call(['rm', 'tempgps.txt'], shell=False);
File "C:\Users\Odelya\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 345, in call
with Popen(*popenargs, **kwargs) as p:
File "C:\Users\Odelya\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 966, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\Odelya\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1435, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified