diff --git a/enpt/io/reader.py b/enpt/io/reader.py index bef289b0905687abb4fc589171d52e1d99468fa9..7c598145839f5aaaa63c8141dacd23334f21e968 100644 --- a/enpt/io/reader.py +++ b/enpt/io/reader.py @@ -17,7 +17,7 @@ class L1B_Reader(object): self.cfg = user_inputs @staticmethod - def read_inputdata(root_dir, observation_time: datetime, lon_lat_smpl=(15, 15), nsmile_coef=4): + def read_inputdata(root_dir, observation_time: datetime, lon_lat_smpl=(15, 15), nsmile_coef=5): # TODO move to init? """Read L1B, DEM and spatial reference data. diff --git a/enpt/model/metadata.py b/enpt/model/metadata.py index 33ea2435a00d510bdba2182e0d37cb0bce63653d..b884eed9ff9643ea3318fcc6115efb5d81fb487d 100644 --- a/enpt/model/metadata.py +++ b/enpt/model/metadata.py @@ -63,7 +63,7 @@ class _EnMAP_Metadata_L1B_Detector_SensorGeo(object): self.unit = '' # type: str # radiometric unit of pixel values self.snr = None # type: np.ndarray # Signal to noise ratio as computed from radiance data - def _read_metadata(self, path_xml, detector_label_xml, lon_lat_smpl=(15, 15), nsmile_coef=4): + def _read_metadata(self, path_xml, detector_label_xml, lon_lat_smpl=(15, 15), nsmile_coef=5): """Read the metadata of a specific EnMAP detector in sensor geometry. :param path_xml: file path of the metadata XML file @@ -215,7 +215,7 @@ class EnMAP_Metadata_L1B_VNIR_SensorGeo(_EnMAP_Metadata_L1B_Detector_SensorGeo): self._path_xml = path_metaxml self.detector_label = L1B_product_props['xml_detector_label']['VNIR'] - def read_metadata(self, lon_lat_smpl=(15, 15), nsmile_coef=4): + def read_metadata(self, lon_lat_smpl=(15, 15), nsmile_coef=5): """Read the metadata of the VNIR detector in sensor geometry. :param lon_lat_smpl: number if sampling points in lon, lat fields @@ -243,7 +243,7 @@ class EnMAP_Metadata_L1B_SWIR_SensorGeo(_EnMAP_Metadata_L1B_Detector_SensorGeo): self._path_xml = path_metaxml self.detector_label = L1B_product_props['xml_detector_label']['SWIR'] - def read_metadata(self, lon_lat_smpl=(15, 15), nsmile_coef=4): + def read_metadata(self, lon_lat_smpl=(15, 15), nsmile_coef=5): """Read the metadata of the SWIR detector in sensor geometry. :param lon_lat_smpl: number if sampling points in lon, lat fields diff --git a/tests/data/EnMAP_Level_1B/AlpineTest1_CWV2_SM0.zip b/tests/data/EnMAP_Level_1B/AlpineTest1_CWV2_SM0.zip index 202458da661b9fce76cd9603658d36f9beb89c76..a4d4ace06beeab9a585c04dd82d2be0a4618c2ba 100644 --- a/tests/data/EnMAP_Level_1B/AlpineTest1_CWV2_SM0.zip +++ b/tests/data/EnMAP_Level_1B/AlpineTest1_CWV2_SM0.zip @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f95193efa0f4cb60415f6d032459d512a912b67af47ee930a52d76add9b9929f -size 4806165 +oid sha256:f700eea124d70e97fbc38c7dfaad79ea65a08549ca484202abf90efc42c8d802 +size 23472036 diff --git a/tests/data/EnMAP_Level_1B/AlpineTest1_CWV2_SM1.zip b/tests/data/EnMAP_Level_1B/AlpineTest1_CWV2_SM1.zip index 6fbab5c5c1928fb083a79971619a482b63e34d55..e3159ede6a5acc0f21b2d2aa15f5de1efd85571f 100644 --- a/tests/data/EnMAP_Level_1B/AlpineTest1_CWV2_SM1.zip +++ b/tests/data/EnMAP_Level_1B/AlpineTest1_CWV2_SM1.zip @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3e1f63384429df8a151d335de6a343d35e4306108700c9384805d58b38cd8369 -size 4809720 +oid sha256:e31195239f427142cfa2692791771d4a966882714284e435e819db8a8335c1e2 +size 23470704