Changeset 27786
- Timestamp:
- 06/09/23 14:12:25 (2 years ago)
- Location:
- issm/trunk-jpl/src/m/coordsystems
- Files:
- 
      - 2 edited
 
 - 
          
  gmtmask.m (modified) (1 diff)
- 
          
  gmtmask.py (modified) (1 diff)
 
Legend:
- Unmodified
- Added
- Removed
- 
      issm/trunk-jpl/src/m/coordsystems/gmtmask.mr27752 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.pyr27752 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.
  ![(please configure the [header_logo] section in trac.ini)](/trac/issm/chrome/common/trac_banner.png)
