Ignore:
Timestamp:
10/01/14 10:30:08 (10 years ago)
Author:
Mathieu Morlighem
Message:

NEW: removed md.mesh.hemisphere and replaced by md.mesh.epsg which gives the EPSG code for the projection that is being used

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/plot/radarpower.m

    r17224 r18558  
    3636%figure out if we should go look for Greenland or Antarctica geotiff, or if user provided one.
    3737if ~exist(options,'overlay_image'),
    38         if strcmpi(md.mesh.hemisphere,'n'),
     38        if md.mesh.epsg==3413,
    3939                %if ~exist(['/u/astrid-r1b/ModelData/MOG/mog150_greenland_map.jpg']),
    4040                %       error(['radarpower error message: file ' '/u/astrid-r1b/ModelData/MOG/mog150_greenland_map.jpg not found.']);
     
    106106                system('rm -rf ./temp.tif');
    107107
    108         elseif strcmpi(md.mesh.hemisphere,'s'),
     108        elseif md.mesh.epsg==3031,
    109109                if ~exist(options,'geotiff_name'),
    110110                        if highres,
     
    138138
    139139        else
    140                 error('field hemisphere should either be ''n'' or ''s''');
     140                error('EPSG code not supported yet (ex: 3413 for UPS Greenland, 3031 for UPS Antarctica)');
    141141        end
    142142else
Note: See TracChangeset for help on using the changeset viewer.