polaris.tasks.e3sm.init.topo.remap.RemapTopoStep.define_smoothing
- RemapTopoStep.define_smoothing(ds_unsmoothed)[source]
 Define smoothing
expand_distanceandexpand_factorfields. Derived classes should override this method to create spatially varying smoothing fields. Anexpand_distanceof 0.0 and anexpand_factorof 1.0 will not smooth the topographyThe default implementation returns constant values from the config file.
- Parameters:
 ds_unsmoothed (polaris.tasks.e3sm.init.topo.RemapTopoStep) – The step with unsmoothed topography
- Returns:
 expand_distance (xarray.DataArray or float) – The distance to expand the topography mask, same shape as fields in
ds_unsmoothedif not constantexpand_factor (xarray.DataArray or float) – The factor to expand the topography mask, same shape as fields in
ds_unsmoothedif not constant