Changeset 27517
- Timestamp:
- 01/17/23 06:13:52 (3 years ago)
- Location:
- issm/trunk-jpl/src/m/contrib/morlighem/modeldata
- Files:
-
- 2 edited
-
interpAdusumilliIceShelfMelt.m (modified) (1 diff)
-
interpRignotIceShelfMelt.m (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/contrib/morlighem/modeldata/interpAdusumilliIceShelfMelt.m
r27514 r27517 1 1 function output = interpAdusumilliIceShelfMelt(X,Y) 2 %INTERPADUSUMILLIICESHELFMELT imports basal melt rates from (Adusumilli et al., 2020).3 % About the data: "Average basal melt rates for Antarctic ice shelves for the 2010–2018 period at4 % high spatial resolution, estimated using CryoSat-2 data. This data file was last updated on 2020-06-11."2 %INTERPADUSUMILLIICESHELFMELT - imports basal melt rates from (Adusumilli et al., 2020). 3 % About the data: "Average basal melt rates for Antarctic ice shelves for the 2010–2018 period at 4 % high spatial resolution, estimated using CryoSat-2 data. This data file was last updated on 2020-06-11." 5 5 % 6 % Citation: Adusumilli, Susheel; Fricker, Helen A.; Medley, Brooke C.; Padman, Laurie; Siegfried, Matthew R. (2020).7 % Data from: Interannual variations in meltwater input to the Southern Ocean from Antarctic ice shelves.8 % UC San Diego Library Digital Collections. https://doi.org/10.6075/J04Q7SHT6 % Citation: Adusumilli, Susheel; Fricker, Helen A.; Medley, Brooke C.; Padman, Laurie; Siegfried, Matthew R. (2020). 7 % Data from: Interannual variations in meltwater input to the Southern Ocean from Antarctic ice shelves. 8 % UC San Diego Library Digital Collections. https://doi.org/10.6075/J04Q7SHT 9 9 % 10 % Written by Benjamin Getraer Jan 202311 % Adapted from interpRignotIceShelfMelt10 % Usage: 11 % output = interpAdusumilliIceShelfMelt(X,Y) 12 12 13 % define path and filename for this machine14 switch (oshostname()),15 case {'totten'}16 filename ='/totten_1/ModelData/Antarctica/Adusumilli2020IceShelfMelt/ANT_iceshelf_melt_rates_CS2_2010-2018_v0.h5';17 otherwise18 error('hostname not supported yet');19 end13 % define path and filename for this machine 14 switch (oshostname()), 15 case {'totten'} 16 filename ='/totten_1/ModelData/Antarctica/Adusumilli2020IceShelfMelt/ANT_iceshelf_melt_rates_CS2_2010-2018_v0.h5'; 17 otherwise 18 error('hostname not supported yet'); 19 end 20 20 21 disp([' -- Adusumilli Ice Shelf Melt: loading melt data']);22 % read in coordinates:23 % coordinates are in Polar Stereographic projection 'PS-71'24 xdata = double(h5read(filename,'/x'));25 ydata = double(h5read(filename,'/y'));21 disp([' -- Adusumilli Ice Shelf Melt: loading melt data']); 22 % read in coordinates: 23 % coordinates are in Polar Stereographic projection 'PS-71' 24 xdata = double(h5read(filename,'/x')); 25 ydata = double(h5read(filename,'/y')); 26 26 27 % read in data:28 % 'Basal melt rate (2010–2018), in meters of ice equivalent per year, positive is melting'29 % 'For ice shelf areas where CryoSat-2 data were not available, w_b_interp provides the30 % mean melt rate measured at the same ice draft as the grid cell elsewhere on the ice shelf.31 % Ice draft was estimated using BedMachine data.'32 data = double(h5read(filename,'/w_b'));33 data_interp = double(h5read(filename,'/w_b_interp'));34 data = data';35 disp([' -- Adusumilli Ice Shelf Melt: interpolating melt data']);36 data(isnan(data)) = data_interp(isnan(data));37 output = InterpFromGrid(xdata,ydata,data,X(:),Y(:));38 output = reshape(output,size(X,1),size(X,2));27 % read in data: 28 % 'Basal melt rate (2010–2018), in meters of ice equivalent per year, positive is melting' 29 % 'For ice shelf areas where CryoSat-2 data were not available, w_b_interp provides the 30 % mean melt rate measured at the same ice draft as the grid cell elsewhere on the ice shelf. 31 % Ice draft was estimated using BedMachine data.' 32 data = double(h5read(filename,'/w_b')); 33 data_interp = double(h5read(filename,'/w_b_interp')); 34 data = data'; 35 disp([' -- Adusumilli Ice Shelf Melt: interpolating melt data']); 36 data(isnan(data)) = data_interp(isnan(data)); 37 output = InterpFromGrid(xdata,ydata,data,X(:),Y(:)); 38 output = reshape(output,size(X,1),size(X,2)); -
issm/trunk-jpl/src/m/contrib/morlighem/modeldata/interpRignotIceShelfMelt.m
r26862 r27517 1 function output = interpRignotIceShelfMelt(X,Y,string), 1 function output = interpRignotIceShelfMelt(X,Y,string) 2 %INTERPRIGNOTICESHELFMELT - interp melt rates from Rignot et al. 2013 3 % 4 % Usage: 5 % output = interpRignotIceShelfMelt(X,Y) 2 6 3 switch (oshostname()) ,7 switch (oshostname()) 4 8 case {'ronne'} 5 9 rignotmelt='/home/ModelData/Antarctica/RignotMeltingrate/Ant_MeltingRate.nc';
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/trac/issm/chrome/common/trac_banner.png)