compass.landice.extrapolate.extrapolate_variable
- compass.landice.extrapolate.extrapolate_variable(nc_file, var_name, extrap_method='auto', valid_region_method='auto', set_value=None)[source]
Function to extrapolate variable values into undefined regions
- Parameters:
nc_file (str) – the mpas file to modify
var_name (str) – the mpas variable to extrapolate
extrap_method (str) – idw, min, or value method of extrapolation
valid_region_method (str) – choice of how to define region of valid data
set_value (float) – value to set variable to outside keepCellMask when using -v value