Changeset 28074


Ignore:
Timestamp:
01/25/24 13:04:10 (14 months ago)
Author:
bgetraer
Message:

CHG: interpISMIP6AntarcticaOcn.m and interpISMIP6AntarcticaSMB.m: generalize to address bugs in locating the data files for certain models

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/parameterization/interpISMIP6AntarcticaSMB.m

    r28065 r28074  
    3535% search for smb files in the ISMIP climate model directory
    3636rootname=[path model_name '/Regridded_2km/']; % root directory for the climate model files
    37 smbclimfile=dir([rootname '*_2km_clim_1995-2014.nc']); % climatology file if found
    38 smbanomfile=dir([rootname '*_2km_anomaly_1995-2100.nc']); % anomaly file if found
     37smbclimfile=dir([rootname '*_2km_clim*_1995-2014.nc']); % climatology file if found
     38smbanomfile=dir([rootname '*_2km_anomaly*_1995-2100.nc']); % anomaly file if found
    3939
    4040% throw error if files are not found, or if the file search is not unique
Note: See TracChangeset for help on using the changeset viewer.