Skip to content
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

Coordinates conversion helpers overloads #347

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
e3a13ff
add `convert_to_mpfr` in helper
hongyuchen1030 May 18, 2023
fb485a6
Unique Coordinates precision detection up to the specified precision
hongyuchen1030 May 18, 2023
049768c
Unique Coordinates precision detection up to the specified precision
hongyuchen1030 May 19, 2023
b21f7e9
Implemented multi precision `__from_vert__()`
hongyuchen1030 May 19, 2023
27a95a1
Update multi_precision_helpers.py
hongyuchen1030 May 19, 2023
165d1eb
Remove the global precision setting
hongyuchen1030 May 19, 2023
0ae5242
`__from_vert__()` supports the multi-precision read-in now
hongyuchen1030 May 19, 2023
963588d
Finished the docstring writing
hongyuchen1030 May 20, 2023
4ccb76c
Add jupyter-notebook example
hongyuchen1030 May 20, 2023
0c34582
Precommit
hongyuchen1030 May 20, 2023
4eb723f
Precommit
hongyuchen1030 May 20, 2023
bf08b21
Merge branch 'UXARRAY:main' into multiprecision_unique_coords_detecti…
hongyuchen1030 May 20, 2023
304f7e8
Precommit for jupyter notebook
hongyuchen1030 May 20, 2023
786faf6
Merge remote-tracking branch 'origin/multiprecision_unique_coords_det…
hongyuchen1030 May 20, 2023
b347f9c
The precommit for jupyter notebook example again
hongyuchen1030 May 20, 2023
8e01d74
The precommit for jupyter notebook example again
hongyuchen1030 May 20, 2023
ca052c6
Your updated commit message here
hongyuchen1030 May 20, 2023
42c3926
Merge remote-tracking branch 'origin/multiprecision_unique_coords_det…
hongyuchen1030 May 20, 2023
7f9ea2b
force commit the jupyter notebook
hongyuchen1030 May 20, 2023
ffaa1a2
Merge branch 'multiprecision_unique_coords_detection_through_verts' o…
hongyuchen1030 May 20, 2023
3e4e06d
force commit the jupyter notebook
hongyuchen1030 May 20, 2023
69ef6f4
Merge branch 'multiprecision_unique_coords_detection_through_verts' o…
hongyuchen1030 May 20, 2023
3065422
Done multiprecision normalized in place
hongyuchen1030 May 21, 2023
757cb4b
Done multiprecision normalized in place
hongyuchen1030 May 21, 2023
64a4a14
Merge branch 'main' into multiprecision_unique_coords_detection_throu…
philipc2 May 22, 2023
020aa4b
pre-commit on new example
philipc2 May 22, 2023
81f8290
run pre-commit on all notebooks
philipc2 May 22, 2023
8802895
Merge branch 'main' into multiprecision_unique_coords_detection_throu…
philipc2 May 22, 2023
476198f
Done multiprecision node_xyz_to_lonlat_rad
hongyuchen1030 May 22, 2023
fca0700
Done multiprecision node_latlon_rad_to_xyz
hongyuchen1030 May 22, 2023
21432fc
Done multiprecision coordinates population
hongyuchen1030 May 22, 2023
c1c6af3
Remove the @njit decorator(not compatible with the gmpy2)
hongyuchen1030 May 23, 2023
5a214cd
Update user exmaples
hongyuchen1030 May 23, 2023
a4355b3
Merge branch 'multiprecision_unique_coords_detection_through_verts' o…
hongyuchen1030 May 23, 2023
a3ef004
Update user exmaples
hongyuchen1030 May 23, 2023
f35aaf8
Fix the error in examples
hongyuchen1030 May 23, 2023
c4873cf
Fix API bugs
hongyuchen1030 May 23, 2023
1608dbf
replace `np.float` with `float`
hongyuchen1030 May 24, 2023
53d42a9
rerun `make html`
hongyuchen1030 May 24, 2023
dc0d6f7
Merge branch 'main' into multiprecision_unique_coords_detection_throu…
hongyuchen1030 May 24, 2023
258f81b
fix precommit `make html`
hongyuchen1030 May 24, 2023
ad6ae46
Merge remote-tracking branch 'origin/multiprecision_unique_coords_det…
hongyuchen1030 May 24, 2023
875611d
precommit fix for jupyternotebook
hongyuchen1030 May 24, 2023
4eb4b1a
Fix jupyter example
hongyuchen1030 May 24, 2023
96bcdf0
update the jupyter notebook
hongyuchen1030 May 24, 2023
10187f3
precommit jupyter notebook
hongyuchen1030 May 24, 2023
8707a5c
Force Update 004-multiprecision-usage.ipynb
hongyuchen1030 May 24, 2023
435245b
Merge branch 'main' into multiprecision_unique_coords_detection_throu…
hongyuchen1030 May 25, 2023
2adfbe3
add testcase for performance test
hongyuchen1030 May 27, 2023
a5e10de
Merge branch 'multiprecision_unique_coords_detection_through_verts' o…
hongyuchen1030 May 27, 2023
93b4c20
Pass the pytest
hongyuchen1030 May 27, 2023
18738fa
Update 004-multiprecision-usage.ipynb
hongyuchen1030 May 27, 2023
aeeeaef
precommit the jupyternotebook
hongyuchen1030 May 27, 2023
a368873
Merge remote-tracking branch 'origin/multiprecision_coordinates_conve…
hongyuchen1030 May 27, 2023
89eedf5
Merge branch 'main' into multiprecision_unique_coords_detection_throu…
philipc2 May 31, 2023
f21f005
Merge branch 'main' into multiprecision_unique_coords_detection_throu…
hongyuchen1030 May 31, 2023
1466820
Merge branch 'main' into multiprecision_unique_coords_detection_throu…
philipc2 Jun 6, 2023
e8b44c9
Merge branch 'main' into multiprecision_coordinates_conversion
hongyuchen1030 Jun 6, 2023
db819fe
Updated from_ds function, my test case isn't working. Rajeev said to …
aaronzedwick Jun 8, 2023
b44a3fa
Revert "Updated from_ds function, my test case isn't working. Rajeev …
hongyuchen1030 Jun 8, 2023
5ac2bdc
Updated from_ds function, my test case isn't working. Rajeev said to …
aaronzedwick Jun 8, 2023
7264d2c
Revert "Updated from_ds function, my test case isn't working. Rajeev …
hongyuchen1030 Jun 8, 2023
e69a3e5
coordinates conversion overloads
hongyuchen1030 Jun 14, 2023
77351c2
merge redesign
philipc2 Jun 20, 2023
5170e3c
fix import
philipc2 Jun 20, 2023
6c10e6d
fix constants
philipc2 Jun 20, 2023
e81fe91
fix import
philipc2 Jun 20, 2023
3bcff54
fix ds access
philipc2 Jun 20, 2023
630534f
fix constants
philipc2 Jun 20, 2023
3f193a1
use correct init
philipc2 Jun 20, 2023
7f160b2
fix ds
philipc2 Jun 20, 2023
60b1720
Update helpers.py
philipc2 Jun 22, 2023
a7a0176
attempt to correct JSON RTD error
philipc2 Jun 30, 2023
27b2281
Merge branch 'multiprecision_unique_coords_detection_through_verts' o…
philipc2 Jun 30, 2023
989607d
manually fix corrupted notebook
philipc2 Jun 30, 2023
86ed3ce
Merge pull request #321 from hongyuchen1030/multiprecision_unique_coo…
philipc2 Jul 12, 2023
cdf451b
Merge branch 'main' into multi_precision
philipc2 Jul 12, 2023
0b91cc2
Merged Redesign
aaronzedwick Jul 13, 2023
39ff05e
Fixed misc. test errors
aaronzedwick Jul 13, 2023
1e73484
Merge branch 'multi_precision' into coordinates-conversion-helpers-ov…
aaronzedwick Jul 13, 2023
f2a489d
Fixed pre-commit
aaronzedwick Jul 13, 2023
638f304
Notebook edits
aaronzedwick Jul 13, 2023
c9cf238
Fixed corrupted notebook
aaronzedwick Jul 14, 2023
6bf098a
Merge branch 'main' into multi_precision
philipc2 Jul 17, 2023
b8c4b1c
Merge branch 'multi_precision' into coordinates-conversion-helpers-ov…
philipc2 Jul 18, 2023
3f674bf
Update index.rst
philipc2 Jul 18, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ci/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ dependencies:
- myst-nb
- sphinx-design
- nbsphinx
- gmpy2
- mpmath
- matplotlib
2 changes: 2 additions & 0 deletions ci/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ dependencies:
- pytest-cov
- scipy
- xarray
- gmpy2
- mpmath
2 changes: 2 additions & 0 deletions ci/upstream-dev-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ dependencies:
- pytest
- pytest-cov
- scipy
- gmpy2
- mpmath
1 change: 1 addition & 0 deletions docs/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ your own examples or suggesting one for us to create, please see the :doc:`contr
examples/002-grid-topology.ipynb
examples/003-area-calc.ipynb
examples/004-working-with-mpas-grids.ipynb
examples/005-multiprecision-usage.ipynb
18 changes: 15 additions & 3 deletions docs/examples/000-template.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,23 @@
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"metadata": {
"pycharm": {
"name": "#%% md\n"
}
},
"source": [
"# Blank Template Notebook"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"metadata": {
"pycharm": {
"name": "#%%\n"
}
},
"outputs": [],
"source": [
"import numpy as np\n",
Expand All @@ -20,7 +28,11 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"pycharm": {
"name": "#%%\n"
}
},
"outputs": [],
"source": []
}
Expand Down
Loading
Loading