Changeset 24880


Ignore:
Timestamp:
05/21/20 18:55:06 (5 years ago)
Author:
Eric.Larour
Message:

CHG: viewer for sea level models.

Location:
issm/trunk-jpl/src/m/contrib/larour
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/contrib/larour/glacier_inventory.m

    r24879 r24880  
    119119                end
    120120                %}}}
     121                function varargout=loadcontour(self,id) % {{{
     122                       
     123                        %go find the projected contours for an 'id' region:
     124                        disp(['reading projected shapefile for region: '  self.regions(id).name]);
     125                        contours=shaperead([self.root '/' self.regions(id).name '.laeaproj.shp']);
     126                        self.regions(id).contours=contours;
     127
     128                        if nargout==1,
     129                                varargout{1}=contours;
     130                        end
     131
     132                end
     133                %}}}
    121134                function disp(self) % {{{
    122135                        disp(sprintf('   Glacier inventory:'));
Note: See TracChangeset for help on using the changeset viewer.