question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Best way to get the polar radius

See original GitHub issue

I have a geos projection CRS object and I want to get the polar radius, but it seems like it is not computed.

Out[5]: 
<Projected CRS: +proj=geos +lon_0=-89.5 +a=6378137.0 +b=6356752.31 ...>
Name: unknown
Axis Info [cartesian]:
- E[east]: Easting (metre)
- N[north]: Northing (metre)
Area of Use:
- undefined
Coordinate Operation:
- name: unknown
- method: Geostationary Satellite (Sweep X)
Datum: unknown
- Ellipsoid: GRS 1980
- Prime Meridian: Greenwich

In [6]: crs = scn['C01'].attrs['area'].crs
In [9]: crs.ellipsoid.semi_major_metre
Out[9]: 6378137.0

In [10]: crs.ellipsoid.semi_minor_metre
Out[10]: nan

In [11]: crs.ellipsoid.is_semi_minor_computed
Out[11]: False

Does nan mean it wasn’t computed? How do I compute it? If this is a property can’t it be computed when I ask for it?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
djhoesecommented, Oct 31, 2019

I thought I had created an issue for this or brought it up on gitter but now I can’t find it. Let’s close this here and if it becomes something that is inconvenient enough I’ll make an issue with PROJ.

0reactions
djhoesecommented, Jan 14, 2020

Thanks! Now if only I could remember where I wanted to use this… 🤔

Read more comments on GitHub >

github_iconTop Results From Across the Web

Finding Area In Polar Coordinates - YouTube
This Calculus 2 video tutorial explains how to find the area of a polar curve in polar coordinates. It provides resources on how...
Read more >
Polar Coordinates Basic Introduction, Conversion ... - YouTube
This Precalculus video tutorial provides a basic introduction into polar coordinates. It explains how to convert polar coordinates to ...
Read more >
Polar coordinates - xaktly.com
The point (r, θ) = (3, 60˚) is plotted by moving a distance 3 to the right along the zero-degree line, then rotating...
Read more >
What is polar radius? - Quora
A spheroid has an axis of symmetry. The polar radius is the distance from the center to the surface along that axis. The...
Read more >
Polar Radius - PC-DMIS User Forum
Possibly an easier way is to measure as a fixed radius auto circle. Then make a location dimension of the radius showing only...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found