Peano
Loading...
Searching...
No Matches
TestEllipsoidProjection Namespace Reference

Variables

 lons = np.linspace(-98, -70, 1000)
 lats = np.linspace(15, 35, 1000)
 LON
 LAT
str proj_str = "+proj=aea +lon_0=-84 +lat_1=18.3333333 +lat_2=31.6666667 +lat_0=25 +datum=WGS84 +units=m +no_defs"
 transformer = Transformer.from_crs(proj_str, "EPSG:4326", always_xy=True)
 X = np.vectorize(lambda x, y: Wrapper.ellipsoidTransform(x, y).first)(LON, LAT)
 Y = np.vectorize(lambda x, y: Wrapper.ellipsoidTransform(x, y).second)(LON, LAT)
 lon_reconstructed
 lat_reconstructed
 lon_diff = lon_reconstructed - LON
 lat_diff = lat_reconstructed - LAT

Variable Documentation

◆ LAT

TestEllipsoidProjection.LAT

Definition at line 9 of file TestEllipsoidProjection.py.

◆ lat_diff

TestEllipsoidProjection.lat_diff = lat_reconstructed - LAT

Definition at line 25 of file TestEllipsoidProjection.py.

◆ lat_reconstructed

TestEllipsoidProjection.lat_reconstructed

Definition at line 20 of file TestEllipsoidProjection.py.

◆ lats

TestEllipsoidProjection.lats = np.linspace(15, 35, 1000)

Definition at line 8 of file TestEllipsoidProjection.py.

◆ LON

TestEllipsoidProjection.LON

Definition at line 9 of file TestEllipsoidProjection.py.

◆ lon_diff

TestEllipsoidProjection.lon_diff = lon_reconstructed - LON

Definition at line 22 of file TestEllipsoidProjection.py.

◆ lon_reconstructed

TestEllipsoidProjection.lon_reconstructed

Definition at line 20 of file TestEllipsoidProjection.py.

◆ lons

TestEllipsoidProjection.lons = np.linspace(-98, -70, 1000)

Definition at line 7 of file TestEllipsoidProjection.py.

◆ proj_str

str TestEllipsoidProjection.proj_str = "+proj=aea +lon_0=-84 +lat_1=18.3333333 +lat_2=31.6666667 +lat_0=25 +datum=WGS84 +units=m +no_defs"

Definition at line 12 of file TestEllipsoidProjection.py.

◆ transformer

TestEllipsoidProjection.transformer = Transformer.from_crs(proj_str, "EPSG:4326", always_xy=True)

Definition at line 13 of file TestEllipsoidProjection.py.

◆ X

TestEllipsoidProjection.X = np.vectorize(lambda x, y: Wrapper.ellipsoidTransform(x, y).first)(LON, LAT)

Definition at line 17 of file TestEllipsoidProjection.py.

◆ Y

TestEllipsoidProjection.Y = np.vectorize(lambda x, y: Wrapper.ellipsoidTransform(x, y).second)(LON, LAT)

Definition at line 18 of file TestEllipsoidProjection.py.