in my Setup I would like to let the river start near the sea. Therefor I want to mask river cells that have become obsolete.
So I turned the river cells NaN, which are placed upstream from the point I want to have the freshwater input.
Unfortunately now I get
FATAL GETM ERROR: Called from catch_nan_2d()
FATAL GETM ERROR: NaN values encountered in elevations
Does anybody have any idea what is the problem? Do I have to declare my river cells boundary somewhere?
Cheers
Johannes
> in my Setup I would like to let the river start near the sea. Therefor I want to mask river cells that have become obsolete.
> So I turned the river cells NaN, which are placed upstream from the point I want to have the freshwater input.
>
I have no idea of rivers, but I know that masking cells during a new
hotstart is possible. What do you mean with "turning river cells NaN"?
> Do I have to declare my river cells boundary somewhere?
>
Telling the new positions of the river cells is probably a good idea :-)
Cheers,
Knut
you and Bianca came up with a solution where you changes .ge. to .gt. -
iyt worked but was it correct?
On Mon, Jan 02, 2012 at 12:59:46 +0100, Knut wrote:
nowhere else; the river cell(s), i.e. the cell(s) where the freshwater
is put in, are declared only in the file "riverinfo.dat".
Whatever you meant with "turned the river cells NaN", I suppose you
want to use the file "mask.adjust" and give it the coordinates of the
obsolete grid cells. The format is as follows:
<number X of masked rectangles>
<rectangle 1>
...
<rectangle X>
where a rectangle is specified by the indices of the lower left and
the upper right corner:
<i_low j_low i_high j_high>
Example file "mask.adjust":
2
10 22 49 24
60 1 61 15
The specified rectangle(s) are then masked and ignored in the
simulation. I hope this helped.
Kind regards,
Elisabeth
2012/1/2 Johannes Ulrich Pein <jup...@gmx.de>:
> I named the cells in riverinfo.dat. Where else do I have to declare them?
>
>
2012/1/2 Knut <knut...@gmx.net>:
that was very clear.
Cheers
Johannes
> I mean Elisabeth:)
>
sure. nevertheless I reply now:
This is not a chat. Most (?) subscribers do not want to check the
previous mails to put your response into the right context. Please send
your posts with your reply at the bottom of the quoted relevant original
text.
Knut
0.0185 is the value suggested by Jin Wu in a 1982 JGR paper. What am I
missing?
-Bert Rubash
this value is used by Burchard (2001), and I took it from Craig & Banner
(1994), not being aware of Wu (1982) (references below).
In my paper, I discuss however on page 3140 that the resulting z0 seems to
be quite low compared to estimates in the literature.
So, if nobody disagrees, we will change the default value to 18500.
Thanks a lot for pointing this out.
Regards, Hans.
References:
Burchard, H., 2001, Simulating the wave-enhanced layer under breaking
surface waves with two-equation turbulence models, J. Phys. Oceanogr., 31,
3133-3145.
Craig, P. D., and M. L. Banner, 1994: Modelling wave-enhanced turbulence
in the ocean surface layer. J. Phys. Oceanogr., 24, 2546�2559.
Wu, J., 1982: Wind-Stress Coefficients Over Sea Surface From Breeze to
Hurricane, J. Geophys. Res., 87(C12), 9704�9706,
doi:10.1029/JC087iC12p09704.
--
Hans Burchard
Leibniz Institute for Baltic Sea Research Warnemuende
Dept. for Physical Oceanography and Instrumentation
Seestrasse 15
D-18119 Rostock-Warnemuende
Germany
Tel. : +49 - 381 - 5197 -140
Fax : +49 - 381 - 5197 -114
web : http://www.io-warnemuende.de/hans-burchard-en.html
E-Mail: hans.b...@io-warnemuende.de
skype : hans.burchard
Deep Sea Research Part II: Topical Studies in Oceanography, 2005 vol. 52 (9-10) pp. 1133-1155,
Bert,
this value is used by Burchard (2001), and I took it from Craig & Banner
(1994), not being aware of Wu (1982) (references below).
In my paper, I discuss however on page 3140 that the resulting z0 seems to
be quite low compared to estimates in the literature.
So, if nobody disagrees, we will change the default value to 18500.
Thanks a lot for pointing this out.
Regards, Hans.
References:
Burchard, H., 2001, Simulating the wave-enhanced layer under breaking
surface waves with two-equation turbulence models, J. Phys. Oceanogr., 31,
3133-3145.
Craig, P. D., and M. L. Banner, 1994: Modelling wave-enhanced turbulence
in the ocean surface layer. J. Phys. Oceanogr., 24, 2546–2559.
Wu, J., 1982: Wind-Stress Coefficients Over Sea Surface From Breeze to
Hurricane, J. Geophys. Res., 87(C12), 9704–9706,
doi:10.1029/JC087iC12p09704.
Adolf,
I do not unterstand from where the factor rho**2 should come.
I would stay therefore with the oceanographic literature and charnock_val=1400
"do i=jmin,jmax-1" should be "do j=jmin,jmax-1"
-Bert Rubash
You are right - fixed now.
Fortunately it seems thi routine is not used at all :-)
Please start a new thread when reporting issues.
Karsten