csiro-coasts / emsarray

xarray extension that supports EMS model formats
BSD 3-Clause "New" or "Revised" License
13 stars 2 forks source link

Add `emsarray.utils.timed_func`, set up loggers for plugins #79

Closed mx-moth closed 1 year ago

mx-moth commented 1 year ago

@timed_func when used as a decorator will log the execution time of the wrapped function. Useful for decorating methods like Convention.polygons or others that take some time and are important to track.