summaryrefslogtreecommitdiff
path: root/lib/great_circle_arc.py
Commit message (Collapse)AuthorAgeFilesLines
* Python 3.x fixesmdroe2012-06-041-5/+5
| | | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/branches/sphere@17201 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 645db247912b7d5985ab878bd3c7fb5e9574f05d
* Use an entirely different method for area computation. It first transforms ↵mdroe2012-06-041-2/+6
| | | | | | | | | | | | | | | | | | to a 2D plane by interpolating the great circle arcs through a Lambert azimuthal equal area projection. Then a standard 2D polygon area method is used. Make sure the polygons always go clockwise to aid in area computation. Fix union calculation -- it should be removing interior edges, not interior nodes. Fix some numerical out-of-range problems in great_circle_arc.py Remove the serial method for multi_union -- it no longer generates polygons that are compatible with calculating the area. Make debugging images more explanatory by putting a meaningful title at the top. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/branches/sphere@17200 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: fb841a481025150f631be6d64cf995dda592ecbc
* Fix typo in docsmdroe2012-06-011-2/+2
| | | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/branches/sphere@17197 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: ff32480b3a43d8507e537e843cfa3f4bd6b6c9e0
* Make sure steps are always at least 2mdroe2012-06-011-0/+1
| | | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/branches/sphere@17195 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: efd4360668c6c220b5737e8db3fa99948c52cd3a
* Use slerp interpolationmdroe2012-06-011-4/+19
| | | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/branches/sphere@17193 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 4354d548cccf590779e982a7eaa5eb227f034ff5
* Fix drawing -- basemap can not handle drawing great circle arcs that go ↵mdroe2012-06-011-0/+23
| | | | | | | around the edges of the domain. The solution is to do the interpolation in the quaternion space and then pass little snippets of that to basemap. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/branches/sphere@17192 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: dc807419ae1618c42af6434f6e63c7f0cb3bf36e
* lim replaced relative imports and updated skylinelim2012-05-311-2/+1
| | | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/branches/sphere@17091 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 7238698a4856c8b46a93aafb4960c90e3f44fe92
* lim added files to sphere branchlim2012-03-291-0/+318
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/branches/sphere@15878 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: b51412b5b545598ae101152eeaed470b08616176