Skip to content

Commit 998087c

Browse files
committed
bringing some ISSM/MITgcm files over from the svn slr repo
1 parent 68d0741 commit 998087c

File tree

6 files changed

+560
-0
lines changed

6 files changed

+560
-0
lines changed

test/MITgcm/documents/NOTES

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
The notes below and files in this directory initially originate from the slr svn repo:
2+
svn --username ????? co http://issm.ess.uci.edu/svn/slr
3+
4+
5+
6+
7+
{{{ Meeting with Tony Lee.
8+
Leverage model we have: mass ocean + ice. Atmopheric constraints.
9+
10+
CMIP: projection RCP scenarios. 2D forcings for atmosphere. Ask Peter Gallagher for help.
11+
Decadal Prediction: no point of contact/website that has all the decadal prediction archives. UK Met
12+
Depresys Doug Smith, NCAR runs (Danabasoglu Gokhan) - includes GFDL among them (Tony Rosatti).
13+
14+
Issue: do we stop there to figure out the enveloppe of regional sl under decadal or CMIP forcings.
15+
Or do we do an extra step: implication for inundations. Storm surge wave statistics to give you a bigger enveloppe.
16+
We don't have expertise in storm surge or extreme events.
17+
18+
NCAR wave forecast, lead is Hendrick Tolman NOAA operational forecast system, RFTOOS.
19+
20+
Issue of timeframe? 10 year, 50 years. Max and minimum number?
21+
22+
Forcing comes from a coupled system: if the coupled system does not have GRACE errors, ice shelves -> does it make sense to use that forcing? Mindful about potential limitations:
23+
- CMIP6 will cointinuously improve these constraoints, so that's ok.
24+
- ongoing effort to modify, alleviate these concerns by MITgcm and CMIP5 constraints (ask Dimitris about this)
25+
ask Dimitris more about it.
26+
27+
GMAO uses Poseidon, thinking about changing to MOM3. Since MOM4 got released, nothing has happened.
28+
29+
}}}
30+
31+
32+
33+
34+
From J. Wahr:
35+
- wanted to know whether we want to match altimetry or whether we want
36+
- spatial resolution issue. Ocean function is 1degx1deb -> need to increase that.
37+
- same thing for spherical harmonics that are currently runnning at 1deg.
38+
- other issue is that code relies on ocean funcion that does not change in
39+
time. This is ok if we are sticking to 10-100 yr projections, but it's not
40+
ok if we are targetting 1000 yrs projections where this would become an
41+
issue. There is currently no solution to this matter.
42+
43+
Here is the email referring to some of theses points:
44+
Isabella, Eric: I've now modified the sea level code to include rotational
45+
feedback. Before sending it to Isabella to be archived at Irvine, I have a
46+
question. I'm not sure exactly what JPL wants to do with the code, but right
47+
now it's set up to output changes in sea level as would be seen by a tide
48+
gauge. That is, it outputs: (change in geocentric sea surface height) minus
49+
(change in geocentric sea floor height). An altimeter sees, instead, just the
50+
geocentric sea surface height. For the JPL applications you have in mind,
51+
would you rather have the program output the latter (i.e. geocentric sea
52+
surface height)?
53+
54+
- John

test/MITgcm/documents/README

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
------------------------------------------------------------------------------
2+
3+
SLR
4+
Sea Level Rise model: a framework for modeling sea level rise using
5+
JPL/UCI software in ice sheet modeling (ISSM), post-glacial rebound (PGR
6+
from Erik Ivins), ocean circulation (MITgcm) and sea-level models (UCI
7+
model from J. Wahr and I. Velicogna and JPL Marsal model, Felix Landerer)
8+
9+
------------------------------------------------------------------------------
10+
11+
Jet Propulsion Laboratory
12+
13+
Eric Larour (ISSM project manager and SLR lead developer)
14+
Erik Ivins (PGR lead developer)
15+
Dimitris Menemenlis (ECCO-ICE PI and MITgcm developer)
16+
Felix Landerer (MARSAL scientist/developer)
17+
Isabella Velicogna (UCI SLM model, scientist/developer)
18+
19+
20+
21+
------------------------------------------------------------------------------
22+
23+
Website: http://slr.jpl.nasa.gov/ for additional information.
24+
25+
------------------------------------------------------------------------------
26+
27+
svn --username ????? co http://issm.ess.uci.edu/svn/slr
28+
29+
will download this directory and subdirectories under a version system called svn.
30+
31+
Once you have downloaded the slr code, you should add the following to your bashrc, or shrc or kshrc:
32+
export SLR_DIR=$HOME/slr/ (update to your own directory)
33+
source $SLR_DIR/etc/environment.sh
34+
35+
if you are under tcsh or csh, do this to your .cshrc:
36+
setenv SLR_DIR '/Users/larour/slr' (update to your own directory)
37+
source $SLR_DIR/Etc/environment.sh
38+
39+
Download and install ISSM as per instructions in
40+
slr/components/issm/README
41+
42+
What we have in the code right now:
43+
README: this file
44+
etc/ where we have our variable settings
45+
components: where we have all our software ISSM, PGR, MITgcm, GEOS-5.
46+
external packages: all our external libraries that we will be working with now.
47+
48+
Web-based tracked svn changes are here: https://slr-svn.jpl.nasa.gov/trac/slr
49+
50+
------------------------------------------------------------------------------
51+
52+
License
53+
54+
SLR is California Institute of Technology Copyright
55+
56+
57+
Copyright (c) 2002-2011, California Institute of Technology.
58+
All rights reserved. Based on Government Sponsored Research under contracts
59+
NAS7-1407 and/or NAS7-03001.
60+
61+
Redistribution and use in source and binary forms, with or without
62+
modification, are permitted provided that the following conditions are met:
63+
64+
1. Redistributions of source code must retain the above copyright notice,
65+
this list of conditions and the following disclaimer.
66+
2. Redistributions in binary form must reproduce the above copyright
67+
notice, this list of conditions and the following disclaimer in the
68+
documentation and/or other materials provided with the distribution.
69+
3. Neither the name of the California Institute of Technology (Caltech),
70+
its operating division the Jet Propulsion Laboratory (JPL), the National
71+
Aeronautics and Space Administration (NASA), nor the names of its
72+
contributors may be used to endorse or promote products derived from
73+
this software without specific prior written permission.
74+
75+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
76+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
77+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
78+
DISCLAIMED. IN NO EVENT SHALL THE CALIFORNIA INSTITUTE OF TECHNOLOGY BE LIABLE
79+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
80+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
81+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
82+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
83+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
84+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
85+
------------------------------------------------------------------------------
46 KB
Binary file not shown.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
% read test4003 MItgcm output
2+
ISSM_DIR=getenv('ISSM_DIR');
3+
eval (['cd ' ISSM_DIR '/test/NightlyRun/run'])
4+
fnm=dir('surfDiag.*.data');
5+
fld={'SHIfwFlx (kg/m^2/s) Ice shelf fresh water flux (positive upward)', ...
6+
'SHIhtFlx (W/m^2 ) Ice shelf heat flux (positive upward)', ...
7+
'SHIgammT (m/s ) Ice shelf exchange coefficient for theta', ...
8+
'SHIgammS (m/s ) Ice shelf exchange coefficient for salt', ...
9+
'SHI_mass (kg/m^2 ) dynamic ice shelf mass for surface load anomaly', ...
10+
'SHIRshel (m ) depth of shelfice', ...
11+
'SI_Uvel (m/a ) Ice stream x-velocity', ...
12+
'SI_Vvel (m/a ) Ice stream y-velocity', ...
13+
'SI_Thick (m ) Ice stream thickness', ...
14+
'SI_hmask (none ) Ice stream thickness mask', ...
15+
'SI_float (none ) Ice stream grounding ind', ...
16+
'SHIuStar (m/s ) Friction velocity at bottom of ice shelf'}
17+
nx=3; ny=200; nf=length(fld); nt=length(fnm);
18+
Diag=zeros(nx,ny,nf,nt);
19+
for t=1:nt
20+
Diag(:,:,:,t)=readbin(fnm(t).name,[nx ny nf]);
21+
end
22+
23+
% plot output
24+
mkdir figs
25+
orient tall
26+
wysiwyg
27+
colormap(cmap)
28+
for t=1:nt
29+
clf
30+
for f=1:nf
31+
subplot(nf,1,f)
32+
if t==1
33+
mypcolor(Diag(:,:,f,t));
34+
else
35+
mypcolor(Diag(:,:,f,t)-Diag(:,:,f,1));
36+
end
37+
colorbar
38+
title(fld{f},'Interpreter','none')
39+
set(gca,'YTickLabel',[])
40+
if f<nf
41+
set(gca,'XTickLabel',[])
42+
end
43+
end
44+
eval(['print -djpeg figs/surfDiag' myint2str(t)])
45+
end

0 commit comments

Comments
 (0)