-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Hello Pierre, I've been testing this new feature recently and it is awesome. Thanks much for this contribution!
However i am encoutering a strange issue using the .plot_xs_field() function
I am using a single-layer, regular grid model. I am plotting the cross section by defining coordinates, e.g.:
xs = CrossSection(mm, cross_section_line=[(292, 340), (292,400) ])
I am plotting the chasim.out ("%SATURAT" parameter), using both plot_xs_field() and add_surface()
i am also plotting the water table ("CHARGE") using add_surface()
When I am plotting a cross section, the plot_xs_field() does not provide the right value per cell. As illustrated below:
I plotted the saturation field (0-100%) and the saturation surface (thus displaying between 0 and 100 on the vertical axis) so that the two can be compared (and should be identical).
we should see some red in the cells (0% sat) where the simulated water table is below or close to the bottom; but it is not the case in the cross-section. However the same field displayed using the .add_surface() function is correct (red line)

I should take the time to look into the code...but if it rings any bells... Many thanks!!
Originally posted by @ebus-brgm in #19 (reply in thread)