-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: CICE get_expected_agreg_over_grid giving > 100% #833
Comments
restarts: /glade/derecho/scratch/hkershaw/DART/Tickets/CICE reproducer in /glade/derecho/scratch/hkershaw/DART/Tickets/CICE/run |
|
reproducer in /glade/derecho/scratch/hkershaw/DART/Tickets/CICE/run fix_bound_violations = .true.,
fix_bound_violations = .false.,
|
I don't think the matrix maths in this module is coping with the quad locations. DART/models/cice/model_mod.f90 Lines 1732 to 1741 in fd3a813
|
Helen,
Is it possible to add a color bar on the figures? Is the red dot the point
where the interpolation is exceeding the bound?
…On Mon, Mar 10, 2025 at 12:50 PM Helen Kershaw ***@***.***> wrote:
Screenshot.2025-03-10.at.2.47.51.PM.png (view on web)
<https://github.com/user-attachments/assets/8b536bd9-e579-4bdb-b9d8-565e6e60f813>
Screenshot.2025-03-10.at.2.46.52.PM.png (view on web)
<https://github.com/user-attachments/assets/3c53528f-cdfb-45ee-b009-7ffd3273d955>
—
Reply to this email directly, view it on GitHub
<#833 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANDHUIWOLBO2LCIXSD372FL2TXUHVAVCNFSM6AAAAABYMI6DQWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMJRGUZDGOBSGU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
[image: hkershaw-brown]*hkershaw-brown* left a comment (NCAR/DART#833)
<#833 (comment)>
Screenshot.2025-03-10.at.2.47.51.PM.png (view on web)
<https://github.com/user-attachments/assets/8b536bd9-e579-4bdb-b9d8-565e6e60f813>
Screenshot.2025-03-10.at.2.46.52.PM.png (view on web)
<https://github.com/user-attachments/assets/3c53528f-cdfb-45ee-b009-7ffd3273d955>
—
Reply to this email directly, view it on GitHub
<#833 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANDHUIWOLBO2LCIXSD372FL2TXUHVAVCNFSM6AAAAABYMI6DQWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMJRGUZDGOBSGU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
That's great, thanks, Helen.
Just to be clear, the actual plotted quantity is from summing the model
state for the 5 categories? If so, we aren't even remotely close to 1 in
this location if one does the interpolation on the summed field. I believe
the forward operator is doing the sum on the interpolated fields?
…On Mon, Mar 10, 2025 at 1:40 PM Helen Kershaw ***@***.***> wrote:
Here you go. The red point is the obs.
Observation location
lon = 255.0703125;
lat = 74.473571777343764;
Screenshot.2025-03-10.at.3.38.00.PM.png (view on web)
<https://github.com/user-attachments/assets/f718ef1d-5b58-44f0-b2e4-47b35398cbcd>
—
Reply to this email directly, view it on GitHub
<#833 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANDHUIUF4ADQNAUAPBJCYUL2TX2C7AVCNFSM6AAAAABYMI6DQWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMJRGY2DEMBXGQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
[image: hkershaw-brown]*hkershaw-brown* left a comment (NCAR/DART#833)
<#833 (comment)>
Here you go. The red point is the obs.
Observation location
lon = 255.0703125;
lat = 74.473571777343764;
Screenshot.2025-03-10.at.3.38.00.PM.png (view on web)
<https://github.com/user-attachments/assets/f718ef1d-5b58-44f0-b2e4-47b35398cbcd>
—
Reply to this email directly, view it on GitHub
<#833 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANDHUIUF4ADQNAUAPBJCYUL2TX2C7AVCNFSM6AAAAABYMI6DQWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMJRGY2DEMBXGQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
No this is single category. There is a little test code at |
Is it easy to get the 20 concentration values from the corners of this quad
(4 values for each of the 5 categories)?
…On Mon, Mar 10, 2025 at 2:04 PM Helen Kershaw ***@***.***> wrote:
No this is single category.
The interpolation is each category, then sum - it would be better the
other way round I think.
The plots were just to check that then quad was actually a quad with an
observation inside it. And compare interpolation in Matlab.
There is a little test code at
main...ice-mkl <main...ice-mkl>
which just does a call to quad_bilinear_interp if you want to play with
it. I have not convinced myself that is is not a logic bug vs. precision,
vs. something else.
—
Reply to this email directly, view it on GitHub
<#833 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANDHUIXDQUQ6I7ILKJGX6JT2TX44TAVCNFSM6AAAAABYMI6DQWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMJRGY4TGNRWHE>
.
You are receiving this because you commented.Message ID:
***@***.***>
[image: hkershaw-brown]*hkershaw-brown* left a comment (NCAR/DART#833)
<#833 (comment)>
No this is single category.
The interpolation is each category, then sum - it would be better the
other way round I think.
The plots were just to check that then quad was actually a quad with an
observation inside it. And compare interpolation in Matlab.
There is a little test code at
main...ice-mkl <main...ice-mkl>
which just does a call to quad_bilinear_interp if you want to play with
it. I have not convinced myself that is is not a logic bug vs. precision,
vs. something else.
—
Reply to this email directly, view it on GitHub
<#833 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANDHUIXDQUQ6I7ILKJGX6JT2TX44TAVCNFSM6AAAAABYMI6DQWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMJRGY4TGNRWHE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
um yeah, might have to be tomorrow though. Here is the print from filter for the branch ice-mkl. The 1st four values are p. F : 4.222093679422526E-002 2.939444349332336E-002 2.361927128232367E-002 2.457275269829678E-002 : 255.070312500000 74.4735717773438 : 253.978338312172 254.698325218660 256.152459376863 255.464594303337 : 74.4775053981321 74.2803767364551 74.6534788353970 74.8496146897753 I've been looking at them in the debugger; you can steal the run from |
i believe this is real. we had a roms user report bad interpolation values a long time ago. the quad interpolation module was based on the pop quad interp code, which looks a lot like the cice interp code. when the quad sides were not aligned closely to the lat/lon grid (and this one looks like it's not), i could get interp values that were outside of the range of the corners. by rotating the quad first, the values were within range. the quad routines have a namelist option to rotate the quad to align closer to one of the lat or lon axes before interpolating (do_rotate = .true.) and it removed this problem. i see it has a default of false right now, but that might make an easy test if you enable it. (or just drop the rotate code into the cice interp code to test it - look for the do_rotate code block.) edit: one way i found this was to interpolate a dense grid of test points inside the original data grid, and you could see clear discontinuities across the data quad boundaries. (the interpolation results were not smooth.) |
🐛 🧊
User reported
Describe the bug
Error Message
"Largest ensemble member greater than upper bound"
Which model(s) are you working with?
CESM CICE5(6?)
Version of DART
Which version of DART are you using?
You can find the version using
git describe --tags
Will reproduce, believe it is v11
Have you modified the DART code?
No
Work around is forcing the fwd op to be <100%
Build information
Please describe:
The text was updated successfully, but these errors were encountered: