NEDAS.utils.multiscale module
- NEDAS.utils.multiscale.lowpass_response(k2d, k1, k2)[source]
Low-pass spectral response function Input - k2d: array, 2d wavenumber - k1, k2: float, wavenumbers defining the transition zone (from 1 to 0 in response) Return - r: array same dimension as k2d, the response function
- NEDAS.utils.multiscale.get_scale_component(grid, fld, character_length, s)[source]
Get scale component using a bandpass filter in spectral space Input: - grid: Grid object - fld: array, […, ny, nx], the input field - character_length: list of characteristic length for each scale - s: int, scale index Return: - fld: array, the scale component s of input fld
- NEDAS.utils.multiscale.get_remaining_scale_component_spec_bandpass(grid, fld, character_length, s)[source]
- NEDAS.utils.multiscale.get_remaining_scale_component_convolve(grid, fld, character_length, s)[source]
- NEDAS.utils.multiscale.get_remaining_scale_component(grid, fld, character_length, s)[source]
Get the sum of not-yet-processed finer scale components (s+1..nscale-1), i.e. the complement of bands 0..s, which telescope to a single lowpass filter. Used by the alignment updator to warp only the remainder of the outer-loop decomposition that hasn’t been assimilated yet, leaving already-finalized coarser scales untouched. Input/Return: same convention as get_scale_component.