Changeset 27201


Ignore:
Timestamp:
08/10/22 13:41:19 (3 years ago)
Author:
jdquinn
Message:

BUG: gmt executable syntax

Location:
issm/trunk-jpl/src/m/coordsystems
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/coordsystems/gmtmask.m

    r26184 r27201  
    3636
    3737        %figure out which vertices are on the ocean, which one on the continent:
    38         [status,result] = system(['gmtselect ./' filename_all ' -h0 -Df -R0/360/-90/90  -A0 -JQ180/200 -Nk/s/s/k/s > ./' filename_oce]);
     38        [status,result] = system(['gmt select ./' filename_all ' -h0 -Df -R0/360/-90/90  -A0 -JQ180/200 -Nk/s/s/k/s > ./' filename_oce]);
    3939        if status~=0,
    4040                error(result);
  • issm/trunk-jpl/src/m/coordsystems/gmtmask.py

    r26184 r27201  
    4545
    4646    #figure out which vertices are on the ocean, which one on the continent:
    47     subprocess.call('gmtselect ./ all_vertices.txt -h0 -Df -R0/360/-90/90 -A0 -JQ180/200 -Nk/s/s/k/s > ./oce_vertices.txt', shell=True)
     47    subprocess.call('gmt select ./ all_vertices.txt -h0 -Df -R0/360/-90/90 -A0 -JQ180/200 -Nk/s/s/k/s > ./oce_vertices.txt', shell=True)
    4848
    4949    #read the con_vertices.txt file and flag our mesh vertices on the continent
  • issm/trunk-jpl/src/m/coordsystems/gmtmaskparallel.m

    r27158 r27201  
    4242        fid=fopen('xjobs.script','w');
    4343        for i=1:length(nnv)-1,
    44                 fprintf(fid,'%s gmtselect ./all_vertices%i.txt -h0 -Df -R0/360/-90/90  -A0 -JQ180/200 -Nk/s/s/k/s > ./oce_vertices%i.txt\n',gmtpath,i,i);
     44                fprintf(fid,'%s gmt select ./all_vertices%i.txt -h0 -Df -R0/360/-90/90  -A0 -JQ180/200 -Nk/s/s/k/s > ./oce_vertices%i.txt\n',gmtpath,i,i);
    4545        end
    4646        fclose(fid);
Note: See TracChangeset for help on using the changeset viewer.