Repository navigation
Conversation
…ection_through_verts' into multiprecision_unique_coords_detection_through_verts
…ection_through_verts' into multiprecision_unique_coords_detection_through_verts
…https://github.com/hongyuchen1030/uxarray into multiprecision_unique_coords_detection_through_verts
…https://github.com/hongyuchen1030/uxarray into multiprecision_unique_coords_detection_through_verts
|
@philipc2 @anissa111 Can you help me to take a look into that? Thanks |
|
@hongyuchen1030 Thanks for all the help, I made my own repo and made a branch like you said. You should be able to see all the changes on https://github.com/aaronzedwick/uxarray/tree/multiprecision_unique_coords_detection_through_ds If you need me to change or do anything else just message me on slack. |
|
While we figure our and work out an adequate design for releasing multi-precision support, I've created a protected branch This should also allow future PR's, like the ones @aaronzedwick is working on to use We will also have a PR similar to the ongoing Redesign one that will be the one that merges into Let me know if this works and if I can clarify anything! Hopefully this speeds up development, |
Thank you very much for your help! That works for me! |
Fantastic! I'll start reviewing it now, since there won't be much pressure on making it ready for main just yet. |
|
Hi @aaronzedwick, can you help me figure out the readthedoc issue and merge this PR into the UXARRAY:multi_precision branch? Thanks |
philipc2
left a comment
There was a problem hiding this comment.
There appears to be an issue with the Area Calculation notebook. I'll look into it.
|
My ds branch also failed the readthedocs previously. Could be for the same reason, let me know if you figure anything out, I don't know much about how the check works. |
See failure messages here - https://readthedocs.org/projects/uxarray/builds/21083976/ |
|
Hi @philipc2, Do you have any idea in mind about why the read-doc fails and how to fix it? |
…https://github.com/hongyuchen1030/uxarray into multiprecision_unique_coords_detection_through_verts
|
I'm not sure what happened, but the Face Area notebook was corrupted, causing the docs to fail. I've manually replaced it. |
|
@hongyuchen1030 If we can get this branch merged it will make it easier to merge other branches, like my from_ds function. Right now the multi-precision branch doesn't have any of the multi-precision helpers or functions. Getting this merged would add those to the branch. |
I understand, but so far, without the reviewers approval, I am unable to merge it. @philipc2 Can you take a look of this PR and see if you can approve it? Thanks |
philipc2
left a comment
There was a problem hiding this comment.
Approving tentatively to speed up development, with a detailed review expected when multi_precision is merged into man
Finish the 1st step of #318
Data Read in
Grid.__from_vert__()Overview
This will convert every user input coordinates to the user-specified precision
gmpy2.mpfrtypes. It can recognize two coordinates even though they're extremely closed up to anygmpy2supported precision. To achieve the precision higher than pythonfloat(53 bits), it's highly recommended that users use the string as input. This PR also introduce new constant for multi-precision usage:INT_FILL_VALUE_MPZ: The filled value that represented by thegmpy2.mpztype, the value will be the same asINT_FILL_VALUEFLOAT_PRECISION_BITS: 53, the pythonfloatprecision bitsFor more information about the multi-precision and exact computation paradigm, please refers to the following materials
GMPY2
The Exact Computation Paradigm
Expected Usage
PR Checklist
General
Testing
Documentation
_) and have been added todocs/internal_api/index.rstdocs/user_api/index.rstExamples
docs/examples/folderdocs/examples.rsttoctreedocs/gallery.ymlwith appropriate thumbnail photo indocs/_static/thumbnails/