Changeset 27967 for issm/trunk-jpl/src/m/classes/SMBgradients.m
- Timestamp:
- 10/25/23 12:50:47 (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/SMBgradients.m
r27405 r27967 47 47 md = checkfield(md,'fieldname','smb.href','timeseries',1,'NaN',1,'Inf',1); 48 48 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 49 52 md = checkfield(md,'fieldname','smb.b_pos','timeseries',1,'NaN',1,'Inf',1); 50 53 md = checkfield(md,'fieldname','smb.b_neg','timeseries',1,'NaN',1,'Inf',1); … … 59 62 disp(sprintf('\n SMB gradients parameters:')); 60 63 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 [m m/yr waterequiv]');64 fielddisplay(self,'smbref',' reference smb from which deviation is calculated in smb gradients method [m/yr ice equiv]'); 62 65 fielddisplay(self,'b_pos',' slope of hs - smb regression line for accumulation regime required if smb gradients is activated'); 63 66 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.