I get the error if I try with the tiff file in the measurement folder. If I
try with the safe file I get format not recognized.

Thanks

Laura


On 9 February 2016 at 08:19, Julien Michel <[email protected]> wrote:

> Ok, but did you try with the safe file or with the tiff files in the
> measurement folder ? I am not sure we handle the safe file (gdal should,
> but will expose subdatasets I think).
>
> Regards,
>
> Julien
>
>
> Le 05/02/2016 09:49, Laura Poggio a écrit :
>
> Hi Julien,
> I tried with the branch release-5.2 and when using otbcli_ReadImageInfo I
> get the same error as before.
>
> What I did was:
>  git clone https://[email protected]/git/otb.git OTB
>  cd OTB; git checkout release-5.2
>
> Is this enough or do I need to do something more to switch branch? The
> otbcli version appears to be 5.2.1
>
> I also had to modify gdalserver.c because of this problem on fedora.
> <https://bugzilla.redhat.com/show_bug.cgi?id=1249703#c2%20>
> The lines
>
> # #if defined(__STDC_VERSION__)
> # #define _XOPEN_SOURCE
> # #endif
>
> were modified to :
>
> # #if defined(__STDC_VERSION__)
> # #define _XOPEN_SOURCE 600
> # #endif
>
> The configure options are from
> http://jordiinglada.net/wp/2015/05/27/installing-otb-has-never-been-so-easy-8/
>
> Thank you very much and please let me know if you need further information.
>
> Laura
>
>
>
> On 4 February 2016 at 09:27, Julien Michel < <[email protected]>
> [email protected]> wrote:
>
>> Hi Laura,
>>
>> Sure you should be able to open the tiff files in a S1 dataset. I just
>> did with ReadImageInfo without any problem (but from the develop branch).
>> Can you checkout the release-5.2 branch and try again ?
>>
>> If that does not work, we will have to investigate further.
>>
>> Regards,
>>
>> Julien
>>
>>
>>
>>
>> Le 04/02/2016 10:22, Laura Poggio a écrit :
>>
>> Dear all,
>> I installed the latest version of OTB (master from the git repository)
>> using superbuild under fedora 23.
>> I tried to read image information (otbcli_ReadImageInfo) of a sentinel1
>> SAFE file. The format is not recognized. If I try to read one of the tiffs
>> in the SAFE folder I get the following error:
>>
>> shouldn't reach here!!
>> shouldn't reach here!!
>> /home/user/bin/OTB/SuperBuild/bin/otbcli: line 29: 11344 Segmentation
>> fault      (core dumped) $OTB_CLI_LAUNCHER "$@"
>>
>> If I use gdalinfo I can read information for the tif, but not for the
>> SAFE file. I tried with both the system (as 2.0.1) and OTB versions of gdal.
>>
>> Using the OTB, I can read image information for sentinel 2 SAFE files and
>> I get the following output for formats in
>>
>> gdalinfo --formats | grep -i sentinel
>>   SENTINEL2 (rovs): Sentinel 2
>>
>> I am just wondering if it is possible to use gdal (and OTB) for sentinel1
>> and if you have any example/documentation on how to do it, versions needed,
>> etc.
>>
>> I hope that I provided enough information to understand the problem and
>> what I tried, but I am happy to provide more.
>>
>> Thank you very much in advance
>>
>> Laura
>>
>>
>>
>> --
>> --
>> Check the OTB FAQ at
>> http://www.orfeo-toolbox.org/FAQ.html
>>
>> You received this message because you are subscribed to the Google
>> Groups "otb-users" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/otb-users?hl=en
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "otb-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to <[email protected]>
>> [email protected].
>> For more options, visit <https://groups.google.com/d/optout>
>> https://groups.google.com/d/optout.
>>
>>
>>
>> --
>> Julien MICHEL
>> CNES - DCT/SI/AP - BPI 1219
>> 18, avenue Edouard Belin
>> 31401 Toulouse Cedex 09 - France
>> Tel: +33 561 282 894 - Fax: +33 561 283 109
>>
>> --
>> --
>> Check the OTB FAQ at
>> http://www.orfeo-toolbox.org/FAQ.html
>>
>> You received this message because you are subscribed to the Google
>> Groups "otb-users" group.
>> To post to this group, send email to <[email protected]>
>> [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/otb-users?hl=en
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "otb-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit <https://groups.google.com/d/optout>
>> https://groups.google.com/d/optout.
>>
>
> --
> --
> Check the OTB FAQ at
> http://www.orfeo-toolbox.org/FAQ.html
>
> You received this message because you are subscribed to the Google
> Groups "otb-users" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/otb-users?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "otb-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> Julien MICHEL
> CNES - DCT/SI/AP - BPI 1219
> 18, avenue Edouard Belin
> 31401 Toulouse Cedex 09 - France
> Tel: +33 561 282 894 - Fax: +33 561 283 109
>
> --
> --
> Check the OTB FAQ at
> http://www.orfeo-toolbox.org/FAQ.html
>
> You received this message because you are subscribed to the Google
> Groups "otb-users" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/otb-users?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "otb-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to