MCPcopy Create free account
hub / github.com/NCAR/wrf-python / dateline_rot_proj

Function dateline_rot_proj

test/misc/projtest.py:111–126  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

109
110
111def dateline_rot_proj():
112 lats = np.array([[60.627974, 60.627974],
113 [71.717521, 71.717521]])
114 lons = np.array([[170.332771, -153.456292],
115 [170.332771, -153.456292]])
116
117 params = {"MAP_PROJ": 6,
118 "CEN_LAT": 66.335764,
119 "CEN_LON": -173.143792,
120 "TRUELAT1": 0,
121 "TRUELAT2": 0,
122 "MOAD_CEN_LAT": 66.335764,
123 "STAND_LON": 173.143792,
124 "POLE_LAT": 90.0 - 66.335764,
125 "POLE_LON": 180.0}
126 return lats, lons, RotatedLatLon(lats=lats, lons=lons, **params)
127
128
129class WRFProjTest(ut.TestCase):

Callers 1

make_testFunction · 0.85

Calls 1

RotatedLatLonClass · 0.90

Tested by

no test coverage detected