TNO Intern

Commit a293a735 authored by Hen Brett's avatar Hen Brett 🐔
Browse files

Adding logos and checking the test script used for the latest example added...

Adding logos and checking the test script used for the latest example added for POS4NPV by Jan-diederik
parent 06726d07
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 254.22 72"><defs><style>.cls-1{fill:#493732;}.cls-2{fill:#b27646;}.cls-3{fill:#e5a939;}.cls-4{fill:#786560;}.cls-5{fill:#467d95;}</style></defs><title>GDN_Header</title><path class="cls-1" d="M1.66,57.5h0a2.59,2.59,0,0,0,2.1,1.81L8.39,60A3.61,3.61,0,0,0,11,59.43l5-3.34a1.21,1.21,0,0,0,0-2l-2-1.26a3.61,3.61,0,0,0-2.76-.44L3.54,54.19A2.62,2.62,0,0,0,1.66,57.5Z" transform="translate(-1.55 -0.26)"/><path class="cls-1" d="M21.84,31.27l3.34-.88a4.86,4.86,0,0,1,3.08.21l2.21.93A2.41,2.41,0,0,1,32,33.75v5.3a3.62,3.62,0,0,1-1.62,3L18.22,50.12a2.42,2.42,0,0,1-3.13-.39l-2.17-2.4a3.62,3.62,0,0,1-.43-4.25l5-8.47A7.26,7.26,0,0,1,21.84,31.27Z" transform="translate(-1.55 -0.26)"/><path class="cls-1" d="M3.69,51.27l6.83-.47a1.14,1.14,0,0,0,.77-1.9L9.53,47a1.52,1.52,0,0,0-1.13-.5H4.54a1.51,1.51,0,0,0-1.34.8L2.25,49A1.52,1.52,0,0,0,3.69,51.27Z" transform="translate(-1.55 -0.26)"/><path class="cls-2" d="M38.17,30.56l2.16-2.31a4.34,4.34,0,0,1,3.18-1.38H59.33a3.68,3.68,0,0,1,3.36,2.19h0A3.7,3.7,0,0,1,62,33.12l-8,7.66a6.51,6.51,0,0,1-4.51,1.8H44.53a4.37,4.37,0,0,1-3.09-1.28l-3.18-3.2A4.39,4.39,0,0,1,37,35V33.54A4.34,4.34,0,0,1,38.17,30.56Z" transform="translate(-1.55 -0.26)"/><path class="cls-2" d="M23.51,28.21,27.08,27a2.55,2.55,0,0,0,1.59-1.64l1.18-3.75a2.54,2.54,0,0,0-.34-2.22l-2.26-3.22a2.53,2.53,0,0,0-2.16-1.07H25a2.42,2.42,0,0,0-2.29,2l-1.67,9A1.91,1.91,0,0,0,23.51,28.21Z" transform="translate(-1.55 -0.26)"/><path class="cls-2" d="M24.54,10.21l3.24-4.84a1.21,1.21,0,0,1,1.95-.08l.4.52a2.41,2.41,0,0,1,.17,2.76L28.73,11.1a2.39,2.39,0,0,1-2.41,1.12l-1-.15A1.2,1.2,0,0,1,24.54,10.21Z" transform="translate(-1.55 -0.26)"/><path class="cls-3" d="M34.65,13.84l1.74,6.91A3.75,3.75,0,0,0,40,23.58H50.9a2.5,2.5,0,0,0,2.44-3L50.51,7a3.61,3.61,0,0,0-5-2.56L37.47,8A5,5,0,0,0,34.65,13.84Z" transform="translate(-1.55 -0.26)"/><path class="cls-3" d="M54.49,6.41,56.3,21.33a1.77,1.77,0,0,0,1.55,1.55h0a1.77,1.77,0,0,0,1.88-1.21l2.92-8.81A4.85,4.85,0,0,0,62,8.6l-2.7-3.9a2.4,2.4,0,0,0-2.22-1l-.47,0A2.4,2.4,0,0,0,54.49,6.41Z" transform="translate(-1.55 -0.26)"/><path class="cls-3" d="M33,3.29l.06.09a2.4,2.4,0,0,0,3,.87L40,2.49a1.17,1.17,0,0,0,.69-.9h0A1.15,1.15,0,0,0,39.34.29L33.71,1.44A1.2,1.2,0,0,0,33,3.29Z" transform="translate(-1.55 -0.26)"/><path class="cls-4" d="M32.39,45.19l2.47-1.64a2.39,2.39,0,0,1,2.74.05l5.93,4.27a4.79,4.79,0,0,1,1.92,3l.87,4.57a2.42,2.42,0,0,1-1.42,2.67l-5.29,2.27a2.43,2.43,0,0,1-2.06-.08l-2.08-1.08a3.63,3.63,0,0,1-1.85-2.34l-2.24-9.12A2.4,2.4,0,0,1,32.39,45.19Z" transform="translate(-1.55 -0.26)"/><path class="cls-4" d="M22.11,52l4-2.69a2.11,2.11,0,0,1,2.71.33h0a2.13,2.13,0,0,1,.54,1.56l-.19,2.86a2.41,2.41,0,0,1-2.9,2.2l-3.53-.75a1.94,1.94,0,0,1-1.53-1.81h0A1.93,1.93,0,0,1,22.11,52Z" transform="translate(-1.55 -0.26)"/><path class="cls-4" d="M40,63.58,38.09,67.9a2.65,2.65,0,0,0,.15,2.42l.37.61a2.62,2.62,0,0,0,2.1,1.27l1,.06a2.65,2.65,0,0,0,2.48-1.38l1.14-2.12a2.6,2.6,0,0,0,.28-1.69l-.76-4.52a1.35,1.35,0,0,0-1.87-1l-1.59.68A2.64,2.64,0,0,0,40,63.58Z" transform="translate(-1.55 -0.26)"/><path d="M87.9,28.21A3.85,3.85,0,0,1,85,29.78c-3,0-5.12-1.44-5.12-5.44v-5.8c0-4,2.11-5.44,5.12-5.44,3.17,0,4.88,1.82,5,5.51h-3.1c0-2.09-.76-2.76-1.89-2.76s-2,.49-2,2.29v6.6c0,1.8.79,2.3,2,2.3s1.89-.86,1.89-2.25v-1H84.71V21.24H90v8.31H88.37Z" transform="translate(-1.55 -0.26)"/><path d="M95.21,24.12v1.61a1.56,1.56,0,0,0,1.66,1.76,1.54,1.54,0,0,0,1.66-1.71h2.83c-.13,2.52-1.64,4-4.49,4a4.13,4.13,0,0,1-4.49-4.34v-4a4.14,4.14,0,0,1,4.49-4.34c2.63,0,4.49,1.67,4.49,4.16v2.86Zm3.32-2.3v-.67a1.66,1.66,0,1,0-3.32,0v.67Z" transform="translate(-1.55 -0.26)"/><path d="M103.61,21.73c0-3.23,1.67-4.63,4.5-4.63s4.49,1.4,4.49,4.63v3.42c0,3.24-1.66,4.63-4.49,4.63s-4.5-1.39-4.5-4.63Zm2.83,4.14c0,.94.68,1.44,1.67,1.44s1.66-.5,1.66-1.44V21c0-.94-.67-1.43-1.66-1.43s-1.67.49-1.67,1.43Z" transform="translate(-1.55 -0.26)"/><path d="M115.43,13.33h2.84V29.55h-2.84Z" transform="translate(-1.55 -0.26)"/><path d="M121.1,21.73c0-3.23,1.66-4.63,4.49-4.63s4.5,1.4,4.5,4.63v3.42c0,3.24-1.67,4.63-4.5,4.63s-4.49-1.39-4.49-4.63Zm2.83,4.14c0,.94.67,1.44,1.66,1.44s1.67-.5,1.67-1.44V21c0-.94-.68-1.43-1.67-1.43s-1.66.49-1.66,1.43Z" transform="translate(-1.55 -0.26)"/><path d="M142,19.58a5.38,5.38,0,0,0-.87-.18,3.68,3.68,0,0,0-1,.27,9.47,9.47,0,0,1,.36,2.15c0,3.06-1.3,4.81-4.09,4.81a3.73,3.73,0,0,1-1.17-.15c-.15.22-.49.42-.49.71,0,1.53,7.1-.83,7.1,3.6,0,2.09-2.16,3.08-5.44,3.08-3,0-4.67-.85-4.67-2.23,0-.92,1-1.48,1.7-1.91A2,2,0,0,1,132.25,28c0-1,1-1.61,1.7-2-1.37-.9-1.84-2.2-1.84-4.25,0-2.63,1-4.61,4.18-4.61a4.3,4.3,0,0,1,3.19,1.42A3,3,0,0,1,142,17.1Zm-7,10.51c-.29.3-.59.54-.59,1,0,.63.92.9,2.59.9,1.35,0,2.13-.34,2.13-1,0-.41-.18-.59-1-.66Zm1.3-10.69c-1.08,0-1.48.74-1.48,2.65,0,1.53.49,2.29,1.35,2.29,1.21,0,1.61-.45,1.61-2.58C137.77,20.18,137.28,19.4,136.29,19.4Z" transform="translate(-1.55 -0.26)"/><path d="M144.16,15.22V12.65H147v2.57ZM147,17.33V29.55h-2.83V17.33Z" transform="translate(-1.55 -0.26)"/><path d="M155.44,21.06a2.09,2.09,0,0,0-2-1.66,1.09,1.09,0,0,0-1.14,1.1c0,1.89,5.53,1.93,5.53,5.57,0,2.43-1.71,3.71-4.07,3.71-1.71,0-3.24-.43-4.61-3.48l2.54-.7a2.09,2.09,0,0,0,2.07,1.89c.85,0,1.37-.41,1.37-1.08,0-2.34-5.53-1.78-5.53-5.89,0-2.31,1.87-3.42,3.87-3.42a4.4,4.4,0,0,1,4.27,3.06Z" transform="translate(-1.55 -0.26)"/><path d="M166,21.55V21c0-.94-.68-1.43-1.67-1.43s-1.66.49-1.66,1.43v4.86c0,.94.68,1.44,1.66,1.44s1.67-.5,1.67-1.44V25.1h2.83v0c0,3.24-1.66,4.63-4.5,4.63s-4.49-1.39-4.49-4.63V21.73c0-3.23,1.66-4.63,4.49-4.63s4.43,1.35,4.48,4.45Z" transform="translate(-1.55 -0.26)"/><path d="M171.26,29.55V13.33h2.83v5.39a4.65,4.65,0,0,1,3.08-1.62c1.73,0,2.63.88,2.63,3.15v9.3H177v-9c0-.81-.27-1.35-1-1.35a3.45,3.45,0,0,0-1.85,1.1v9.23Z" transform="translate(-1.55 -0.26)"/><path d="M185.11,24.12v1.61a1.56,1.56,0,0,0,1.66,1.76,1.54,1.54,0,0,0,1.66-1.71h2.83c-.13,2.52-1.64,4-4.49,4a4.14,4.14,0,0,1-4.5-4.34v-4a4.14,4.14,0,0,1,4.5-4.34c2.63,0,4.49,1.67,4.49,4.16v2.86Zm3.32-2.3v-.67a1.66,1.66,0,1,0-3.32,0v.67Z" transform="translate(-1.55 -0.26)"/><path d="M200,13.33h4.31c3.56,0,5.53,1.53,5.67,5.62v5c-.14,4.09-2.11,5.61-5.67,5.61H200Zm3.1,13.48h1.08c1.71,0,2.7-.81,2.7-3.23V19.31c0-2.3-.77-3.24-2.7-3.24h-1.08Z" transform="translate(-1.55 -0.26)"/><path d="M212.84,15.22V12.65h2.83v2.57Zm2.83,2.11V29.55h-2.83V17.33Z" transform="translate(-1.55 -0.26)"/><path d="M221.34,24.12v1.61A1.56,1.56,0,0,0,223,27.49a1.54,1.54,0,0,0,1.66-1.71h2.83c-.13,2.52-1.64,4-4.49,4a4.14,4.14,0,0,1-4.5-4.34v-4A4.14,4.14,0,0,1,223,17.1c2.63,0,4.49,1.67,4.49,4.16v2.86Zm3.32-2.3v-.67a1.66,1.66,0,1,0-3.32,0v.67Z" transform="translate(-1.55 -0.26)"/><path d="M230,29.55V17.33h2.74v1.39a5,5,0,0,1,3.17-1.62c1.73,0,2.63.88,2.63,3.15v9.3h-2.84v-9c0-.81-.27-1.35-1-1.35a3.43,3.43,0,0,0-1.84,1.1v9.23Z" transform="translate(-1.55 -0.26)"/><path d="M246.6,21.06a2.09,2.09,0,0,0-2-1.66,1.09,1.09,0,0,0-1.14,1.1c0,1.89,5.52,1.93,5.52,5.57,0,2.43-1.7,3.71-4.06,3.71-1.71,0-3.24-.43-4.61-3.48l2.54-.7A2.08,2.08,0,0,0,245,27.49c.85,0,1.37-.41,1.37-1.08,0-2.34-5.53-1.78-5.53-5.89,0-2.31,1.86-3.42,3.86-3.42a4.39,4.39,0,0,1,4.27,3.06Z" transform="translate(-1.55 -0.26)"/><path d="M250,20.16V17.87h1.12V14.54h2.83v3.33h1.82v2.29h-1.82v6.25c0,.6.52.9,1.28.9a3.44,3.44,0,0,0,.57,0v2.39a9.8,9.8,0,0,1-1.62.11c-1.84,0-3.06-.67-3.06-2.43V20.16Z" transform="translate(-1.55 -0.26)"/><path d="M80.33,52V35.8h3.39L88,45.42h0V35.8h2.83V52H88L83.21,41.56h0V52Z" transform="translate(-1.55 -0.26)"/><path d="M96.44,46.59v1.62A1.56,1.56,0,0,0,98.11,50a1.53,1.53,0,0,0,1.66-1.71h2.83c-.13,2.52-1.64,4-4.49,4a4.14,4.14,0,0,1-4.5-4.33v-4a4.14,4.14,0,0,1,4.5-4.34c2.62,0,4.49,1.66,4.49,4.16v2.85Zm3.33-2.29v-.68a1.67,1.67,0,1,0-3.33,0v.68Z" transform="translate(-1.55 -0.26)"/><path d="M111,52V50.55H111a4,4,0,0,1-3,1.7c-2.2,0-3.1-1.7-3.1-4.85v-3c0-3.14.9-4.85,3.1-4.85.76,0,1.48.36,2.83,1.35V35.8h2.83V52Zm-.23-9.46a2.24,2.24,0,0,0-1.71-.88c-.76,0-1.39.5-1.39,2.92v2.61c0,2.43.63,2.92,1.39,2.92a2.26,2.26,0,0,0,1.71-.87Z" transform="translate(-1.55 -0.26)"/><path d="M118.92,46.59v1.62A1.56,1.56,0,0,0,120.58,50a1.53,1.53,0,0,0,1.66-1.71h2.84c-.14,2.52-1.65,4-4.5,4a4.13,4.13,0,0,1-4.49-4.33v-4a4.13,4.13,0,0,1,4.49-4.34c2.63,0,4.5,1.66,4.5,4.16v2.85Zm3.32-2.29v-.68a1.66,1.66,0,1,0-3.32,0v.68Z" transform="translate(-1.55 -0.26)"/><path d="M127.55,52V39.8h2.76v1.62h.05a3,3,0,0,1,2.92-1.84v3.06a5.57,5.57,0,0,0-1.51-.32,1.33,1.33,0,0,0-1.39,1.35V52Z" transform="translate(-1.55 -0.26)"/><path d="M135.39,35.8h2.83V52h-2.83Z" transform="translate(-1.55 -0.26)"/><path d="M141,43.38c.2-2.72,2.27-3.8,4.54-3.8,3,0,4.16,1.53,4.16,3.71V51a3.66,3.66,0,0,0,.16,1H147c-.06-.32-.11-.7-.2-1.19a4.66,4.66,0,0,1-3.37,1.41,2.59,2.59,0,0,1-2.81-2.92c0-2.83,2.7-4,6.23-5.1v-.9a1.33,1.33,0,0,0-1.46-1.46,1.52,1.52,0,0,0-1.58,1.51Zm5.87,2.67c-1.69.59-3.4,1.53-3.4,2.81a1.18,1.18,0,0,0,1.26,1.28A3,3,0,0,0,146.88,49Z" transform="translate(-1.55 -0.26)"/><path d="M152.52,52V39.8h2.74v1.4a5,5,0,0,1,3.17-1.62c1.73,0,2.63.88,2.63,3.15V52h-2.83V43c0-.81-.27-1.35-1-1.35a3.47,3.47,0,0,0-1.84,1.1V52Z" transform="translate(-1.55 -0.26)"/><path d="M169.69,52V50.55h-.05a4,4,0,0,1-3,1.7c-2.2,0-3.1-1.7-3.1-4.85v-3c0-3.14.9-4.85,3.1-4.85.77,0,1.49.36,2.83,1.35V35.8h2.84V52Zm-.23-9.46a2.22,2.22,0,0,0-1.7-.88c-.77,0-1.4.5-1.4,2.92v2.61c0,2.43.63,2.92,1.4,2.92a2.24,2.24,0,0,0,1.7-.87Z" transform="translate(-1.55 -0.26)"/><path class="cls-5" d="M80.33,61.35c0-2.11,1.12-2.88,2.71-2.88s2.71.77,2.71,2.88v3.07c0,2.12-1.12,2.88-2.71,2.88s-2.71-.76-2.71-2.88ZM82,64.63c0,1,.42,1.22,1.07,1.22s1.07-.26,1.07-1.22V61.14c0-1-.42-1.21-1.07-1.21S82,60.19,82,61.14Z" transform="translate(-1.55 -0.26)"/><path class="cls-5" d="M87.06,67.18V60.71h1.45v.74a2.66,2.66,0,0,1,1.68-.86c.91,0,1.39.47,1.39,1.67v4.92h-1.5V62.42c0-.43-.14-.71-.55-.71s-.65.3-1,.58v4.89Z" transform="translate(-1.55 -0.26)"/><path class="cls-5" d="M96.14,67.18v-.79h0a2.12,2.12,0,0,1-1.59.91c-1.17,0-1.64-.91-1.64-2.57V63.16c0-1.66.47-2.57,1.64-2.57a2.64,2.64,0,0,1,1.5.72V58.59h1.49v8.59Zm-.11-5a1.21,1.21,0,0,0-.91-.46c-.4,0-.74.26-.74,1.55v1.37c0,1.29.34,1.55.74,1.55a1.21,1.21,0,0,0,.91-.46Z" transform="translate(-1.55 -0.26)"/><path class="cls-5" d="M100.33,64.3v.86a.83.83,0,0,0,.88.93.82.82,0,0,0,.88-.91h1.5a2.1,2.1,0,0,1-2.38,2.12A2.19,2.19,0,0,1,98.83,65V62.89a2.38,2.38,0,0,1,4.76-.1V64.3Zm1.76-1.21v-.36a.88.88,0,1,0-1.76,0v.36Z" transform="translate(-1.55 -0.26)"/><path class="cls-5" d="M104.9,67.18V60.71h1.46v.86h0a1.61,1.61,0,0,1,1.55-1v1.62a3.17,3.17,0,0,0-.8-.17.71.71,0,0,0-.74.72v4.42Z" transform="translate(-1.55 -0.26)"/><path class="cls-5" d="M112,67.18v-.79h0a2.12,2.12,0,0,1-1.59.91c-1.17,0-1.64-.91-1.64-2.57V63.16c0-1.66.47-2.57,1.64-2.57a2.64,2.64,0,0,1,1.5.72V58.59h1.49v8.59Zm-.11-5a1.19,1.19,0,0,0-.91-.46c-.4,0-.73.26-.73,1.55v1.37c0,1.29.33,1.55.73,1.55a1.19,1.19,0,0,0,.91-.46Z" transform="translate(-1.55 -0.26)"/><path class="cls-5" d="M116.18,64.3v.86a.83.83,0,0,0,.88.93.82.82,0,0,0,.88-.91h1.5a2.1,2.1,0,0,1-2.38,2.12,2.19,2.19,0,0,1-2.38-2.3V62.89a2.38,2.38,0,0,1,4.76-.1V64.3Zm1.76-1.21v-.36a.88.88,0,1,0-1.76,0v.36Z" transform="translate(-1.55 -0.26)"/><path class="cls-5" d="M122.13,64.3v.86a.83.83,0,0,0,.88.93.82.82,0,0,0,.88-.91h1.5A2.1,2.1,0,0,1,123,67.3a2.19,2.19,0,0,1-2.38-2.3V62.89a2.38,2.38,0,0,1,4.76-.1V64.3Zm1.76-1.21v-.36a.88.88,0,1,0-1.76,0v.36Z" transform="translate(-1.55 -0.26)"/><path class="cls-5" d="M126.88,58.59h1.5v8.59h-1.5Z" transform="translate(-1.55 -0.26)"/><path class="cls-5" d="M135.22,64.87h0l1-4.16h1.5L136,67.18h-1.48l-1.76-6.47h1.5Z" transform="translate(-1.55 -0.26)"/><path class="cls-5" d="M138.44,62.6a2.15,2.15,0,0,1,2.4-2c1.6,0,2.2.81,2.2,2v4.11a1.89,1.89,0,0,0,.09.52h-1.5c0-.17-.06-.37-.11-.63a2.46,2.46,0,0,1-1.78.75,1.37,1.37,0,0,1-1.49-1.55c0-1.5,1.43-2.14,3.29-2.7v-.47a.7.7,0,0,0-.77-.78.81.81,0,0,0-.83.8Zm3.1,1.42c-.89.31-1.79.8-1.79,1.48a.62.62,0,0,0,.67.68,1.56,1.56,0,0,0,1.12-.59Z" transform="translate(-1.55 -0.26)"/><path class="cls-5" d="M144.53,67.18V60.71H146v.74a2.66,2.66,0,0,1,1.68-.86c.91,0,1.39.47,1.39,1.67v4.92h-1.5V62.42c0-.43-.14-.71-.55-.71s-.65.3-1,.58v4.89Z" transform="translate(-1.55 -0.26)"/><path class="cls-5" d="M158.78,58.59V60h-1.92v7.14h-1.64V60H153.3V58.59Z" transform="translate(-1.55 -0.26)"/><path class="cls-5" d="M159.84,67.18V58.59h1.8l2.28,5.09h0V58.59h1.5v8.59h-1.57l-2.51-5.54h0v5.54Z" transform="translate(-1.55 -0.26)"/><path class="cls-5" d="M166.87,61.35c0-2.11,1.12-2.88,2.71-2.88s2.72.77,2.72,2.88v3.07c0,2.12-1.12,2.88-2.72,2.88s-2.71-.76-2.71-2.88Zm1.64,3.28c0,1,.42,1.22,1.07,1.22s1.08-.26,1.08-1.22V61.14c0-1-.42-1.21-1.08-1.21s-1.07.26-1.07,1.21Z" transform="translate(-1.55 -0.26)"/></svg>
 No newline at end of file
+28.2 KiB
Loading image diff...
+10 −1
Original line number Diff line number Diff line


# pyThermoGIS

**pyThermoGIS** is a Python package that provides API access to the [ThermoGIS](https://www.thermogis.nl/en) doublet simulations and economic calculations. 
**pyThermoGIS** is a Python package that provides API access to the [ThermoGIS](https://www.thermogis.nl/en) doublet simulations and economic calculations,  ThermoGIS is developed by the [Geological Survey of the Netherlands](https://www.geologischedienst.nl/en/) which is part of [TNO](https://www.tno.nl/en/).

<div style="display: flex; gap: 10px;">
  <img src="../images/pyThermoGIS_transparent.png" style="width: 15%; max-width: 400px; height: auto;">
  <img src="../images/TNOLogo.jpg" alt="Image 1" style="width: 25%; max-width: 400px; height: auto;">
  <img src="../images/GeologischeDienstLogo.svg" style="width: 45%; max-width: 400px; height: auto;">
</div>


This package allows a user to simulate geothermal doublets providing the following parameters: 
    
+213 KiB
Loading image diff...
+2 −14
Original line number Diff line number Diff line
import numpy as np
import xarray as xr




def test_example_1():
@@ -59,7 +56,7 @@ def test_example_3():


def test_example_4():
    from pythermogis import calculate_doublet_performance, instantiate_utc_properties_builder
    from pythermogis import calculate_doublet_performance
    import xarray as xr
    from matplotlib import pyplot as plt
    from pathlib import Path
@@ -165,9 +162,8 @@ def test_example_5():

def test_example_6():
    from pythermogis import calculate_doublet_performance,  calculate_pos4npv_pvalues_singlelocation
    from pygridsio import read_grid, plot_grid, resample_xarray_grid
    from pygridsio import read_grid
    from matplotlib import pyplot as plt
    import xarray as xr
    from pathlib import Path
    from os import path
    input_data_path = Path(path.dirname(__file__), "resources") / "test_input" / "example_data"
@@ -183,7 +179,6 @@ def test_example_6():
    reservoir_properties["ln_permeability_mean"] = np.log( read_grid(input_data_path / "ROSL_ROSLU__perm.zmap"))
    reservoir_properties["ln_permeability_sd"] =  read_grid(input_data_path / "ROSL_ROSLU__ln_perm_sd.zmap")

    x, y = 125e3, 525e3  # define location
    portfolioloc = [(125e3, 525e3), (100e3, 525e3), (110e3, 525e3), (125e3, 515e3),
                    (125e3, 520e3)]  # define location

@@ -204,12 +199,10 @@ def test_example_6():
                                                       results_loc.p_value)  # The order of the npv data has to be reversed as np.interp requires values to increase to function properly

        # plot npv versus p-value and a map showing the location of interest

        axe = axes[0, 0]
        results_loc.npv.plot(y="p_value", ax=axe, color=colors[ic])
        axe.set_title(f"Aquifer: ROSL_ROSLU\n  POS ")
        axe.axhline(pos, label=f"POS: {pos:.1f}% [ {x:.0f}m, {y:.0f}m]", ls="--", c=colors[ic])
        # axes.axhline(pos, label=f"probability of success: {pos:.1f}%",ls="--", c="tab:orange")
        axe.axvline(0.0, ls="--", c=colors[ic])
        axe.legend()
        axe.set_xlabel("net-present-value [Million €]")
@@ -224,20 +217,16 @@ def test_example_6():
        prd_temp = results_loc.prd_temp.sel(p_value=50, method="nearest")
        axe.axhline(50.0, label=f"POS: {pos:.1f}%  TEMP res: {temp:.1f} inj: {inj_temp:.1f} prd: {prd_temp:.1f} ",
                    ls="--", c=colors[ic])
        # axes.axhline(pos, label=f"probability of success: {pos:.1f}%",ls="--", c="tab:orange")
        kh50 = kh.sel(p_value=50, method="nearest")
        axe.axvline(kh50, ls="--", c=colors[ic])
        axe.legend()
        axe.set_xlabel("kH [Dm]")
        axe.set_ylabel("p-value [%]")



        axe = axes[1, 0]
        results_loc.power.plot(y="p_value", ax=axe, color=colors[ic])
        axe.set_title(f"Aquifer: ROSL_ROSLU\n Power")
        axe.axhline(pos, label=f"POS: {pos:.1f}% [ {x:.0f}m, {y:.0f}m]", ls="--", c=colors[ic])
        # axes.axhline(pos, label=f"probability of success: {pos:.1f}%",ls="--", c="tab:orange")
        valp50 = results_loc.power.sel(p_value=50, method="nearest")
        axe.axvline(valp50, ls="--", c=colors[ic])
        axe.legend()
@@ -248,7 +237,6 @@ def test_example_6():
        results_loc.cop.plot(y="p_value", ax=axe, color=colors[ic])
        axe.set_title(f"Aquifer: ROSL_ROSLU\n COP")
        axe.axhline(pos, label=f"POS: {pos:.1f}% [ {x:.0f}m, {y:.0f}m]", ls="--", c=colors[ic])
        # axes.axhline(pos, label=f"probability of success: {pos:.1f}%",ls="--", c="tab:orange")
        valp50 = results_loc.cop.sel(p_value=50, method="nearest")
        axe.axvline(valp50, ls="--", c=colors[ic])
        axe.legend()