Wrapper for dcomputerh. Located in wrf_user.f90.
(qv, q, t, outview=None)
| 301 | @cast_type(arg_idxs=(0, 1, 2)) |
| 302 | @extract_and_transpose() |
| 303 | def _rh(qv, q, t, outview=None): |
| 304 | """Wrapper for dcomputerh. |
| 305 | |
| 306 | Located in wrf_user.f90. |
| 307 | |
| 308 | """ |
| 309 | shape = qv.shape |
| 310 | if outview is None: |
| 311 | outview = np.empty_like(qv) |
| 312 | result = dcomputerh(qv.ravel(order="A"), |
| 313 | q.ravel(order="A"), |
| 314 | t.ravel(order="A"), |
| 315 | outview.ravel(order="A")) |
| 316 | result = np.reshape(result, shape, order="F") |
| 317 | |
| 318 | return result |
| 319 | |
| 320 | |
| 321 | # Note: combining the -3 and -2 dimensions from u, then the -1 dimension |
no outgoing calls
no test coverage detected