evetion / SpaceLiDAR.jl

A Julia package for working with ICESat-2 & GEDI data as part of my PhD research

Home Page:https://www.evetion.nl/SpaceLiDAR.jl/dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement Unitful

evetion opened this issue · comments

At some point we should also add units (maybe using Unitful.jl).

Originally posted by @alex-s-gardner in #14 (comment)

For the beam power, like 1u"mJ"? Or for the elevation in meters, etc? Sounds like a plan, although note that a Quantity from Unitful isa Number, not a Real. This might prohibit some computation/saving in other packages. Similar to the Enum in #16 actually.

Won't do due to IO issues with not-Reals. Units are explained in documentation.