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

Function _pw

src/wrf/extension.py:577–592  ·  view source on GitHub ↗

Wrapper for dcomputepw. Located in wrf_pw.f90.

(p, tv, qv, ht, outview=None)

Source from the content-addressed store, hash-verified

575@cast_type(arg_idxs=(0, 1, 2, 3))
576@extract_and_transpose()
577def _pw(p, tv, qv, ht, outview=None):
578 """Wrapper for dcomputepw.
579
580 Located in wrf_pw.f90.
581
582 """
583 if outview is None:
584 outview = np.empty(p.shape[0:2], p.dtype, order="F")
585
586 result = dcomputepw(p,
587 tv,
588 qv,
589 ht,
590 outview)
591
592 return result
593
594
595@check_args(0, 3, (3, 3, 3, 3, 3, 3))

Callers 2

get_pwFunction · 0.85
pwFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected