mapshader.transforms.cast# mapshader.transforms.cast(arr, dtype)[source]# Cast the data to a specific data type. Parameters: arr (xarray.DataArray) – The data source. dtype (str) – Data type. Returns: casted_data – The casted data. Return type: xarray.DataArray