My personal take on Naismith's Rule, a hiking time estimation technique.
This is meant for day hikes.
nai --length 5 --elevation 321
# ╭───────────────────┬───────┬───────────╮
# │ component │ value │ time │
# ├───────────────────┼───────┼───────────┤
# │ length │ 5km │ 1hr 0min │
# │ elevation change │ 321m │ 0hr 32min │
# │ endurance penalty │ 0.0% │ 0hr 0min │
# │ breaks │ │ 0hr 0min │
# │ total │ │ 1hr 32min │
# ╰───────────────────┴───────┴───────────╯
nai --length 19.4 --elevation 1676 --break 60
# ╭───────────────────┬────────┬───────────╮
# │ component │ value │ time │
# ├───────────────────┼────────┼───────────┤
# │ length │ 19.4km │ 3hr 52min │
# │ elevation change │ 1676m │ 2hr 46min │
# │ endurance penalty │ 14.4% │ 0hr 57min │
# │ breaks │ │ 1hr 0min │
# │ total │ │ 8hr 36min │
# ╰───────────────────┴────────┴───────────╯
The endurance penalty is based on total time hiking, and is hard-coded to estimate my own fitness level.
This script is written in Nushell.
If you have Nushell installed, download the script, chmod +x nai
, and run it.