On 11/23/2015 6:12 AM, Lester Anderson wrote:
>
> Using the path as Q:/... worked but the Cygrdrive/q/... did not.
>
Because as Marco already pointed out it is /cygdrive/q/ and not
cygdrive/q/. Q:/ works just because it is a Windows supported method
but the preferred method is /cygdrive/q/. No
Thanks Peter! Finally got the test script to run :
#!/bin/bash
ruta_elev="Q:/geophys/Potential-field datasets/Topography/topo_17.1.img"
ruta_grav="Q:/geophys/Potential-field datasets/Gravity/grav.img.23.1"
lon_min=-12
lon_max=0
lat_min=28
lat_max=39
echo $lon_min $lon_max $lat_min $lat_max
img2grd
On 2015-11-23 10:51, Lester Anderson wrote:
> Hello,
>
> I tried a very basic script to test this:
>
> #!/bin/bash
> ruta_elev="cygdrive/q/geophys/Potential-field
> datasets/Topography/topo_17.1.img"
> ruta_grav="cygdrive/q/geophys/Potential-field datasets/Gravity/grav.img.23.1"
> # Also tried
>
On 23/11/2015 11:11, Lester Anderson wrote:
Tested the change:
ruta_elev="/cygdrive/q/geophys/Potential-field
datasets/Topography/topo_17.1.img"
ruta_grav="/cygdrive/q/geophys/Potential-field datasets/Gravity/grav.img.23.1"
No errors reported for the path but..
$ bash test4.sh
-12 0 28 39
img2gr
Tested the change:
ruta_elev="/cygdrive/q/geophys/Potential-field
datasets/Topography/topo_17.1.img"
ruta_grav="/cygdrive/q/geophys/Potential-field datasets/Gravity/grav.img.23.1"
No errors reported for the path but..
$ bash test4.sh
-12 0 28 39
img2grd: Syntax error: More than one world image fil
On 23/11/2015 10:51, Lester Anderson wrote:
Hello,
I tried a very basic script to test this:
#!/bin/bash
ruta_elev="cygdrive/q/geophys/Potential-field datasets/Topography/topo_17.1.img"
ruta_grav="cygdrive/q/geophys/Potential-field datasets/Gravity/grav.img.23.1"
sorry typo "/cygdrive/q.."
Hello,
I tried a very basic script to test this:
#!/bin/bash
ruta_elev="cygdrive/q/geophys/Potential-field datasets/Topography/topo_17.1.img"
ruta_grav="cygdrive/q/geophys/Potential-field datasets/Gravity/grav.img.23.1"
# Also tried
# ruta_elev="Q:/geophys/Potential-field datasets/Topography/topo
On 23/11/2015 09:54, Lester Anderson wrote:
Hello,
I am fairly new to using Cygwin, so hope that this query is not too simplistic.
I have a bash script that integrates a lot of GMT commands and also
calls a Fortran program to generate a map output. Now the problem is
how to get the script/Cyg
Hello,
I am fairly new to using Cygwin, so hope that this query is not too simplistic.
I have a bash script that integrates a lot of GMT commands and also
calls a Fortran program to generate a map output. Now the problem is
how to get the script/Cygwin to access two data files on a different
driv
9 matches
Mail list logo