[MITgcm-support] Surface Deep Convection Tutorial
Jean-Michel Campin
jmc at ocean.mit.edu
Sat Dec 7 10:10:24 EST 2013
Hi Ashley,
On Fri, Dec 06, 2013 at 09:43:14PM -0500, Ashley Stroman wrote:
> Hello.
>
> Well I suppose to be more specific my question is where is the number 1000 from?
line 57: var=2*pi*[0:1000]/1000; xl=Rc*cos(var); yl=Rc*sin(var);
line 66: 66 L=line(xl,yl);
> > As you can see from gendata.m, line 57, this is used to
> > calculate xl,yl so that we can draw a circle (line 66) to indicate
> > where the cooling disk is.
I personally like how the circle shows up on the plot when I use 1000.
And again, this is just to make the plot and has no effect on
the binary input file "Qnet_p32.bin" that gendata.m produces.
Cheers,
Jean-Michel
>
> -Ashley
>
> Sent from my iPhone
>
> > On Dec 6, 2013, at 7:42 PM, Jean-Michel Campin <jmc at ocean.mit.edu> wrote:
> >
> > Hi Ashley,
> >
> > There was a problem in the axis of the plot (imagesc)
> > that, I think, I've just fixed.
> > Note that this does not affect the binary input file
> > "Qnet_p32.bin" that gendata.m produces.
> >
> > If you could try with the recent update.
> >
> > And regarding this:
> >> 2.) In the script, what is var calculating, and what what does the [1:1000) and /1000 come from?
> > As you can see from gendata.m, line 57, this is used to
> > calculate xl,yl so that we can draw a circle (line 66) to indicate
> > where the cooling disk is.
> >
> > Cheers,
> > Jean-Michel
> >
> >> On Fri, Dec 06, 2013 at 10:22:09PM +0000, Stroman, Ashley wrote:
> >> Hello.
> >>
> >> I am trying to run the gendata script within the surface deep convection tutorial and I have two questions.
> >>
> >> 1.) When I run the script in Matlab, I get an error output that says
> >>
> >> BLAS loading error:
> >> mkl.so: failed to map segment from shared object: Cannot allocate
> >> memory
> >>
> >> Error in gendata (line 41)
> >> xc=x'*ones(1,ny); yc=ones(nx,1)*y;
> >>
> >> Is there a way to rewrite this part of the code so it won’t crash on me?
> >>
> >> 2.) In the script, what is var calculating, and what what does the [1:1000) and /1000 come from?
> >>
> >> Thanks.
> >>
> >> Best,
> >> Ashley Stroman
> >> _______________________________________________
> >> MITgcm-support mailing list
> >> MITgcm-support at mitgcm.org
> >> http://mitgcm.org/mailman/listinfo/mitgcm-support
> >
> > _______________________________________________
> > MITgcm-support mailing list
> > MITgcm-support at mitgcm.org
> > http://mitgcm.org/mailman/listinfo/mitgcm-support
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support
More information about the MITgcm-support
mailing list