object CloudRemMilkyWay: TCloudRemMilkyWay
  Left = 1938
  Height = 500
  Top = 40
  Width = 1070
  Caption = 'Cloud removal / Milky Way position Tool'
  ClientHeight = 500
  ClientWidth = 1070
  Constraints.MinHeight = 500
  Constraints.MinWidth = 1000
  OnShow = FormShow
  Position = poScreenCenter
  LCLVersion = '2.2.6.0'
  object SourceFileEdit: TEdit
    AnchorSideLeft.Control = SourceFileButton
    AnchorSideLeft.Side = asrBottom
    AnchorSideTop.Control = SourceFileButton
    AnchorSideRight.Control = Memo1
    Left = 36
    Height = 30
    Hint = ' Source directory.'
    Top = 4
    Width = 738
    Anchors = [akTop, akLeft, akRight]
    AutoSize = False
    BorderSpacing.Left = 4
    BorderSpacing.Right = 4
    TabOrder = 0
  end
  object SourceFileButton: TBitBtn
    AnchorSideLeft.Control = Owner
    AnchorSideRight.Control = SourceFileEdit
    Left = 2
    Height = 30
    Hint = 'Select source directory.'
    Top = 4
    Width = 30
    BorderSpacing.Left = 2
    Glyph.Data = {
      36040000424D3604000000000000360000002800000010000000100000000100
      2000000000000004000064000000640000000000000000000000534D46A0A465
      34FFA46534FFA46534FFA46534FFA46534FFA46534FFA46534FFA46534FFA465
      34FFA46534FFA46534FFA46534FFA46534FFA46635E9A6673639484848E09786
      78FFA5693AFFBA8350FFBA8350FFBA8350FFBA8350FFBA8350FFBA8350FFBA83
      50FFBA8350FFBA8350FFBA8350FFBA8350FFB27845FFA56636C0494949E09999
      99FFA56839FFD3A67EFFD2A378FFD2A378FFD2A378FFD2A378FFD2A378FFD2A3
      78FFD2A378FFD2A378FFD2A378FFD3A479FFD1A57AFFA56635F5484848E29B9B
      9BFFA46738FFD5AB85FFCE9C6EFFCE9C6DFFCE9C6DFFCE9C6DFFCE9C6DFFCE9C
      6DFFCE9C6DFFCE9C6DFFCE9C6DFFCF9E70FFD5AB84FFA56635F84C4C4CE4A1A1
      A1FFA56838FFE2C4A9FFD5A881FFD3A47AFFD3A47AFFD3A47AFFD3A47AFFD3A4
      7AFFD3A47AFFD3A47AFFD3A47AFFD4A77EFFDDBA9CFFA56635F9515151E5A4A5
      A5FFA56737FFE9D2BEFFDDBA9BFFDDB999FFDCB695FFDBB592FFDAB390FFD9B2
      8EFFD8AE89FFD7AD87FFD7AD87FFD8B08BFFE5C9B1FFA56635FA565656E7A9A9
      A9FFA46636FFECD8C6FFDDBA99FFDDBA99FFDDBA99FFDDBA99FFDDBA99FFDDBA
      99FFDDBA99FFDCB795FFDAB28EFFD9B08BFFE7CFB8FFA56635FB5B5B5BE9AEAE
      AEFFA56736FFEBD7C4FFDCB794FFDCB794FFDCB794FFDCB794FFDCB794FFDCB7
      94FFDCB794FFDCB794FFDCB794FFDAB491FFE6CDB6FFA56635FC5F5F5FE9B3B3
      B3FFA46635FFEAD5C1FFDBB491FFDBB491FFDBB591FFDBB591FFDBB592FFDBB5
      92FFDBB592FFDBB592FFDBB592FFDCB896FFE7CFB7FFA46634FD656565EBB7B7
      B7FFA56635FFEAD3BEFFEAD4BFFFEAD4BFFFEAD4BEFFEAD4BEFFEAD4BEFFE9D3
      BEFFE9D3BEFFE9D3BEFFE9D3BEFFE9D3BEFFE8CFB8FFA56534FE6A6A6AECBDBD
      BDFFA66D41FFA56636FFA56636FFA56636FFA56636FFA56636FFA46635FFA466
      35FFA46635FFA46635FFA46534FFA46534FFA46534FFA66837E06E6E6EEEC0C1
      C1FFACACACFFAAAAAAFFA7A7A7FFA5A5A5FFA4A4A4FFA4A4A4FFACACACFFB6B6
      B6FFB9B9B9FFBBBBBBFFA2A2A2FF6A6A6AA94747470047474700737373EFC5C5
      C5FFB0B0B0FFADADADFFABABABFFAAAAAAFFACACACFF8D8D8DF58D8D8DF28C8C
      8CF28C8C8CF28C8C8CF2808080F66C6C6C844747470047474700787878F0C9C9
      C9FFC7C7C7FFC5C5C5FFC4C4C4FFC4C4C4FFB4B4B4FF747474CA727272387272
      7238727272386D6D6D386F6F6F355555550347474700474747007A7A7A9F7979
      79EC797979EC797979EC797979EC797979EC797979E278787835474747004747
      4700474747004747470047474700474747004747470047474700474747004747
      4700474747004747470047474700474747004747470047474700474747004747
      4700474747004747470047474700474747004747470047474700
    }
    OnClick = SourceFileButtonClick
    TabOrder = 1
  end
  object StartButton: TButton
    AnchorSideLeft.Side = asrCenter
    AnchorSideTop.Control = SourceFileButton
    AnchorSideTop.Side = asrBottom
    AnchorSideRight.Control = SourceFileEdit
    AnchorSideRight.Side = asrBottom
    Left = 695
    Height = 30
    Top = 62
    Width = 75
    Anchors = [akTop, akRight]
    BorderSpacing.Top = 28
    BorderSpacing.Right = 4
    Caption = 'Start'
    OnClick = StartButtonClick
    TabOrder = 2
  end
  object ProcessStatusMemo: TMemo
    AnchorSideLeft.Control = Owner
    AnchorSideTop.Control = Label2
    AnchorSideTop.Side = asrBottom
    AnchorSideRight.Control = Memo1
    AnchorSideBottom.Control = ProgressBar1
    Left = 4
    Height = 340
    Top = 119
    Width = 774
    Anchors = [akTop, akLeft, akRight, akBottom]
    BorderSpacing.Left = 4
    ScrollBars = ssBoth
    TabOrder = 3
  end
  object Memo1: TMemo
    AnchorSideTop.Control = Owner
    AnchorSideRight.Control = Owner
    AnchorSideRight.Side = asrBottom
    AnchorSideBottom.Control = StatusBar1
    Left = 778
    Height = 479
    Top = 0
    Width = 292
    Anchors = [akTop, akRight, akBottom]
    Lines.Strings = (
      'Reads a .dat file of SQM data and creates a comma separated value (.csv) file with these attributes at each SQM time reading:'
      ''
      '- Location'
      '- Lat, Long'
      '- UTC_Date, UTC_Time'
      '- Local_Date, Local_Time'
      '- Celsius, Volts, Msas, Status'
      '- MoonPhase, MoonElev, MoonIllum, SunElev'
      '- MinSince3pm, Msas_Avg, NightsSince_1118'
      '- RightAscensionHr, Galactic Latitude, Galactic Longitude, J2000days'
      '- ResidStdErr – for identifying cloud-free spans of SQM data'
      ''
      'MinSince3pmStdTime - Number of minutes since 3pm standard time of the previous day; calculated based on the UTC time and longitude of measurement; allows tracking of time from afternoon, through evening, night and morning as a positive number'
      ''
      'Msas_Avg -- Average value of SQM reading during the current night, under conditions of sun lower than 18 degrees below the horizon and moon lower than 10 degrees below the horizon'
      ''
      'NightsSince_1118 -- Number of nights since January 1, 2018; useful to track number of nights since that day'
      ''
      'RightAscensionHr -- Right ascension in hours of the zenith at the SQM location; equivalent to Local Sidereal Time at the SQM location; used to calculate the Galactic orientation'
      ''
      'Galactic Latitude -- Angle in degrees between the zenith at the SQM location and the highest point of the Milky Way Arc; value of zero implies that the SQM is pointed directly into the Milky Way'
      ''
      'Galactic Longitude -- Angle in degrees from the Galactic Center (Sagittarius) eastward along the Galactic equator'
      ''
      'J2000days -- Days since January 1, 2000; fractional'
      ''
      'ResidStdErr -- Residual Standard Error; a measure of jaggedness of the SQM data over a time range specified by the user (typically 90 minutes); if ResidStdErr is large, for example > 50, then conditions can be considered to have been cloudy; value as reported is multiplied x 1000 to give larger numbers; Refer to the updated UDM Manual for a detailed explanation of this attribute.'
      ''
      'Limitation – Handles daily 24-hour SQM data sampled at 1-minute spacing or longer. Attempts to process SQM data with time spacing that provides more than 1500 samples per day will fail.'
    )
    ScrollBars = ssAutoVertical
    TabOrder = 4
  end
  object HalfRangeEdit: TLabeledEdit
    AnchorSideLeft.Control = LongEdit
    AnchorSideLeft.Side = asrBottom
    AnchorSideTop.Control = StartButton
    AnchorSideTop.Side = asrBottom
    AnchorSideRight.Control = StartButton
    AnchorSideBottom.Control = StartButton
    AnchorSideBottom.Side = asrBottom
    Left = 615
    Height = 36
    Top = 56
    Width = 75
    Anchors = [akRight, akBottom]
    BorderSpacing.Left = 10
    BorderSpacing.Top = 4
    BorderSpacing.Right = 5
    EditLabel.Height = 19
    EditLabel.Width = 75
    EditLabel.Caption = 'Half range:'
    EditLabel.ParentColor = False
    TabOrder = 5
  end
  object Label2: TLabel
    AnchorSideLeft.Control = ProcessStatusMemo
    AnchorSideTop.Control = HalfRangeEdit
    AnchorSideTop.Side = asrBottom
    Left = 4
    Height = 19
    Top = 100
    Width = 110
    BorderSpacing.Top = 8
    Caption = 'Processing status:'
    ParentColor = False
  end
  object ProgressBar1: TProgressBar
    AnchorSideLeft.Control = Owner
    AnchorSideRight.Control = Memo1
    AnchorSideBottom.Control = StatusBar1
    Left = 0
    Height = 20
    Top = 459
    Width = 778
    Anchors = [akLeft, akRight, akBottom]
    Smooth = True
    TabOrder = 6
  end
  object StatusBar1: TStatusBar
    Left = 0
    Height = 21
    Top = 479
    Width = 1070
    Panels = <    
      item
        Width = 50
      end>
    SimplePanel = False
  end
  object LatEdit: TLabeledEdit
    AnchorSideTop.Control = StartButton
    AnchorSideTop.Side = asrBottom
    AnchorSideRight.Control = LongEdit
    AnchorSideBottom.Control = StartButton
    AnchorSideBottom.Side = asrBottom
    Left = 361
    Height = 36
    Top = 56
    Width = 120
    Anchors = [akRight, akBottom]
    BorderSpacing.Right = 4
    EditLabel.Height = 19
    EditLabel.Width = 120
    EditLabel.Caption = 'Latitude:'
    EditLabel.ParentColor = False
    TabOrder = 8
  end
  object LongEdit: TLabeledEdit
    AnchorSideLeft.Side = asrBottom
    AnchorSideTop.Control = StartButton
    AnchorSideRight.Control = HalfRangeEdit
    AnchorSideBottom.Control = StartButton
    AnchorSideBottom.Side = asrBottom
    Left = 485
    Height = 36
    Top = 56
    Width = 120
    Anchors = [akRight, akBottom]
    BorderSpacing.Right = 4
    EditLabel.Height = 19
    EditLabel.Width = 120
    EditLabel.Caption = 'Longitude:'
    EditLabel.ParentColor = False
    TabOrder = 9
  end
  object LocationEdit: TLabeledEdit
    AnchorSideLeft.Control = SourceFileEdit
    AnchorSideTop.Control = SourceFileEdit
    AnchorSideTop.Side = asrBottom
    AnchorSideRight.Control = LatEdit
    AnchorSideBottom.Control = StartButton
    AnchorSideBottom.Side = asrBottom
    Left = 36
    Height = 36
    Top = 56
    Width = 321
    Anchors = [akLeft, akRight, akBottom]
    BorderSpacing.Right = 4
    EditLabel.Height = 19
    EditLabel.Width = 321
    EditLabel.Caption = 'Location:'
    EditLabel.ParentColor = False
    TabOrder = 10
  end
  object SourceFileDialog: TOpenDialog
    Filter = 'Data files|*.dat; *.csv'
    Left = 312
    Top = 232
  end
end
