Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add message when Post-Wind calculations are not supported #39

Closed
dnorgaard-usgs opened this issue Jan 16, 2018 · 1 comment

Comments

Projects
None yet
1 participant
@dnorgaard-usgs
Copy link
Contributor

commented Jan 16, 2018

The Post Wind Calculations only work if you have dual spectrometer time series. User should get a more meaningful error message.

On Mon, Jan 15, 2018 at 1:13 PM, Carlos Andrés Laverde wrote:
Dear Diana and Chistoph,

Just before to make some tests at field using the new MobileDOAS I am trying to do some re-processing.

I'm sorry Christoph, I not get use to Post-Wind calculations, but the program ask for one Evaluation Log file; it is open correctly and Time[s] vs. Column[ppmm] graph is displayed. However, when I push the "Calculate" button I get this:

image

Do you know what's happens in this case?

When I push "Aceptar" botton and I try to close the "Post Wind Calculation" I get this other error message:

image

If I select "Anular" or "Reintentar", the program crash down.

Indeed, when I go to "Postwind meassurements" and I close the window without choose a Evaluation Log file, I get the same error-message.

Running the code in debugging mode I get this additional information:

image

  •   postWindDlg	{...}	CPostWindDlg {CObject}
    
  •   [CObject]	{...}	CObject
    
  •   CDialog	{hWnd=0x00000000 <NULL>}	CDialog
    
  •   m_frameColumn	{hWnd=0x00000000 <NULL>}	CStatic
    
  •   m_columnGraph	{hWnd=0x00000000 <NULL>}	Graph::CGraphCtrl
    
  •   m_frameResult	{hWnd=0x00000000 <NULL>}	CStatic
    
  •   m_resultGraph	{hWnd=0x00000000 <NULL>}	Graph::CGraphCtrl
    
  •   m_evalLog	""	ATL::CStringT<char,StrTraitMFC<char,ATL::ChTraitsCRT<char> > >
    
  •   m_flux	0x00000000 <NULL>	Flux::CFlux *
    
  •   m_OriginalSeries	0x0022f150 {0x00000000 <NULL>, 0x00000000 <NULL>}	DualBeamMeasurement::CDualBeamCalculator::CMeasurementSeries *[2]
    
  •   m_PreparedSeries	0x0022f158 {0x00000000 <NULL>, 0x00000000 <NULL>}	DualBeamMeasurement::CDualBeamCalculator::CMeasurementSeries *[2]
    
  •   m_settings	{lowPassFilterAverage=20 shiftMax=90 testLength=300 ...}	DualBeamMeasurement::CDualBeamMeasSettings
    
  •   m_calc	{shift=0x00000000 {???} corr=0x00000000 {???} used=0x00000000 {???} ...}	DualBeamMeasurement::CWindSpeedCalculator
      m_showOption	0	int
    
  •   corr	0x00000000 {???}	double *
    
  •   delay	0x00000000 {???}	double *
    
  •   ws	0x00000000 {???}	double *
    
  •   m_colorSeries	0x0022f1b8 {255, 16711680}	unsigned long[2]
    
  •   this	0x03fa0040 {hWnd=0x00090320 {unused=0 }}	CDMSpecView *
    
  •   CFormView	{hWnd=0x00090320 {unused=0 }}	CFormView
    
  •   m_BaseEdit	{hWnd=0x00160346 {unused=??? }}	CEdit
    
  •   m_fluxDlg	0x00dd3420 {hWnd=0x00000000 <NULL>}	CPostFluxDlg *
      m_bkColor	3452816845	unsigned long
    
  •   m_PlotColor	0x03fa0198 {255, 16711680}	unsigned long[2]
      m_Spectrum0Color	65280	unsigned long
      m_Spectrum0FitColor	38400	unsigned long
      m_Spectrum1Color	16711935	unsigned long
      m_Spectrum1FitColor	9830550	unsigned long
    
  •   m_intensitySliderLow	{hWnd=0x0015033c {unused=??? }}	CSliderCtrl
    
  •   m_ColumnPlot	{hWnd=0x000a05f8 {unused=0 }}	Graph::CGraphCtrl
    
  •   m_gpsLatLabel	{hWnd=0x00070444 {unused=0 }}	DlgControls::CLabel
    
  •   m_gpsLonLabel	{hWnd=0x000d0516 {unused=0 }}	DlgControls::CLabel
    
  •   m_gpsTimeLabel	{hWnd=0x00210568 {unused=??? }}	DlgControls::CLabel
    
  •   m_gpsNSatLabel	{hWnd=0x00190616 {unused=??? }}	DlgControls::CLabel
    
  •   m_colorLabelSpectrum1	{hWnd=0x0007032a {unused=0 }}	DlgControls::CLabel
    
  •   m_colorLabelSpectrum2	{hWnd=0x00150344 {unused=??? }}	DlgControls::CLabel
    
  •   m_colorLabelSeries1	{hWnd=0x0021057a {unused=??? }}	DlgControls::CLabel
    
  •   m_colorLabelSeries2	{hWnd=0x000b02ce {unused=65536 }}	DlgControls::CLabel
    
  •   m_legendSeries1	{hWnd=0x0023033a {unused=33587328 }}	CStatic
    
  •   m_legendSeries2	{hWnd=0x001a035c {unused=??? }}	CStatic
    
  •   m_legendSpectrum1	{hWnd=0x000c035a {unused=7602278 }}	CStatic
    
  •   m_legendSpectrum2	{hWnd=0x000505ec {unused=0 }}	CStatic
      m_WindDirection	0.00000000000000000	double
      m_WindSpeed	8.0000000000000000	double
    
  •   m_Spectrometer	0x00000000 <NULL>	CSpectrometer *
    
  •   m_calibration	0xcdcdcdcd {m_lines=0xcdcdcdcd {{pixelNumber=??? wavelength=??? maxIntensity=??? ...}, {pixelNumber=...}, ...} ...}	CWavelengthCalibration *
    
  •   m_GPS	0xcdcdcdcd {gotContact=??? fRun=??? m_logFile=??? ...}	CGPS *
      m_showErrorBar	0	int
      m_SpectrumLineWidth	1	int
    
  •   m_realTimeRouteGraph	{hWnd=0x00000000 <NULL>}	Dialogs::CRealTimeRoute
    
  •   m_showFitDlg	{hWnd=0x00000000 <NULL>}	Dialogs::CShowFitDlg
    
  •   m_specSettingsDlg	{hWnd=0x00000000 <NULL>}	Dialogs::CSpectrumSettingsDlg
    
  •   m_specScaleDlg	{hWnd=0x00000000 <NULL>}	Dialogs::CSpectrumScaleDlg
    
  •   m_specCalibrationDlg	{hWnd=0x00000000 <NULL>}	Dialogs::CSpectrumCalibrationDlg
    
  •   pSpecThread	0xcdcdcdcd {h=??? proc=???}	CWinThread *
    
  •   pGPSThread	0xcdcdcdcd {h=??? proc=???}	CWinThread *
    
  •   number	0x041aa730 {0.00000000000000000, 1.0000000000000000, 2.0000000000000000, 3.0000000000000000, 4.0000000000000000, ...}	double[200]
    
  •   number2	0x041aad70 {0.00000000000000000, 0.054824561403508769, 0.10964912280701754, 0.16447368421052633, 0.21929824561403508, ...}	double[3648]
      number2Length	3648	long
      m_columnLimit	100.00000000000000	double
      m_minSaturationRatio	0.00000000000000000	double
      m_maxSaturationRatio	100.00000000000000	double
      m_spectrometerMode	-842150451	SPECTROMETER_MODE
    

OK, thank you for all, This is all at this time, I will comment to you if I get more information...

Best regards,

Carlos Andrés

dnorgaard-usgs added a commit to dnorgaard-usgs/MobileDOAS that referenced this issue Jan 18, 2018

@dnorgaard-usgs

This comment has been minimized.

Copy link
Contributor Author

commented Jan 18, 2018

done.

@dnorgaard-usgs dnorgaard-usgs self-assigned this Jan 18, 2018

@dnorgaard-usgs dnorgaard-usgs added the bug label Jan 18, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.