1.5.1.1.2.1.2. polar2grid.core.dtype module

Functions that handle polar2grid data types.

polar2grid.core.dtype.clip_to_data_type(data, data_type)[source]
polar2grid.core.dtype.dtype_to_str(numpy_dtype)[source]
polar2grid.core.dtype.int_or_float(val)[source]

Convert a string to integer or float.

If we can’t make it an integer then make it a float.

polar2grid.core.dtype.normalize_dtype_string(dtype_str)[source]
polar2grid.core.dtype.str_to_dtype(dtype_str)[source]