utils#
Utility helpers.
Functions#
|
Align the given bounds to the L2 grid. |
|
Map latitude/longitude or indices to integer grid indices. |
|
Create index slices that crop to filled mask cells, with optional coarse alignment. |
|
Convert a dictionary into a formatted multiline string. |
|
Convert index deltas to distance in ~100 m units using l0_resolution. |
|
Find best gauge location given reference gauge location, refernce cathcment area and allowed area and value deviation. |
|
Compute integer upscaling factor from a Resolution-like object. |
|
Pretty-print a DataFrame as an ASCII table with simple truncation. |