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

Function _interp1d

src/wrf/extension.py:147–162  ·  view source on GitHub ↗

Wrapper for dinterp1d. Located in wrf_user.f90.

(v_in, z_in, z_out, missingval, outview=None)

Source from the content-addressed store, hash-verified

145@cast_type(arg_idxs=(0, 1, 2))
146@extract_and_transpose()
147def _interp1d(v_in, z_in, z_out, missingval, outview=None):
148 """Wrapper for dinterp1d.
149
150 Located in wrf_user.f90.
151
152 """
153 if outview is None:
154 outview = np.empty_like(z_out)
155
156 result = dinterp1d(v_in,
157 outview,
158 z_in,
159 z_out,
160 missingval)
161
162 return result
163
164
165@left_iteration(3, combine_dims([(3, 0), (1, 0)]),

Callers 2

_vertcrossFunction · 0.85
interp1dFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected