otb issueshttps://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues2022-05-17T10:08:06Zhttps://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2282Missing otbcli_MultitempFilteringFilter building OTB 8.0.1 from source2022-05-17T10:08:06ZdangargarMissing otbcli_MultitempFilteringFilter building OTB 8.0.1 from sourceAfter building OTB 8.0.1 from source with no errors, I noticed that, at least, otbcli_MultitempFilteringFilter and otbcli_MultitempFilteringOutcore are missing in the final bin/ folder of OTB installation.After building OTB 8.0.1 from source with no errors, I noticed that, at least, otbcli_MultitempFilteringFilter and otbcli_MultitempFilteringOutcore are missing in the final bin/ folder of OTB installation.https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2281Access forbidden2022-05-09T09:51:54ZDenis BoulangerAccess forbiddenI tried to access OTB documentation and got this error message
Forbidden
You don't have permission to access this resource.
Any problem with the server?I tried to access OTB documentation and got this error message
Forbidden
You don't have permission to access this resource.
Any problem with the server?https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2280Segmentation application : wrong documentation example2022-09-28T08:08:54ZYannick TANGUYSegmentation application : wrong documentation example### Target documentation resources
The documentation of [Segmentation](https://www.orfeo-toolbox.org/CookBook/Applications/app_Segmentation.html#connected-components-options) application is wrong : when using Connected Components mode, ...### Target documentation resources
The documentation of [Segmentation](https://www.orfeo-toolbox.org/CookBook/Applications/app_Segmentation.html#connected-components-options) application is wrong : when using Connected Components mode, user cannot use "intensity_p(1)" but should use "intensity_p1" (or p2) instead.
````
Message: Unexpected token "intensity_p" found at position 0.
Formula: intensity_p(1)>0.5
Token: intensity_p
Position: 0
````
### Change requested
Correct or precise the example in the application documentation8.1.0https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2279release 7.4.12022-05-09T09:51:20ZJulien Osmanrelease 7.4.1We are ready to release OTB version 7.4.1. The following steps need to be done:
- [x] Update diapOTB to version 1.1.0
## Release
### 1. Branches
* [x] Work on the already existing branch `release-7-4`
* [x] Make sure the version numb...We are ready to release OTB version 7.4.1. The following steps need to be done:
- [x] Update diapOTB to version 1.1.0
## Release
### 1. Branches
* [x] Work on the already existing branch `release-7-4`
* [x] Make sure the version number in `CMakeLists.txt` is 7.4.1
### 2. Housekeeping
* [x] In this story, make a list of blocking issues for the release (if any)
* [ ] Fix compilation warnings on CI
* [x] Update release notes (walk the GitLab MR merged history and log all improvements)
* [ ] [Update translation](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#translation-for-monteverdi-mapla) for Monteverdi and Mapla
* [ ] [Sanity check the binary packages](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#standalone-packages-sanity-check)
* [ ] Windows
* [x] Linux
* [ ] Mac
* [ ] Test QGIS on qgis docker image
### 3. Actual release
Once all blocking issues are closed, and the previous steps are done:
* [x] [Tag the release](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#release-tag)
* [ ] Backport fixes
* [x] Update GIT_TAG for all official remote modules (if needed)
### 4. Publish and plan next release
* [x] [Prepare and upload source packages](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#prepare-and-upload-source-packages)
* [x] [Promote staging packages](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#promote-staging-packages)
* [x] [Update documentation](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#update-documentation)
* [x] Cookbook
* [x] Doxygen
* [ ] WordPress page "Home" and "Download" pages
* [x] Upload OTB source archive to [Zenodo](https://zenodo.org/) to create a unique Digital Object Identifier (DOI)
* [x] [Update the SuperBuild archive](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#superbuild-archive)
* [ ] Release announcement
* [x] On the [forum](https://forum.orfeo-toolbox.org/)
* [x] On the [blog](https://www.orfeo-toolbox.org/blog/)
* [ ] On [Twitter](https://twitter.com/orfeotoolbox)
* [ ] Forward announcement to news_item@osgeo.org ([OSGeo news](https://www.osgeo.org/foundation-news/))
* [ ] Remove public branches related to MR or bugfix merged before the releaseJulien OsmanJulien Osmanhttps://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2278release 8.0.12022-05-09T09:51:19ZJulien Osmanrelease 8.0.1We are ready to release OTB version 8.0.1. The following steps need to be done:
## Release
### 1. Branches
* [x] Work on the already existing branch `release-8-0`
* [x] Make sure the version number in `CMakeLists.txt` is 8.0.1
### 2....We are ready to release OTB version 8.0.1. The following steps need to be done:
## Release
### 1. Branches
* [x] Work on the already existing branch `release-8-0`
* [x] Make sure the version number in `CMakeLists.txt` is 8.0.1
### 2. Housekeeping
* [x] In this story, make a list of blocking issues for the release (if any)
* [ ] Fix compilation warnings on CI
* [x] Update release notes (walk the GitLab MR merged history and log all improvements)
* [ ] [Update translation](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#translation-for-monteverdi-mapla) for Monteverdi and Mapla
* [x] [Sanity check the binary packages](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#standalone-packages-sanity-check)
* [x] Windows
* [x] Linux
* [x] Mac
* [x] Test QGIS on qgis docker image
### 3. Actual release
Once all blocking issues are closed, and the previous steps are done:
* [x] [Tag the release](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#release-tag)
* [x] Backport fixes
* [x] Update GIT_TAG for all official remote modules (if needed)
### 4. Publish and plan next release
* [x] [Prepare and upload source packages](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#prepare-and-upload-source-packages)
* [x] [Promote staging packages](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#promote-staging-packages)
* [x] [Update documentation](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#update-documentation)
* [x] Cookbook
* [x] Doxygen
* [x] WordPress page "Home" and "Download" pages
* [x] Upload OTB source archive to [Zenodo](https://zenodo.org/) to create a unique Digital Object Identifier (DOI)
* [x] [Update the SuperBuild archive](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#superbuild-archive)
* [x] Release announcement
* [x] On the [forum](https://forum.orfeo-toolbox.org/)
* [x] On the [blog](https://www.orfeo-toolbox.org/blog/)
* [x] On [Twitter](https://twitter.com/orfeotoolbox)
* [ ] Forward announcement to news_item@osgeo.org ([OSGeo news](https://www.osgeo.org/foundation-news/))
* [x] Remove public branches related to MR or bugfix merged before the release8.0.1Julien OsmanJulien Osmanhttps://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2276When using OTB in QGIS, an error message appears.'ERROR: Missing mandatory pa...2022-05-04T06:40:23ZBsg91When using OTB in QGIS, an error message appears.'ERROR: Missing mandatory parameter'### Description
When using OTB in QGIS, an error message appears.'ERROR: Missing mandatory parameter -erx.'
When using the Block matching function, a message like "ERROR: Missing mandatory parameter -bm.minhd" appears.
The FineRegistra...### Description
When using OTB in QGIS, an error message appears.'ERROR: Missing mandatory parameter -erx.'
When using the Block matching function, a message like "ERROR: Missing mandatory parameter -bm.minhd" appears.
The FineRegistration feature also displays a message like "ERROR: Missing mandatory parameter -erx."
I installed the OTB 8.0.0 version and tested QGIS with various versions such as 3.24, 3.22, 3.18, and 3.4. However, the same error message appears.
![1](/uploads/8d916e3ba7fdd0b03a0296a2b5dbb1ee/1.PNG)
![2](/uploads/40d3fb0391f602983480f984dbdec851/2.PNG)
### Steps to reproduce
I set both the application folder and the application folder properly in the option in QGIS.
Both Block Matching and FineRegistration functions are set as default settings. Of course, the result was the same even if you put in the variable. Raster images are satellite images. The same error appears even with various images such as landsat and kompsat.
### Configuration information!
I installed the OTB 8.0.0 version and tested QGIS with various versions such as 3.24, 3.22, 3.18, and 3.4. However, the same error message appears.
My computer is windows 10.https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/22758.0.0 otbcli_OrthoRectification does not read the metadata contained in the g...2022-06-17T07:31:02ZNovius8.0.0 otbcli_OrthoRectification does not read the metadata contained in the geotiff.Hello,
It seems that `otbcli_OrthoRectification` cannot read the metadata contained in the geotiff files, it still needs a `.geom` which is no longer generated by most OTB scripts since the move to 8.0.0.
I use the following pipeline ...Hello,
It seems that `otbcli_OrthoRectification` cannot read the metadata contained in the geotiff files, it still needs a `.geom` which is no longer generated by most OTB scripts since the move to 8.0.0.
I use the following pipeline on Pléiades images, which works correctly in 7.4.0, but does not work anymore in 8.0.0, because the `otbcli_BundleToPerfectSensor` scripts do not generate the `.geom` anymore.
Pipeline:
```shell
$ otbcli_OpticalCalibration -in IMG_PHR1A_MS_002/IMG_PHR1A_MS_202112021049415_SEN_6074118101-2_R2C1.JP2 -level toc -out IMG_PHR1A_MS_002/IMG_PHR1A_MS_202112021049415_SEN_6074118101-2_R2C1_toc.tif
```
```shell
$ otbcli_BundleToPerfectSensor -inp IMG_PHR1A_P_001/IMG_PHR1A_P_202112021049415_SEN_6074118101-1_R2C1.JP2 -inxs IMG_PHR1A_MS_002/IMG_PHR1A_MS_202112021049415_SEN_6074118101-2_R2C1_toc.tif -mode phr -out IMG_PHR1A_PMS_202112021049415_SEN_6074118101-2_R2C1.tif
```
```shell
$ otbcli_OrthoRectification -elev.dem SRTM/ -elev.geoid egm96.grd -io.in IMG_PHR1A_PMS_202112021049415_SEN_6074118101-2_R2C1.tif -io.out IMG_PHR1A_PMS_202112021049415_SEN_6074118101-2_R2C1_ortho.tif
```
- 7.4.0:
```shell
2022-04-15 14:31:53 (INFO) OrthoRectification: Elevation management: setting default height above ellipsoid to 0 meters
2022-04-15 14:31:53 (INFO): Loading kwl metadata from attached geom file IMG_PHR1A_PMS_202112021049415_SEN_6074118101-2_R2C1.geom
...
Writing IMG_PHR1A_PMS_202112021049415_SEN_6074118101-2_R2C1_ortho.tif...: 100% [**************************************************] (1m 05s)
```
- 8.0.0:
```shell
2022-04-15 12:12:09 (INFO) OrthoRectification: Elevation management: setting default height above ellipsoid to 0 meters
2022-04-15 12:12:09 (INFO): Loading metadata from official product
2022-04-15 12:12:09 (FATAL) OrthoRectification: itk::ERROR: ImageToGenericRSOutputParameters(0xa592f0): No information in the metadata, please set an image with non empty metadata
```8.1.0https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/22748.0.0 fails to build with MuParser 2.3.32022-05-09T09:51:20ZBas Couwenberg8.0.0 fails to build with MuParser 2.3.3### Description
As reported in [Debian Bug #1009413](https://bugs.debian.org/1009413), OTB 8.0.0 fails to build with muparser (2.3.3-0.1) in Debian unstable:
```
> CMake Error at CMake/FindMuParser.cmake:62 (math):
> math cannot parse...### Description
As reported in [Debian Bug #1009413](https://bugs.debian.org/1009413), OTB 8.0.0 fails to build with muparser (2.3.3-0.1) in Debian unstable:
```
> CMake Error at CMake/FindMuParser.cmake:62 (math):
> math cannot parse the expression: "((/*
```
`include/muParserDef.h` changed from:
```
#define MUP_VERSION _T("2.2.6")
```
to:
```
static const string_type ParserVersion = string_type(_T("2.3.3 (Release)"));
```
Both should be supported by `CMake/FindMuParser.cmake`, but it seems that the ` (Release)` bit is not handled by the regex:
```
# Try to find the version for muparser >= 2.3
string(REGEX REPLACE ".*static *const *string_type *ParserVersion *= *string_type\\(_T\\(\"([0-9.]+)\"\\)\\);.*"
"\\1" MUPARSER_VERSION "${MUPARSER_VERSION_OLD_STYLE}")
```
This patch fixes the issue: [muparser.patch](/uploads/01c2b571e6598f6c9a5e64c8f56309d3/muparser.patch)
### Steps to reproduce
Build OTB with `-DOTB_USE_MUPARSER:BOOL=ON` on Debian unstable.
### Configuration information
* Debian unstable amd64
* OTB 8.0.0
* muparser (2.3.3-0.1)8.0.1Julien OsmanJulien Osmanhttps://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2273Sentinel-1 metadata reader don't support manifest.safe as input2022-04-13T07:21:11ZMickael SavinaudSentinel-1 metadata reader don't support manifest.safe as inputIf you try to read information from the manifest.safe of a product, `otbcli_ReadImageInfo` return the following warning:
``` bash
otbcli_ReadImageInfo -in /eodata/Sentinel-1/SAR/GRD/2020/08/30/S1A_IW_GRDH_1SDV_20200830T025119_20200830T02...If you try to read information from the manifest.safe of a product, `otbcli_ReadImageInfo` return the following warning:
``` bash
otbcli_ReadImageInfo -in /eodata/Sentinel-1/SAR/GRD/2020/08/30/S1A_IW_GRDH_1SDV_20200830T025119_20200830T025144_034130_03F6BD_0EC0.SAFE/manifest.safe
2022-04-11 09:27:58 (INFO) ReadImageInfo: Default RAM limit for OTB is 256 MB
2022-04-11 09:27:58 (INFO) ReadImageInfo: GDAL maximum cache size is 802 MB
2022-04-11 09:27:58 (INFO) ReadImageInfo: OTB will use at most 4 threads
2022-04-11 09:28:00 (WARNING): Unable to parse XML file /eodata/Sentinel-1/SAR/GRD/2020/08/30/manifest.safe
2022-04-11 09:28:00 (INFO): Loading metadata from official product
2022-04-11 09:28:00 (WARNING): The SensorTransform factory could not find a compatible Sensor Transform
2022-04-11 09:28:00 (WARNING): The SensorTransform factory could not find a compatible Sensor Transform
2022-04-11 09:28:00 (WARNING): The SensorTransform factory could not find a compatible Sensor Transform
2022-04-11 09:28:00 (INFO) ReadImageInfo:
...
```
More information in [S1A_IW_GRDH_1SDV_20200830T025119_20200830T025144_034130_03F6BD_0EC0.SAFE.out](/uploads/7a091af0fccd498becf9b63f2309ec3a/S1A_IW_GRDH_1SDV_20200830T025119_20200830T025144_034130_03F6BD_0EC0.SAFE.out)
OTB don't recognize the fact it is a Sentinel-1!
If you pass directly the tiff file, OTB detect the Sentinel-1 product:
```
otbcli_ReadImageInfo -in /eodata/Sentinel-1/SAR/GRD/2020/08/30/S1A_IW_GRDH_1SDV_20200830T025119_20200830T025144_034130_03F6BD_0EC0.SAFE/measurement/s1a-iw-grd-vh-20200830t025119-20200830t025144-034130-03f6bd-002.tiff
2022-04-11 09:35:29 (INFO) ReadImageInfo: Default RAM limit for OTB is 256 MB
2022-04-11 09:35:29 (INFO) ReadImageInfo: GDAL maximum cache size is 802 MB
2022-04-11 09:35:29 (INFO) ReadImageInfo: OTB will use at most 4 threads
ERROR 1: PROJ: proj_create_from_database: ellipsoid not found
ERROR 1: PROJ: proj_create_from_database: ellipsoid not found
2022-04-11 09:35:31 (INFO): Loading metadata from official product
2022-04-11 09:35:31 (INFO) ReadImageInfo:
Image general information:
Number of bands : 1
Data type : unsigned_short
No data flags : Not found
Start index : [0,0]
Size : [25273,16795]
Origin : [0.5,0.5]
Spacing : [1,1]
Estimated ground spacing (in meters): [10.0425,10.1884]
Image acquisition information:
Sensor : SENTINEL-1A
Acquisition time : 2020-08-30T02:51:19.023121Z
...
```
If you compare to `gdalinfo`, the behavior is the opposite: use the manifest.safe detect the product and its sub-dataset and the tiff not (cf. [Sentinel-1 SAFE driver](https://gdal.org/drivers/raster/safe.html))
For example you can run the following command:
```
gdalinfo SENTINEL1_CALIB:UNCALIB:/eodata/Sentinel-1/SAR/GRD/2020/08/30/S1A_IW_GRDH_1SDV_20200830T025119_20200830T025144_034130_03F6BD_0EC0.SAFE:IW_VH:AMPLITUDE
```
It could be interesting to see how to converge on that to avoid misunderstanding between otb and gdal.https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2272SuperBuild failure on Mac mini M1 arm642022-04-29T14:57:25ZmichiweeSuperBuild failure on Mac mini M1 arm64Hello, I am running macOS Monterey on a Mac mini Apple M1 chip with ARM64, and I am trying to import otbApplication in Python. I initially tried to running the OTB-8.0.0-Darwin64 version of OTB but it failed on my system. Next, I tried t...Hello, I am running macOS Monterey on a Mac mini Apple M1 chip with ARM64, and I am trying to import otbApplication in Python. I initially tried to running the OTB-8.0.0-Darwin64 version of OTB but it failed on my system. Next, I tried to compile OTB from source but when I get to the step of running SuperBuild, following the instructions [here](https://www.orfeo-toolbox.org/CookBook/CompilingOTBFromSource.html), it fails.
After running the following:
`$ cd ~/OTB/build`
`$ cmake -D CMAKE_INSTALL_PREFIX=~/OTB/install ../otb/SuperBuild`
There are no error messages and it seems to have run successfully, but the install folder (~/OTB/install/) is empty. I'm not sure how else to use OTB on my system. Any suggestions are appreciated. Thanks!https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2271Upgade to zlib 1.2.122022-05-09T09:51:20ZJulien OsmanUpgade to zlib 1.2.12A [critical vulnerability in zlib](https://orca.security/resources/blog/zlib-memory-corruption-vulnerability-cve-2018-25032/) is patched in minor version 1.2.12.A [critical vulnerability in zlib](https://orca.security/resources/blog/zlib-memory-corruption-vulnerability-cve-2018-25032/) is patched in minor version 1.2.12.8.0.1https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2270Learning - TrainVectorClassifier OTB-8.0 - Fatal Error2022-04-08T17:07:21ZjoaonaimeLearning - TrainVectorClassifier OTB-8.0 - Fatal ErrorRunning **OTB-8.0.0-Linux64** on QGIS 3.22.5. In this version, the only way to select **"Field names for training features"** is by means of check boxes with field names retrieved from training vector file. The text field for typing a li...Running **OTB-8.0.0-Linux64** on QGIS 3.22.5. In this version, the only way to select **"Field names for training features"** is by means of check boxes with field names retrieved from training vector file. The text field for typing a list is not available anymore. Anyway I try the parameters I get this fatal error:
2022-04-05 09:44:45 **(FATAL) TrainVectorClassifier: itk::ERROR: FieldParameter(0x25ad820)**: Value ['b1_stdev', 'b2_stdev'] not found in the list of choices: DN, b1_sum, b1_mean, b1_median, b1_stdev, b1_min, b1_max, b1_varianc, b2_sum, b2_mean, b2_median, b2_stdev, b2_min, b2_max, b2_varianc, Classe.https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2269Support GDAL 3.4.22022-05-09T09:51:20ZMickael SavinaudSupport GDAL 3.4.2Support GDAL 3.4.2 instead of GDAL 3.4.0 in 8.0.zSupport GDAL 3.4.2 instead of GDAL 3.4.0 in 8.0.z8.0.1https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2268Support metadata option of GDAL as extended filename2022-04-04T14:28:30ZMickael SavinaudSupport metadata option of GDAL as extended filenameAdd the possibility to set metadata key if possible in the output of otb as for GDAL (with `-mo` key cf.https://gdal.org/programs/gdal_translate.html#cmdoption-gdal_translate-mo for gdaltranslate)
It could be useful to set metadata inst...Add the possibility to set metadata key if possible in the output of otb as for GDAL (with `-mo` key cf.https://gdal.org/programs/gdal_translate.html#cmdoption-gdal_translate-mo for gdaltranslate)
It could be useful to set metadata instead of openning the file after writing to set the metadata.https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2267segmentation fault python when importing otbApplication2022-05-06T08:48:49Zlopolysegmentation fault python when importing otbApplicationHello,
I am trying to install otb module for Python on MacOs Catalina 10.15.7.
First, I created a conda environment with python3.7 and I installed numpy.
I run the following commands in the terminal :
`cd /Users/laura/opt/ #go to di...Hello,
I am trying to install otb module for Python on MacOs Catalina 10.15.7.
First, I created a conda environment with python3.7 and I installed numpy.
I run the following commands in the terminal :
`cd /Users/laura/opt/ #go to directory where OTB file has been set`
`chmod +x OTB-8.0.0-Darwin64.run ./OTB-8.0.0-Darwin64.run `
`source /Users/laura/opt/OTB-8.0.0-Darwin64/otbenv.profile`
`echo $PYTHONPATH`
As I get blank response to this last command, I run :
`export PYTHONPATH="/Users/laura/opt/OTB-8.0.0-Darwin64/lib/python`
Then:
`ln -s /Users/laura/opt/anaconda3/envs/otb/lib/libpython3.5m.dylib /Users/laura/opt/OTB-8.0.0-Darwin64/libpython3.5m.so.rh-python35-1.0`
`OTB_APPLICATION_PATH="/Users/laura/opt/OTB-8.0.0-Darwin64/lib/otb/applications"`
When I run python on terminal and import otbApplication, I get the following error :
**zsh: segmentation fault python**
I don't know what to do, I never had to install module that way so I'm lost.
Thank you in advance for your help !https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2266OTB 8.0 : Warning / Issues with metadata on Sentinel1 images2023-11-06T17:02:51ZNicolas EkicierOTB 8.0 : Warning / Issues with metadata on Sentinel1 images### Description
It seems there are some issues with metadata in SARCalibration process, just an example in one image (S1A_IW_GRDH_1SDV_20220306T174909_20220306T174934_042204_050795_54AF.SAFE) :
Outputs lines :
```
Warning 1: s1a-iw-...### Description
It seems there are some issues with metadata in SARCalibration process, just an example in one image (S1A_IW_GRDH_1SDV_20220306T174909_20220306T174934_042204_050795_54AF.SAFE) :
Outputs lines :
```
Warning 1: s1a-iw-grd-vh-20220306t174909-20220306t174934-042204-050795-002_calOk.tiff: Metadata exceeding 32000 bytes cannot be written into GeoTIFF. Transferred to PAM instead.
Warning 1: s1a-iw-grd-vv-20220306t174909-20220306t174934-042204-050795-001_calOk.tiff: Metadata exceeding 32000 bytes cannot be written into GeoTIFF. Transferred to PAM instead.
```
It cause also an issue with Orthorectification for the next of processing :
```
2022-03-24 16:39:31 (WARNING): Input image has SAR calibration metadata, but OTB was not able to read it: ../Modules/Core/Metadata/src/otbSARMetadata.cxx:43:
otb::ERROR: Unable to find 'SARCalib.RadiometricCalibrationIncidenceAngle' in the input keywordlist
2022-03-24 16:39:31 (WARNING): Input image has SAR calibration metadata, but OTB was not able to read it: ../Modules/Core/Metadata/src/otbSARMetadata.cxx:43:
otb::ERROR: Unable to find 'SARCalib.RadiometricCalibrationIncidenceAngle' in the input keywordlist
```
### Configuration information
Ubuntu 18.04, OTB 8.0.0https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2265OTB 8 appears to be slower than 7.3.02023-08-02T07:20:19ZLaurențiu NicolaOTB 8 appears to be slower than 7.3.0At least on some operations. Notice the huge difference in user time:
```
# OTB 7.3.0
otbcli_ComputeImagesStatistics -il brightness.tif 83.91s user 2.12s system 899% cpu 9.568 total
# OTB 7.4.0
otbcli_ComputeImagesStatistics -il brigh...At least on some operations. Notice the huge difference in user time:
```
# OTB 7.3.0
otbcli_ComputeImagesStatistics -il brightness.tif 83.91s user 2.12s system 899% cpu 9.568 total
# OTB 7.4.0
otbcli_ComputeImagesStatistics -il brightness.tif 89.18s user 1.92s system 936% cpu 9.732 total
# OTB 8.0.0
otbcli_ComputeImagesStatistics -il brightness.tif 116.50s user 2.18s system 996% cpu 11.913 total
# bonus: OTB 5.0.0
otbcli_ComputeImagesStatistics -il brightness.tif 101.95s user 0.68s system 726% cpu 14.127 total
```
Image is an uncompressed 10980x10980x25 Int16 TIFF.https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2264SegFault with SARCalib on Sentinel1 products2023-03-27T13:01:22ZJulien OsmanSegFault with SARCalib on Sentinel1 products### Description
As [Jeroen explains on the forum](https://forum.orfeo-toolbox.org/t/sentinel-1-calibration-orthorectification-segfault/1247), the SARCalib application generates a SegFault with some Sentinel1 products. I was able to repr...### Description
As [Jeroen explains on the forum](https://forum.orfeo-toolbox.org/t/sentinel-1-calibration-orthorectification-segfault/1247), the SARCalib application generates a SegFault with some Sentinel1 products. I was able to reproduce this bug with OTB 7.4 and OTB 8.0.
### Steps to reproduce
- Download the product `S1B_IW_GRDH_1SDV_20191113T155500_20191113T155514_018911_023AAD_5A9C`
- Run the calibration `otbcli_SARCalibration -in S1B_IW_GRDH_1SDV_20191113T155500_20191113T155514_018911_023AAD_5A9C.SAFE/measurement/s1b-iw-grd-vv-20191113t155500-20191113t155514-018911-023aad-001.tiff -lut sigma -removenoise 1 -out output.tiff`
### Configuration information
OS: Ubuntu 20.04
OTB:
- version 7.4 from binaries
- version 8.0 (54b1a7044958542b83a18199c233832270b7e01a) compiled with debug.https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2263concatenateImages landsat5 image from creodias2022-05-04T08:01:15ZnicodeboconcatenateImages landsat5 image from creodias### Description
When I try to concatenate images bands from a landsat5 product downloaded from creodias, the process hang. (I let it run the whole night). However if I downgrade otb to 6.6.1 the process complete without any problem.
##...### Description
When I try to concatenate images bands from a landsat5 product downloaded from creodias, the process hang. (I let it run the whole night). However if I downgrade otb to 6.6.1 the process complete without any problem.
### Steps to reproduce
#### otb 7.4.0
```
source /home/nicodebo/.local/share/dependencies/OTB-7.4.0-Linux64/otbenv.profile && otbcli_ConcatenateImages -il /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B1.TIF /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B2.TIF /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B3.TIF /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B4.TIF /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B5.TIF /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B7.TIF -out /home/nicodebo/Downloads/landsat5/process/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E_xs.tif uint16 -ram 1024
2022-03-09 15:27:41 (INFO) ConcatenateImages: Default RAM limit for OTB is 256 MB
2022-03-09 15:27:41 (INFO) ConcatenateImages: GDAL maximum cache size is 1605 MB
2022-03-09 15:27:41 (INFO) ConcatenateImages: OTB will use at most 16 threads
```
### otb 6.6.1
```
source /home/nicodebo/.local/share/dependencies/otb/otbenv.profile && otbcli_ConcatenateImages -il /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E/LS0
5_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B1.TIF /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8
A8E/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B2.TIF /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218
_0003_8A8E/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B3.TIF /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_0610
61_0218_0003_8A8E/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B4.TIF /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T1132
21_061061_0218_0003_8A8E/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B5.TIF /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_199508
24T113221_061061_0218_0003_8A8E/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B7.TIF -out /home/nicodebo/Downloads/landsat5/process/LS05_RKSE_TM__GEO_1P_19
950824T113152_19950824T113221_061061_0218_0003_8A8E_xs.tif uint16 -ram 1024
2022-03-09 15:01:05 (INFO): Default RAM limit for OTB is 128 MB
2022-03-09 15:01:05 (INFO): GDAL maximum cache size is 1605 MB
2022-03-09 15:01:05 (INFO): OTB will use at most 16 threads
2022-03-09 15:01:05 (INFO): No kwl metadata found in file /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E/LS05_RKSE_TM__GEO_1P_19950824T113152_1995082
4T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B1.TIF
2022-03-09 15:01:05 (INFO): No kwl metadata found in file /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E/LS05_RKSE_TM__GEO_1P_19950824T113152_1995082
4T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B2.TIF
2022-03-09 15:01:05 (INFO): No kwl metadata found in file /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E/LS05_RKSE_TM__GEO_1P_19950824T113152_1995082
4T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B3.TIF
2022-03-09 15:01:05 (INFO): No kwl metadata found in file /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E/LS05_RKSE_TM__GEO_1P_19950824T113152_1995082
4T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B4.TIF
2022-03-09 15:01:05 (INFO): No kwl metadata found in file /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E/LS05_RKSE_TM__GEO_1P_19950824T113152_1995082
4T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B5.TIF
2022-03-09 15:01:05 (INFO): No kwl metadata found in file /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E/LS05_RKSE_TM__GEO_1P_19950824T113152_1995082
4T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B7.TIF
2022-03-09 15:01:05 (INFO): Estimated memory for full processing: 6805.73MB (avail.: 1024 MB), optimal image partitioning: 7 blocks
2022-03-09 15:01:05 (INFO): File /home/nicodebo/Downloads/landsat5/process/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E_xs.tif will be written in 8 blocks of 8652x1088 pixels
Writing /home/nicodebo/Downloads/landsat5/process/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E_xs.tif...: 100% [**************************************************] (5 seconds)
```
### Configuration information
OTB 7.4.0 (.run downloaded from the website)https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2262GetImageProjection return nothing if used with Export/ImportImage2022-03-15T07:07:57ZBenjamin TardyGetImageProjection return nothing if used with Export/ImportImage### Description
After creating an application using an OTB image from `ExportImage` as input, the function `GetImageProjection()` returns an empty string.
In the following code, replacing `Execute()` by `ExecuteAndWriteOutput()` wrotes...### Description
After creating an application using an OTB image from `ExportImage` as input, the function `GetImageProjection()` returns an empty string.
In the following code, replacing `Execute()` by `ExecuteAndWriteOutput()` wrotes a tif with the correct projection (gdalinfo and qgis seem good)
If `SetParameterStringList` with path to .tif image is used, `GetImageProjection` returns the correct projection.
### Steps to reproduce
```python
def do_bandmath(image_name):
bandmath = otb.Registry.CreateApplicationWithoutLogger("BandMath")
bandmath.SetParameterStringList("il", [image_name])
bandmath.SetParameterString("exp", "im1b1")
bandmath.SetParameterString("out", "fake_out.tif")
bandmath.Execute()
otb_im = bandmath.ExportImage("out")
return otb_im, bandmath
otb_image2, dep = do_bandmath("InputImage.tif")
bandmath = otb.Registry.CreateApplication("BandMath")
bandmath.ImportImage("il", otb_image2)
bandmath.SetParameterString("exp", "im1b1+1")
bandmath.SetParameterString("out", "out_image.tif")
bandmath.Execute()
proj = bandmath.GetImageProjection("out")
print(proj) # print empty string
# same behaviour with
# proj = bandmath.GetImageProjection("il")
```
### Configuration information
Linux Ubuntu 20.04, OTB 8.0 , compiled using conda (superbuild)