Skip to content

Commit 64b1891

Browse files
committed
fix unit conversion
1 parent 8eae480 commit 64b1891

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/metdata.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -805,7 +805,7 @@ bool metdata::next_nc()
805805
{
806806
// auto ud = d * si::metre;
807807
// d = ud.numerical_value_in(si::unit_symbols::mm);
808-
d = d / 1000.0;
808+
d = d * 1000.0;
809809
}
810810

811811
if(stdname == "air_temperature" && unit == "K")

0 commit comments

Comments
 (0)