File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1275,7 +1275,6 @@ def test_jpeg_flir_png():
12751275 assert ds .GetMetadataDomainList () == [
12761276 "IMAGE_STRUCTURE" ,
12771277 "FLIR" ,
1278- "" ,
12791278 "SUBDATASETS" ,
12801279 "DERIVED_SUBDATASETS" ,
12811280 ]
@@ -1330,6 +1329,7 @@ def test_jpeg_flir_png():
13301329 "RawValueRangeMax" : "61986" ,
13311330 "RawValueRangeMin" : "7630" ,
13321331 "ReflectedApparentTemperature" : "20.000000 C" ,
1332+ "RelativeHumidity" : "50.000000 %" ,
13331333 "UnderflowColor" : "41 110 240" ,
13341334 }
13351335 subds = ds .GetSubDatasets ()
Original file line number Diff line number Diff line change @@ -688,7 +688,8 @@ void JPGDatasetCommon::ReadFLIRMetadata()
688688 if (fRelativeHumidity > 2 )
689689 fRelativeHumidity /= 100 .0f ; // Sometimes expressed in percentage
690690 SetMetadataItem (" RelativeHumidity" ,
691- CPLSPrintf (" %f %%" , 100 .0f * fRelativeHumidity ));
691+ CPLSPrintf (" %f %%" , 100 .0f * fRelativeHumidity ),
692+ " FLIR" );
692693 SetMetadataItem (" PlanckR1" ,
693694 CPLSPrintf (" %.8g" , ReadFloat32 (nRecOffset + 88 )),
694695 " FLIR" );
You can’t perform that action at this time.
0 commit comments