Skip to content

Commit

Permalink
deploy: 9819864
Browse files Browse the repository at this point in the history
  • Loading branch information
cyschneck committed Oct 15, 2024
1 parent c90f535 commit 23c6400
Show file tree
Hide file tree
Showing 24 changed files with 935 additions and 908 deletions.
6 changes: 3 additions & 3 deletions _preview/1/README.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
<link rel="next" title="How to Cite This Cookbook" href="notebooks/how-to-cite.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
<meta name="docbuild:last-update" content="10 October 2024"/>
<meta name="docbuild:last-update" content="15 October 2024"/>
</head>


Expand Down Expand Up @@ -854,7 +854,7 @@ <h3>Running on Your Own Machine<a class="headerlink" href="#running-on-your-own-

<div class="footer-item">
<p class="last-updated">
Last updated on 10 October 2024.
Last updated on 15 October 2024.
<br/>
</p>
</div>
Expand Down Expand Up @@ -908,7 +908,7 @@ <h3>Running on Your Own Machine<a class="headerlink" href="#running-on-your-own-

By the <a href="https://projectpythia.org/">Project Pythia</a> Community.

Last updated on 10 October 2024.
Last updated on 15 October 2024.
</p>
</div>
</div>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 7 additions & 4 deletions _preview/1/_sources/notebooks/foundations/coordinates.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@
"\n",
"Polar coordinates are a combination of latitude, longitude, and altitude from the center of the sphere (based on the radius)\n",
"\n",
"Assuming the earth's radius is 6378137 meters\n",
"\n",
"$$x = cos(latitude) * cos(longitude) * radius$$\n",
"$$y = cos(latitude) * sin(longitude) * radius$$\n",
"$$z = sin(latitude) * radius$$"
Expand Down Expand Up @@ -1041,11 +1043,12 @@
]
},
{
"cell_type": "code",
"execution_count": null,
"cell_type": "markdown",
"metadata": {},
"outputs": [],
"source": []
"source": [
"- [Ed Williams \"Avitation Formulary\"](https://edwilliams.org/avform147.htm)\n",
"- [Movable Type Scripts](https://www.movable-type.co.uk/scripts/latlong.html)"
]
}
],
"metadata": {
Expand Down
90 changes: 68 additions & 22 deletions _preview/1/_sources/notebooks/foundations/terminology.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -151,44 +151,90 @@
},
{
"cell_type": "code",
"execution_count": 40,
"execution_count": 4,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"dict_keys(['MERIT', 'SGS85', 'GRS80', 'IAU76', 'airy', 'APL4.9', 'NWL9D', 'mod_airy', 'andrae', 'danish', 'aust_SA', 'GRS67', 'GSK2011', 'bessel', 'bess_nam', 'clrk66', 'clrk80', 'clrk80ign', 'CPM', 'delmbr', 'engelis', 'evrst30', 'evrst48', 'evrst56', 'evrst69', 'evrstSS', 'fschr60', 'fschr60m', 'fschr68', 'helmert', 'hough', 'intl', 'krass', 'kaula', 'lerch', 'mprts', 'new_intl', 'plessis', 'PZ90', 'SEasia', 'walbeck', 'WGS60', 'WGS66', 'WGS72', 'WGS84', 'sphere'])"
]
},
"execution_count": 40,
"metadata": {},
"output_type": "execute_result"
"name": "stdout",
"output_type": "stream",
"text": [
"MERIT = {'a': 6378137.0, 'rf': 298.257, 'description': 'MERIT 1983'}\n",
"SGS85 = {'a': 6378136.0, 'rf': 298.257, 'description': 'Soviet Geodetic System 85'}\n",
"GRS80 = {'a': 6378137.0, 'rf': 298.257222101, 'description': 'GRS 1980(IUGG, 1980)'}\n",
"IAU76 = {'a': 6378140.0, 'rf': 298.257, 'description': 'IAU 1976'}\n",
"airy = {'a': 6377563.396, 'rf': 299.3249646, 'description': 'Airy 1830'}\n",
"APL4.9 = {'a': 6378137.0, 'rf': 298.25, 'description': 'Appl. Physics. 1965'}\n",
"NWL9D = {'a': 6378145.0, 'rf': 298.25, 'description': 'Naval Weapons Lab., 1965'}\n",
"mod_airy = {'a': 6377340.189, 'b': 6356034.446, 'description': 'Modified Airy'}\n",
"andrae = {'a': 6377104.43, 'rf': 300.0, 'description': 'Andrae 1876 (Den., Iclnd.)'}\n",
"danish = {'a': 6377019.2563, 'rf': 300.0, 'description': 'Andrae 1876 (Denmark, Iceland)'}\n",
"aust_SA = {'a': 6378160.0, 'rf': 298.25, 'description': 'Australian Natl & S. Amer. 1969'}\n",
"GRS67 = {'a': 6378160.0, 'rf': 298.247167427, 'description': 'GRS 67(IUGG 1967)'}\n",
"GSK2011 = {'a': 6378136.5, 'rf': 298.2564151, 'description': 'GSK-2011'}\n",
"bessel = {'a': 6377397.155, 'rf': 299.1528128, 'description': 'Bessel 1841'}\n",
"bess_nam = {'a': 6377483.865, 'rf': 299.1528128, 'description': 'Bessel 1841 (Namibia)'}\n",
"clrk66 = {'a': 6378206.4, 'b': 6356583.8, 'description': 'Clarke 1866'}\n",
"clrk80 = {'a': 6378249.145, 'rf': 293.4663, 'description': 'Clarke 1880 mod.'}\n",
"clrk80ign = {'a': 6378249.2, 'rf': 293.4660212936269, 'description': 'Clarke 1880 (IGN).'}\n",
"CPM = {'a': 6375738.7, 'rf': 334.29, 'description': 'Comm. des Poids et Mesures 1799'}\n",
"delmbr = {'a': 6376428.0, 'rf': 311.5, 'description': 'Delambre 1810 (Belgium)'}\n",
"engelis = {'a': 6378136.05, 'rf': 298.2566, 'description': 'Engelis 1985'}\n",
"evrst30 = {'a': 6377276.345, 'rf': 300.8017, 'description': 'Everest 1830'}\n",
"evrst48 = {'a': 6377304.063, 'rf': 300.8017, 'description': 'Everest 1948'}\n",
"evrst56 = {'a': 6377301.243, 'rf': 300.8017, 'description': 'Everest 1956'}\n",
"evrst69 = {'a': 6377295.664, 'rf': 300.8017, 'description': 'Everest 1969'}\n",
"evrstSS = {'a': 6377298.556, 'rf': 300.8017, 'description': 'Everest (Sabah & Sarawak)'}\n",
"fschr60 = {'a': 6378166.0, 'rf': 298.3, 'description': 'Fischer (Mercury Datum) 1960'}\n",
"fschr60m = {'a': 6378155.0, 'rf': 298.3, 'description': 'Modified Fischer 1960'}\n",
"fschr68 = {'a': 6378150.0, 'rf': 298.3, 'description': 'Fischer 1968'}\n",
"helmert = {'a': 6378200.0, 'rf': 298.3, 'description': 'Helmert 1906'}\n",
"hough = {'a': 6378270.0, 'rf': 297.0, 'description': 'Hough'}\n",
"intl = {'a': 6378388.0, 'rf': 297.0, 'description': 'International 1924 (Hayford 1909, 1910)'}\n",
"krass = {'a': 6378245.0, 'rf': 298.3, 'description': 'Krassovsky, 1942'}\n",
"kaula = {'a': 6378163.0, 'rf': 298.24, 'description': 'Kaula 1961'}\n",
"lerch = {'a': 6378139.0, 'rf': 298.257, 'description': 'Lerch 1979'}\n",
"mprts = {'a': 6397300.0, 'rf': 191.0, 'description': 'Maupertius 1738'}\n",
"new_intl = {'a': 6378157.5, 'b': 6356772.2, 'description': 'New International 1967'}\n",
"plessis = {'a': 6376523.0, 'b': 6355863.0, 'description': 'Plessis 1817 (France)'}\n",
"PZ90 = {'a': 6378136.0, 'rf': 298.25784, 'description': 'PZ-90'}\n",
"SEasia = {'a': 6378155.0, 'b': 6356773.3205, 'description': 'Southeast Asia'}\n",
"walbeck = {'a': 6376896.0, 'b': 6355834.8467, 'description': 'Walbeck'}\n",
"WGS60 = {'a': 6378165.0, 'rf': 298.3, 'description': 'WGS 60'}\n",
"WGS66 = {'a': 6378145.0, 'rf': 298.25, 'description': 'WGS 66'}\n",
"WGS72 = {'a': 6378135.0, 'rf': 298.26, 'description': 'WGS 72'}\n",
"WGS84 = {'a': 6378137.0, 'rf': 298.257223563, 'description': 'WGS 84'}\n",
"sphere = {'a': 6370997.0, 'b': 6370997.0, 'description': 'Normal Sphere (r=6370997)'}\n"
]
}
],
"source": [
"import pyproj\n",
"pyproj.list.get_ellps_map().keys()"
"for key in pyproj.list.get_ellps_map().keys():\n",
" print(f\"{key} = {pyproj.list.get_ellps_map()[key]}\")"
]
},
{
"cell_type": "code",
"execution_count": 45,
"execution_count": 5,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"dict_keys(['WGS-84', 'GRS-80', 'Airy (1830)', 'Intl 1924', 'Clarke (1880)', 'GRS-67'])"
]
},
"execution_count": 45,
"metadata": {},
"output_type": "execute_result"
"name": "stdout",
"output_type": "stream",
"text": [
"WGS-84 = (6378.137, 6356.7523142, 0.0033528106647474805)\n",
"GRS-80 = (6378.137, 6356.7523141, 0.003352810681182319)\n",
"Airy (1830) = (6377.563396, 6356.256909, 0.0033408506414970775)\n",
"Intl 1924 = (6378.388, 6356.911946, 0.003367003367003367)\n",
"Clarke (1880) = (6378.249145, 6356.51486955, 0.003407561378699334)\n",
"GRS-67 = (6378.16, 6356.774719, 0.003352891869237217)\n"
]
}
],
"source": [
"from geopy import distance\n",
"distance.ELLIPSOIDS.keys()"
"for key in distance.ELLIPSOIDS.keys():\n",
" print(f\"{key} = {distance.ELLIPSOIDS[key]}\")"
]
},
{
Expand Down Expand Up @@ -268,8 +314,8 @@
"Here are a list of some for working mathematically with great circles:\n",
"- [Ed Williams \"Avitation Formulary\"](https://edwilliams.org/avform147.htm)\n",
"- [Movable Type Scripts](https://www.movable-type.co.uk/scripts/latlong.html)\n",
"- \"Heavenly Mathematics: The Forgotten Art of SPherical Trigonometry\" by Glen Van Brummelen\n",
"- \"SPherical Trigonometry: A Comprehensive Approach\" by Ira Arevalo Fajardo"
"- \"Heavenly Mathematics: The Forgotten Art of Spherical Trigonometry\" by Glen Van Brummelen\n",
"- \"Spherical Trigonometry: A Comprehensive Approach\" by Ira Arevalo Fajardo"
]
},
{
Expand Down
Loading

0 comments on commit 23c6400

Please sign in to comment.