Changeset 18268


Ignore:
Timestamp:
07/18/14 14:43:44 (11 years ago)
Author:
schlegel
Message:

CHG: runme move lat lon conversion to step 7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/examples/Greenland/runme.m

    r18264 r18268  
    150150        ncbox='../Data/Box_Greenland_SMB_monthly_1840-2012_5km_ver20140421.nc';
    151151
    152         %convert mesh x,y into the Box projection
    153         [md.mesh.lat,md.mesh.long]  = xy2ll(md.mesh.x,md.mesh.y,+1,39,71);
    154         [xi,yi]= ll2xy(md.mesh.lat,md.mesh.long,+1,45,70);
    155 
    156152        %Set surface mass balance
    157153        lat  = ncread(ncbox,'lat');
     
    183179
    184180        load smbbox
     181
     182        %convert mesh x,y into the Box projection
     183        [md.mesh.lat,md.mesh.long]  = xy2ll(md.mesh.x,md.mesh.y,+1,39,71);
     184        [xi,yi]= ll2xy(md.mesh.lat,md.mesh.long,+1,45,70);
    185185
    186186        %Interpolate and set surface mass balance
Note: See TracChangeset for help on using the changeset viewer.