Hi, My colleague, Christophe, work on this problem. We try to provide a interface which allow automatic detection of parameters if they are known or recognized and give a possibility to provide them and override them directly into the application. Give us some time to finish it and test it. Perhaps we will give you the possibility to be a "beta" user. Best Mickaël Le 11/03/2014 14:45, Ted a écrit : > Dear Mickael or to whom it may concern, > > I would like to reactivate this topic since the problem still exists. > I would like to preprocess a SPOT 5 SPOTView Level 3 (Ortho) scene > using the following command: > > otbcli_OpticalCalibration -progress 1 -in ...\IMAGERY.TIF -out > ...\test_toa.tif -level toa > > However I receive the following error message: > > ossimSpotDimapSupportData::loadXmlFile > DEBUG:ossimSpotDimapSupportData::loadXmlFile: > Scene source initialization failed. Returning false > ossimSpotDimapSupportData::loadXmlFile > DEBUG:ossimSpotDimapSupportData::loadXmlFile: > Scene source initialization failed. Returning false > 2014 Mar 11 14:32:23 : Application.logger (FATAL) The following > error occurred during application execution : > c:\users\jmalik\dashboard\src\otb\code\io\otbOp > ticalDefaultImageMetadataInterface.h:63: > itk::ERROR: OpticalDefaultImageMetadataInterface(038A4718): > GetPhysicalGain not implemented in > OpticalDefaultImageMetadataInterface, no captor type found > > > The problem seems to be the same as with Wesley. However there is gain > and bias available in my metadata, so it should work. Is there any > solution for this? > > > Thanks, > > T > > > On Thursday, March 14, 2013 11:07:18 AM UTC+1, Mickaël Savinaud wrote: > > HI Wesley, > > Another strategy to perform the processing with the physical gain > and bias will be to use the bandMath application [1]. > You can find some information about how to make atmospheric > correction in the chapter 12.2 of the OTB Software guide [2]. More > precisely, you can find the mathematical expression to use with > the BandMath. > Best > Mickael > > [1] > http://orfeo-toolbox.org/CookBook/CookBooksu111.html#x143-8150004.10.1 > <http://orfeo-toolbox.org/CookBook/CookBooksu111.html#x143-8150004.10.1> > [2] > > http://orfeo-toolbox.org/SoftwareGuide/SoftwareGuidech12.html#x38-20900012.2 > > <http://orfeo-toolbox.org/SoftwareGuide/SoftwareGuidech12.html#x38-20900012.2> > > Le 14/03/2013 09:57, Mickael Savinaud a écrit : >> Hi Wesley, >> >> Could you send me the dimap file please. >> Best >> Mickaël >> >> Le 14/03/2013 08:33, Jonathan Roberts a écrit : >>> Hi Mickael, >>> >>> Many thanks for your reply. I took your advice and ran the >>> otbcli_OpticalCalibration with the level switch set to toa and >>> received the following error, see below. I perhaps should have >>> provided some additional information about the imagery in my >>> original post. The data is formatted in DIMAP format which is >>> the standard SPOT distribution format. The actual imagery is >>> processed to SPOTView ORTHO BASIC with a spatialtion resolution >>> of 2,5m. I am concerned that the metadata for the imagery does >>> not contain the necessary gains and biases required for DN to >>> radiance conversions. I fear that I may have to do the >>> processing by hand using band mathematics and running a >>> standalone version of 6S to undertake the atmospheric correction. >>> >>> Regards, >>> Wesley >>> >>> *wes...@ubuntu32:~/work/2006/DATA_N2310.87_E195.73/SPVIEW__2013_0$ >>> <javascript:> otbcli_OpticalCalibration -in IMAGERY.TIF -level >>> toa -out SPOT_Calibrate.tif >>> OpticalCalibration -in IMAGERY.TIF -level toa -out >>> SPOT_Calibrate.tif >>> >>> ossimSpotDimapSupportData::loadXmlFile >>> DEBUG:ossimSpotDimapSupportData::loadXmlFile: >>> Scene source initialization failed. Returning false >>> ossimSpotDimapSupportData::loadXmlFile >>> DEBUG:ossimSpotDimapSupportData::loadXmlFile: >>> Scene source initialization failed. Returning false >>> 2013 Mar 14 09:10:52 : Application.logger (FATAL) The >>> following error occurred during application execution : >>> >>> /build/buildd/otb-3.16.0/Code/IO/otbOpticalDefaultImageMetadataInterface.h:63: >>> itk::ERROR: OpticalDefaultImageMetadataInterface(0x9c34238): >>> GetPhysicalGain not implemented in >>> OpticalDefaultImageMetadataInterface, no captor type found* >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> On Wed, Mar 13, 2013 at 6:21 PM, Mickael Savinaud >>> <[email protected] <javascript:>> wrote: >>> >>> Hi Wesley, >>> >>> Could you try with OpticalCalibration -in IMAGERY.TIF -level >>> toa -out SPOT_Calibrate.tif please ? >>> Best >>> Mickaël >>> >>> >>> Le 13/03/2013 10:08, Jonathan Roberts a écrit : >>> >>> Dear Colleagues, >>> >>> Our organisation was recently awarded several high >>> resolution SPOT images through the Planet Action initiative. >>> >>> I would like to use this imagery to update our GIS >>> database as well as creating a number of other important >>> layers pertinent to our project (Change Detection, >>> Forest Cover Maps, Land Cover Maps). >>> >>> I am interested in using OTB to process the imagery and >>> extract the relevant information. A first step in the >>> process is the optical calibration of the imagery. I >>> have tried to use the otbcli_OpticalCalibration >>> application, unfortunately I received the following >>> error which I presume is the result of incomplete >>> metadata. Please could you advise on the best way to >>> move forward? >>> >>> OpticalCalibration -in METADATA.DIM -level toa -out >>> SPOT_Calibrate.tif >>> 2013 Mar 11 16:24:06 : Application.logger (FATAL) The >>> following error occurred during application execution : >>> >>> /build/buildd/otb-3.16.0/Code/IO/otbOpticalDefaultImageMetadataInterface.h:63: >>> itk::ERROR: >>> OpticalDefaultImageMetadataInterface(0x8aac6e8): >>> GetPhysicalGain not implemented in >>> OpticalDefaultImageMetadataInterface, no captor type found >>> >>> Many thanks and kind regards, >>> Wesley >>> >>> -- >>> "The shin bone is a device for finding furniture in a >>> dark room." >>> Anon >>> -- >>> -- >>> Check the OTB FAQ at >>> http://www.orfeo-toolbox.org/FAQ/ >>> <http://www.orfeo-toolbox.org/FAQ/> >>> >>> 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] <javascript:> >>> To unsubscribe from this group, send email to >>> [email protected] <javascript:> >>> For more options, visit this group at >>> http://groups.google.com/group/otb-users?hl=en >>> <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] >>> <javascript:>. >>> For more options, visit >>> https://groups.google.com/groups/opt_out >>> <https://groups.google.com/groups/opt_out>. >>> >>> >>> >>> -- >>> -- >>> Check the OTB FAQ at >>> http://www.orfeo-toolbox.org/FAQ/ >>> <http://www.orfeo-toolbox.org/FAQ/> >>> >>> 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] <javascript:> >>> To unsubscribe from this group, send email to >>> [email protected] <javascript:> >>> For more options, visit this group at >>> http://groups.google.com/group/otb-users?hl=en >>> <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] >>> <javascript:>. >>> For more options, visit >>> https://groups.google.com/groups/opt_out >>> <https://groups.google.com/groups/opt_out>. >>> >>> >>> >>> >>> >>> -- >>> "The shin bone is a device for finding furniture in a dark room." >>> Anon >> >> -- >> <http://www.c-s.fr> *Mickaël SAVINAUD*, /PhD/ >> Ingénieur d'études et développement >> Responsable projet OrfeoToolBox >> *Division ESPACE & Renseignement* >> <https://thor.si.c-s.fr/blogs/cs-blogs-business/>*- Département >> APPLICATIONS* >> >> *CS Systèmes d'Information* >> Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 >> 31506 Toulouse Cedex 05 - FRANCE >> +33 561 17 63 13 / +33 671 57 84 15 - [email protected] >> <javascript:> >> >> -- >> -- >> Check the OTB FAQ at >> http://www.orfeo-toolbox.org/FAQ/ <http://www.orfeo-toolbox.org/FAQ/> >> >> 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] >> <javascript:> >> To unsubscribe from this group, send email to >> [email protected] <javascript:> >> For more options, visit this group at >> http://groups.google.com/group/otb-users?hl=en >> <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] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out >> <https://groups.google.com/groups/opt_out>. >> >> > > -- > <http://www.c-s.fr> *Mickaël SAVINAUD*, /PhD/ > Ingénieur d'études et développement > Responsable projet OrfeoToolBox > *Division ESPACE & Renseignement* > <https://thor.si.c-s.fr/blogs/cs-blogs-business/>*- Département > APPLICATIONS* > > *CS Systèmes d'Information* > Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 > 31506 Toulouse Cedex 05 - FRANCE > +33 561 17 63 13 / +33 671 57 84 15 - [email protected] > <javascript:> > > -- > -- > 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] > <mailto:[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.
