Peano
TestSphereProjection.py File Reference

Go to the source code of this file.

Namespaces

 TestSphereProjection
 

Variables

 TestSphereProjection.lons = np.linspace(-98, -70, 1000)
 
 TestSphereProjection.lats = np.linspace(15, 35, 1000)
 
 TestSphereProjection.LON
 
 TestSphereProjection.LAT
 
tuple TestSphereProjection.proj_str
 
 TestSphereProjection.transformer = Transformer.from_crs(proj_str, "EPSG:4326", always_xy=True)
 
 TestSphereProjection.X = np.vectorize(lambda x, y: Wrapper.sphereTransform(x, y).first)(LON, LAT)
 
 TestSphereProjection.Y = np.vectorize(lambda x, y: Wrapper.sphereTransform(x, y).second)(LON, LAT)
 
 TestSphereProjection.lon_reconstructed
 
 TestSphereProjection.lat_reconstructed
 
 TestSphereProjection.lon_diff = lon_reconstructed - LON
 
 TestSphereProjection.lat_diff = lat_reconstructed - LAT