Wrapper for wrfcttcalc. Located in wrf_fctt.f90.
(p_hpa, tk, qice, qcld, qv, ght, ter, haveqci, fill_nocloud,
missing, opt_thresh, outview=None)
| 799 | @cast_type(arg_idxs=(0, 1, 2, 3, 4, 5, 6)) |
| 800 | @extract_and_transpose() |
| 801 | def _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, )) |