Changeset 23461


Ignore:
Timestamp:
Nov 7, 2018, 2:25:07 PM (8 years ago)
Author:
Mathieu Morlighem
Message:

BUG: wrong field name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/shp/shp2exp.m

    r21781 r23461  
    4040                        expstruct(end).name=num2str(shp(i).id);
    4141                elseif isfield(shp(i),'NAME'),
    42                         expstruct(end).name=num2str(shp(i).SUBREGION1);
     42                        expstruct(end).name=num2str(shp(i).NAME);
    4343                elseif isfield(shp(i),'SUBREGION1'),
    4444                        expstruct(end).name=num2str(shp(i).SUBREGION1);
Note: See TracChangeset for help on using the changeset viewer.