Changeset 26624


Ignore:
Timestamp:
11/15/21 10:47:50 (3 years ago)
Author:
Mathieu Morlighem
Message:

CHG: updating some scripts for totten

Location:
issm/trunk-jpl/src/m/contrib/morlighem/modeldata
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/contrib/morlighem/modeldata/interpBedmap2.m

    r25631 r26624  
    1818%      [dataout] = interpBedmap2(X,Y,string)
    1919
    20 nc = '/home/ModelData/Antarctica/BedMap2/bedmap2_bin/Bedmap2.nc';
     20switch (oshostname()),
     21        case {'ronne'}
     22                nc = '/home/ModelData/Antarctica/BedMap2/bedmap2_bin/Bedmap2.nc';
     23        case {'totten'}
     24                nc = '/totten_1/ModelData/Antarctica/BedMap2/bedmap2_bin/Bedmap2.nc';
     25        otherwise
     26                error('hostname not supported yet');
     27end
    2128if exist(nc,'file')
    2229        if strcmp(string,'thickness_uncertainty_5km')
  • issm/trunk-jpl/src/m/contrib/morlighem/modeldata/interpGeoid.m

    r23873 r26624  
    66        case {'ronne'}
    77                rootname='/home/ModelData/Global/Geoid/eigen-6c4-1970.mat';
     8        case {'totten'}
     9                rootname='/totten_1/ModelData/Global/Geoid/eigen-6c4-1970.mat';
    810        otherwise
    911                error('machine not supported yet');
  • issm/trunk-jpl/src/m/contrib/morlighem/modeldata/interpRACMOant.m

    r23873 r26624  
    11function smb = interpRACMOant(x,y);
    22
    3         smbfile = '/home/ModelData/Antarctica/RACMO2SMB/SMB_RACMO2.3_1979_2011.nc';
     3switch oshostname(),
     4        case {'ronne'}
     5                smbfile = '/home/ModelData/Antarctica/RACMO2SMB/SMB_RACMO2.3_1979_2011.nc';
     6        case {'totten'}
     7                smbfile = '/totten_1/ModelData/Antarctica/RACMO2SMB/SMB_RACMO2.3_1979_2011.nc';
     8        otherwise
     9                error('machine not supported yet');
     10end
    411        LAT=ncread(smbfile,'lat2d')';
    512        LON=ncread(smbfile,'lon2d')';
  • issm/trunk-jpl/src/m/contrib/morlighem/modeldata/interpSmith2020.m

    r25798 r26624  
    3333                        path='/home/ModelData/Antarctica/DHDTSmith/';
    3434                end
     35        case {'totten'}
     36                if strcmp(string,'gris_filt') | strcmp(string,'gris')
     37                        path='/totten_1/ModelData/Greenland/DHDTSmith/';
     38                else
     39                        path='/totten_1/ModelData/Antarctica/DHDTSmith/';
     40                end
    3541        case {'recruta'}
    3642                path='/home/santos/ModelData/ICESat1_ICESat2_mass_change/';
Note: See TracChangeset for help on using the changeset viewer.