Changeset 26041


Ignore:
Timestamp:
03/05/21 15:21:18 (4 years ago)
Author:
Mathieu Morlighem
Message:

CHG: can provide path to dataset

File:
1 edited

Legend:

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

    r25424 r26041  
    1010end
    1111if nargin<5
    12         %ncdate='2014-03-12';
    13         %ncdate='2014-04-28';
    14         %ncdate='2014-07-31';
    15         %ncdate='2014-09-23';
    16         %ncdate='2015-11-06';
    17         %ncdate='2015-12-09';
    18         ncdate='2016-06-10';
    19         ncdate='2016-08-26';
    20         ncdate='2016-11-17';
    21         ncdate='2017-01-05';
    22         ncdate='2017-03-10';
    23         ncdate='2018-02-02';
    24         ncdate='2018-03-20';
    25         ncdate='2018-05-18';
    26         ncdate='2018-06-08';
    27         ncdate='2018-09-26';
    28         ncdate='2018-11-14';
    29         ncdate='2019-01-30';
    30         ncdate='2019-03-12';
    31         ncdate='2019-04-02';
    32         ncdate='2019-04-15'; % no need of firn correction
    33         ncdate='2020-06-18';
    34         ncdate='2020-07-15'; %BedMachine v2?
     12        ncdate='2020-07-15'; %BedMachine v2
    3513end
    3614
     
    4422                nc=['/u/astrid-r1b/ModelData/BedMachine/' basename '-' ncdate '.nc'];
    4523        otherwise
    46                 error('hostname not supported yet');
     24                if nargin==5
     25                        nc = ncdate;
     26                        disp(['Using provided path: ' nc]);
     27                else
     28                        error('hostname not supported and path not provided');
     29                end
    4730end
    4831
Note: See TracChangeset for help on using the changeset viewer.