From 0100e6da385a2972e0f93eca5e19ae2e6df02d33 Mon Sep 17 00:00:00 2001 From: Niklas Grieger <87365016+n-grieger@users.noreply.github.com> Date: Thu, 20 Aug 2026 18:16:02 +0200 Subject: [PATCH] apply irradiance scale to moreMicaSense cameras Expand camera model check for MicaSense to include RedEdge-M, Altum, and Altum-PT. --- opendm/photo.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/opendm/photo.py b/opendm/photo.py index 14e6ec63..f594e562 100644 --- a/opendm/photo.py +++ b/opendm/photo.py @@ -734,7 +734,15 @@ def get_horizontal_irradiance(self): scale = 1.0 # Assumed if self.irradiance_scale_to_si is not None: scale = self.irradiance_scale_to_si - elif self.camera_make == "MicaSense" and self.camera_model == "RedEdge-P": + elif ( + self.camera_make == "MicaSense" + and ( + self.camera_model == "RedEdge-P" + or self.camera_model == "RedEdge-M" + or self.camera_model == "Altum" + or self.camera_model == "Altum-PT" + ) + ): scale = 0.01 return self.horizontal_irradiance * scale