Changeset 24878
- Timestamp:
- 05/20/20 16:12:13 (5 years ago)
- Location:
- issm/trunk-jpl/src/m/contrib/larour
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/contrib/larour/applyqgisstyle.m
r24858 r24878 13 13 if strcmpi(type,'mesh'), 14 14 system(['cp /Users/larour/issm-jpl/usr/larour/Qgis/Mesh.qml ' newname]); 15 elseif strcmpi(type,'line'), 16 system(['cp /Users/larour/issm-jpl/usr/larour/Qgis/LineStyle.qml ' newname]); 17 elseif strcmpi(type,'point'), 18 system(['cp /Users/larour/issm-jpl/usr/larour/Qgis/SummitStyle.qml ' newname]); 15 19 else 16 20 error(['applyqgisstyle error message: ' type ' style not supported yet']); -
issm/trunk-jpl/src/m/contrib/larour/glacier_inventory.m
r24855 r24878 29 29 function self = glacier_inventory(varargin) % {{{ 30 30 31 self=setdefaultparameters(self);32 33 31 options=pairoptions(varargin{:}); 34 32 … … 57 55 CenLon=zeros(length(contours),1); 58 56 CenLat=zeros(length(contours),1); 57 Connectivity=zeros(length(contours),1); 59 58 for j=1:length(contours), 60 59 O1Region(j)=str2num(contours(j).O1Region); … … 63 62 CenLon(j)=contours(j).CenLon; 64 63 CenLat(j)=contours(j).CenLat; 64 Connectivity(j)=contours(j).Connect; 65 65 end 66 66 self.regions(i).Area=Area; … … 69 69 self.regions(i).CenLat=CenLat; 70 70 self.regions(i).CenLon=CenLon; 71 self.regions(i).Connectivity=Connectivity; 71 72 self.regions(i).lids=[1:length(contours)]'; 72 73 self.regions(i).gids=self.regions(i).lids+counter; … … 91 92 subsetregions=getfieldvalue(options,'regions',1:length(self.boxes)); 92 93 errornotfound=getfieldvalue(options,'errornotfound',1); 94 plotr=getfieldvalue(options,'plot',0); 93 95 94 96 %The way we run this is through the O2 zones defined in boxes. We go through … … 366 368 function name=ridtoname(self,rid) % {{{ 367 369 368 fullname=self.region (rid).name;370 fullname=self.regions(rid).name; 369 371 name=fullname(10:end); 370 372
Note:
See TracChangeset
for help on using the changeset viewer.