Skip to content

Instantly share code, notes, and snippets.

@QuLogic
Last active October 12, 2018 09:05
Show Gist options
  • Save QuLogic/598a97b6cc0fedef8b17e4ff53aebb11 to your computer and use it in GitHub Desktop.
Save QuLogic/598a97b6cc0fedef8b17e4ff53aebb11 to your computer and use it in GitHub Desktop.
Cartopy straightAndDomain Calculations
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="106.55987mm"
height="96.553467mm"
viewBox="0 0 106.55987 96.553467"
version="1.1"
id="svg8"
inkscape:version="0.92.3 (2405546, 2018-03-11)"
sodipodi:docname="project.svg">
<defs
id="defs2">
<marker
inkscape:isstock="true"
style="overflow:visible"
id="marker4900"
refX="0"
refY="0"
orient="auto"
inkscape:stockid="DotL">
<path
transform="matrix(0.8,0,0,0.8,5.92,0.8)"
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
d="m -2.5,-1 c 0,2.76 -2.24,5 -5,5 -2.76,0 -5,-2.24 -5,-5 0,-2.76 2.24,-5 5,-5 2.76,0 5,2.24 5,5 z"
id="path4898"
inkscape:connector-curvature="0" />
</marker>
<marker
inkscape:stockid="EmptyDiamondLstart"
orient="auto"
refY="0"
refX="0"
id="EmptyDiamondLstart"
style="overflow:visible"
inkscape:isstock="true">
<path
id="path4645"
d="M 0,-7.0710768 -7.0710894,0 0,7.0710589 7.0710462,0 Z"
style="fill:#ffffff;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
transform="matrix(0.8,0,0,0.8,5.6,0)"
inkscape:connector-curvature="0" />
</marker>
<marker
inkscape:stockid="EmptyTriangleOutM"
orient="auto"
refY="0"
refX="0"
id="EmptyTriangleOutM"
style="overflow:visible"
inkscape:isstock="true">
<path
id="path4693"
d="M 5.77,0 -2.88,5 V -5 Z"
style="fill:#ffffff;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
transform="matrix(0.4,0,0,0.4,-1.8,0)"
inkscape:connector-curvature="0" />
</marker>
<marker
inkscape:stockid="DotL"
orient="auto"
refY="0"
refX="0"
id="DotL"
style="overflow:visible"
inkscape:isstock="true"
inkscape:collect="always">
<path
id="path4591"
d="m -2.5,-1 c 0,2.76 -2.24,5 -5,5 -2.76,0 -5,-2.24 -5,-5 0,-2.76 2.24,-5 5,-5 2.76,0 5,2.24 5,5 z"
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
transform="matrix(0.8,0,0,0.8,5.92,0.8)"
inkscape:connector-curvature="0" />
</marker>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.98994949"
inkscape:cx="239.23825"
inkscape:cy="218.07579"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
showgrid="false"
fit-margin-top="10"
fit-margin-left="10"
fit-margin-right="10"
fit-margin-bottom="10"
inkscape:window-width="1366"
inkscape:window-height="704"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:window-maximized="1" />
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-3.6839196,-14.621645)">
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.26499999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-start:url(#DotL);marker-end:url(#DotL)"
d="M 34.773809,95.160713 78.619047,30.904762"
id="path4520"
inkscape:connector-curvature="0" />
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:5.29166651px;line-height:6.61458302px;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
x="13.229167"
y="100.0744"
id="text4524"><tspan
sodipodi:role="line"
id="tspan4522"
x="13.229167"
y="100.0744"
style="stroke-width:0.26458332px">(x<tspan
style="font-size:65%;baseline-shift:sub"
id="tspan864">0</tspan>, y<tspan
style="font-size:65%;baseline-shift:sub"
id="tspan862">0</tspan>)</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:5.29166651px;line-height:6.61458302px;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
x="78.997025"
y="28.636904"
id="text4528"><tspan
sodipodi:role="line"
id="tspan4526"
x="78.997025"
y="28.636904"
style="stroke-width:0.26458332px">(x<tspan
style="font-size:65%;baseline-shift:sub"
id="tspan858">1</tspan>, y<tspan
style="font-size:65%;baseline-shift:sub"
id="tspan860">1</tspan>)</tspan></text>
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-start:url(#EmptyDiamondLstart);marker-end:url(#marker4900)"
d="M 65.389881,49.803571 86.934523,64.166665"
id="path4830"
inkscape:connector-curvature="0" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 34.773809,95.160713 86.934523,64.166665"
id="path4832"
inkscape:connector-curvature="0" />
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:5.29166651px;line-height:6.61458302px;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
x="87.992859"
y="64.166664"
id="text4946"><tspan
sodipodi:role="line"
id="tspan4944"
x="87.992859"
y="64.166664"
style="stroke-width:0.26458332px">(x, y)</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:5.29166651px;line-height:6.61458302px;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
x="44.223213"
y="86.467255"
id="text4950"><tspan
sodipodi:role="line"
id="tspan4948"
x="44.223213"
y="86.467255"
style="stroke-width:0.26458332px">θ</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:5.29166651px;line-height:6.61458302px;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
x="29.482143"
y="66.434525"
id="text4988"><tspan
sodipodi:role="line"
id="tspan4986"
x="29.482143"
y="66.434525"
style="stroke-width:0.26458332px">dist</tspan></text>
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 34.773809,95.160713 c -8.315475,-4.157738 9.449405,-23.8125 9.449405,-23.8125 l -3.401787,-4.913691 6.047621,0.377976 c 0,0 10.583332,-22.300595 18.520833,-17.008927"
id="path4990"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccc" />
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:5.29166651px;line-height:6.61458302px;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
x="80.774033"
y="51.006145"
id="text865"><tspan
sodipodi:role="line"
id="tspan863"
x="80.774033"
y="51.006145"
style="stroke-width:0.26458332px">sep</tspan></text>
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 65.389881,49.803571 c 3.613525,-3.473285 11.747376,3.114704 11.747376,3.114704 l 3.186812,-0.748435 1.153007,3.097324 c 0,0 7.589997,4.293455 5.457447,8.899501"
id="path4990-3"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccc" />
</g>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment