Changeset 27786
- Timestamp:
- 06/09/23 14:12:25 (22 months ago)
- Location:
- issm/trunk-jpl/src/m/coordsystems
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/coordsystems/gmtmask.m
r27752 r27786 47 47 [status,result]=system(['gmt select ./' filename_all ' ' gmt_select_options ' > ./' filename_oce]); 48 48 if status~=0, 49 %assume we are working with GMT 6.0.0 50 gmt_select_options='-h0 -Df -R0/360/-90/90 -A0 -JQ180/200 -Nk/s/s/k/s'; 49 51 [status,result] = system(['gmtselect ./' filename_all ' ' gmt_select_options ' > ./' filename_oce]); 50 52 if status~=0, -
issm/trunk-jpl/src/m/coordsystems/gmtmask.py
r27752 r27786 53 53 outs, errs = subproc.communicate() 54 54 if errs != '': 55 # Assume we are working with GMT 6.0.0 56 gmt_select_options = '-h0 -Df -R0/360/-90/90 -A0 -JQ180/200 -Nk/s/s/k/s' 55 57 subproc_cmd = 'gmtselect ./all_vertices.txt ' + gmt_select_options + ' > ./oce_vertices.txt' 56 58 subproc = subprocess.Popen(subproc_cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True)
Note:
See TracChangeset
for help on using the changeset viewer.