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

Function _ctt

src/wrf/extension.py:801–827  ·  view source on GitHub ↗

Wrapper for wrfcttcalc. Located in wrf_fctt.f90.

(p_hpa, tk, qice, qcld, qv, ght, ter, haveqci, fill_nocloud,
         missing, opt_thresh, outview=None)

Source from the content-addressed store, hash-verified

799@cast_type(arg_idxs=(0, 1, 2, 3, 4, 5, 6))
800@extract_and_transpose()
801def _ctt(p_hpa, tk, qice, qcld, qv, ght, ter, haveqci, fill_nocloud,
802 missing, opt_thresh, outview=None):
803 """Wrapper for wrfcttcalc.
804
805 Located in wrf_fctt.f90.
806
807 """
808 if outview is None:
809 outview = np.empty_like(ter)
810
811 pf = np.empty(p_hpa.shape[0:3], np.float64, order="F")
812
813 result = wrfcttcalc(p_hpa,
814 tk,
815 qice,
816 qcld,
817 qv,
818 ght,
819 ter,
820 outview,
821 pf,
822 haveqci,
823 fill_nocloud,
824 missing,
825 opt_thresh)
826
827 return result
828
829
830@check_args(0, 2, (2, ))

Callers 2

get_cttFunction · 0.85
cttFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected