Ignore:
Timestamp:
10/25/23 12:50:47 (17 months ago)
Author:
badgeley
Message:

CHG: The SMBgradients class now expects smb units of m/yr ice eq.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/classes/SMBgradients.m

    r27405 r27967  
    4747                                md = checkfield(md,'fieldname','smb.href','timeseries',1,'NaN',1,'Inf',1);
    4848                                md = checkfield(md,'fieldname','smb.smbref','timeseries',1,'NaN',1,'Inf',1);
     49                                if max(max(abs(md.smb.smbref(1:end-1,:))))<1
     50              disp('!!! Warning: SMBgradients now expects smbref to be in m/yr ice eq. instead of mm/yr water eq.');
     51            end
    4952                                md = checkfield(md,'fieldname','smb.b_pos','timeseries',1,'NaN',1,'Inf',1);
    5053                                md = checkfield(md,'fieldname','smb.b_neg','timeseries',1,'NaN',1,'Inf',1);
     
    5962                        disp(sprintf('\n   SMB gradients parameters:'));
    6063                        fielddisplay(self,'href',' reference elevation from which deviation is used to calculate SMB adjustment in smb gradients method [m]');
    61                         fielddisplay(self,'smbref',' reference smb from which deviation is calculated in smb gradients method [mm/yr water equiv]');
     64                        fielddisplay(self,'smbref',' reference smb from which deviation is calculated in smb gradients method [m/yr ice equiv]');
    6265                        fielddisplay(self,'b_pos',' slope of hs - smb regression line for accumulation regime required if smb gradients is activated');
    6366                        fielddisplay(self,'b_neg',' slope of hs - smb regression line for ablation regime required if smb gradients is activated');
Note: See TracChangeset for help on using the changeset viewer.