Changeset 26721
- Timestamp:
- 12/08/21 19:01:45 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/test/NightlyRun/test4003.m
r26720 r26721 4 4 %Script control parameters 5 5 steps=1:11; 6 steps=[1:3 6:11]; 6 7 7 8 %To download and recompile MITgcm from scratch: 8 !rm -rf ${ISSM_DIR}/test/MITgcm/install9 !rm -rf ${ISSM_DIR}/test/MITgcm/build/*10 !rm -rf Models9 %!rm -rf ${ISSM_DIR}/test/MITgcm/install 10 %!rm -rf ${ISSM_DIR}/test/MITgcm/build/* 11 %!rm -rf Models 11 12 12 13 %Organizer … … 61 62 %create bathymetry: 62 63 bathymetry = ones(Nx,Ny)*H; 63 bathymetry(:, 1) = 0;64 bathymetry(:,end) = 0; 64 65 65 66 %save bathymetry file for MITgcm … … 80 81 for i=1:Nx 81 82 draft(i,:)=Hmin+dHdy*[-1:Ny-2]*dLat; 82 draft(i,1)=0; draft(i,j2:Ny)=0;83 83 end 84 84 … … 86 86 ice_mask(:,j2:Ny)=0; 87 87 iceshelf_mask=ice_mask; 88 iceshelf_mask(:,1)=0;89 88 thickness=abs(draft)/di; 90 thickness(:,1)=thickness(:,2)+draft(:,2);91 89 92 90 savedata(org,ice_mask,iceshelf_mask,draft,thickness); 91 92 close all, figure(2), clf 93 subplot(411), pcolorcen(bathymetry); colorbar, title('bathymetry') 94 subplot(412), pcolorcen(ice_mask); colorbar, title('ice and iceshelf mask') 95 subplot(413), pcolorcen(draft); colorbar, title('draft') 96 subplot(414), pcolorcen(thickness); colorbar, title('thickness') 97 93 98 end 94 99 % }}}
Note:
See TracChangeset
for help on using the changeset viewer.