Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2007
    Location
    Adelaide, Australia
    Posts
    87

    Default AutoFlat Setup Details

    Hi,
    So I encountered some issues with AutoFlats last night/this morning. I'm posting this here in case other potential ACP newbies run into this too.

    1) Running a multi image plan with dawn flats coughed up an error during plan compilation, it said the defaultflat.txt was missing. But it and defaultdawnflat.txt were certainly in my
    C:\Data\ACP Astronomy\Plans
    folder, (I have My Documents mapped to C:\Data, could that be the problem?).
    I copied the defaultdawnflat.txt file to the
    C:\Program Files\ACP Obs Control\WebDocs\plans\ebenson
    folder and it ran the plan again, this time it worked, why is that? The help docs specify it should be "in your default plans folder (typically My Documents\ACP Astronomy\Plans)." Is this just a case of the help file being out of date?


    2) AutoflatPlanGen was throwing an error (this occurred while I was trying to solve issue #1 above). The error string from the MsgBox is the following:

    ---------------------------
    Filter O3,Blue,Green,Red is not configured in AutoFlatConfig. Cannot continue.
    You must edit AutoFlatConfig.txt and set up your filters. See ACP Help, Automatic Sky Flats.
    ---------------------------

    But I think this error is bogus because my AutoFlatConfig is configured exactly as per the help file (I followed the steps verbatim), here it is minus all the commented lines:

    TargetBackgroundADU 30000 ; Target flatfield mean in ADU
    TargetADUTolerance 10000 ; Tolerance on the above
    MinExposure 1 ; Exposure interval range
    MaxExposure 20
    IRAF_FITS False ; True for IRAF compatible IMAGETYP
    FolderName AutoFlat ; Images sub-folder AutoFlat root
    TwilightSunLo -9 ; Low elevation of Sun for flats (morning)
    TwilightSunHi +2 ; Hi elevation of Sun for flats (evening)
    ADUAcceleration_AM 0.95 ; Factors to improve exposure scaling ADUAcceleration_PM 1.05
    Filter O3
    Filter Ha
    Filter I
    Filter R
    Filter Red
    Filter V
    Filter Green
    Filter B
    Filter Blue
    Filter Lum

    The file I choose to process was
    C:\Program Files\ACP Obs Control\WebDocs\plans\ebenson\last-plan-from-web.txt
    and the contents are:

    #startsetnum 1 ; Persistent set numbering added by ACP
    #completionstate 0,1,0,0,0 ; Plan completion status added by ACP
    ;
    ; Single target color series plan by Eric Benson, created Wed, 5 Jan 2011 15:59:55 UTC
    ;
    #afinterval 60
    #dither
    #posang 180
    #count 9,5,5,5
    #interval 600,200,200,200
    #binning 1,2,2,2
    #filter O3,Blue,Green,Red
    PK244+12.1 8.671111111111111 -20.889444444444443
    #dawnflats
    #shutdown

    I chose C:\Data\ACP Astronomy\Plans\defaultflat.txt (and on a second try C:\Data\ACP Astronomy\Plans\defaultdawnflat.txt) as destination output, they didn't exist at the time.
    Is there something about using a plan file in the program Files folder tree that is against the rules? (I'm only running WinXP)
    Eventually I got around the problem with Notepad and examples in the help file and made this file:
    10, O3, 1, 180
    10, Blue, 2, 180
    10, Green, 2, 180
    10, Red, 2, 180

    I'll save my last issue for another post since it is only somewhat related.

    EB

  2. #2
    Join Date
    Oct 2005
    Location
    Mesa, AZ
    Posts
    33,288

    Default

    1) Running a multi image plan with dawn flats coughed up an error during plan compilation, it said the defaultflat.txt was missing. But it and defaultdawnflat.txt were certainly in my
    C:\Data\ACP Astronomy\Plans
    folder, (I have My Documents mapped to C:\Data, could that be the problem?).
    I copied the defaultdawnflat.txt file to the
    C:\Program Files\ACP Obs Control\WebDocs\plans\ebenson
    folder and it ran the plan again, this time it worked, why is that? The help docs specify it should be "in your default plans folder (typically My Documents\ACP Astronomy\Plans)." Is this just a case of the help file being out of date?
    You were reading the help file for "in observatory"/console users but using the web browser with an explicit domain (other than localhost/127.0.0.1 which are also "local"). Having started your run from what looks to ACP like a remote web session, ACP is going to use the plans folder that you (the logged-in user) have accessible from the browser. Also, the flat planning tools on the browser are the ones to use for making "standard" flat plans, and they are automagically put into the right place at the observatory/server end (the web user's plans folder). Of course you can also upload defaultflat plans, but using the browser is easier and less error prone.

    2) AutoflatPlanGen was throwing an error
    I apologize profusely for the existence of AutoflatPlanGen. It was deprecated years ago, and the info you saw in AutoFlatConfig is also no longer used by anything. That bad idea was in 5.1 original release, and it won't be in the about-to-be-released 6.0.

    C:\Program Files\ACP Obs Control\WebDocs\plans\ebenson\last-plan-from-web.txt
    So you used the Single Object Color Series web form. Had you just used the Setup Standard Sky Flats web form, you would not have become confused by trying to operate all over the place under the hood at the server end :-)) The flat plan needs to be in the same location as the observing plan (unless #dawnflat has a fully qualified path to the flat plan, very unusual and not the best idea!!!)

    C:\Data\ACP Astronomy\Plans\defaultflat.txt
    I'm not sure how this directory came into being. ACP's normal place (on XP) is C:\Documents and Settings\Your Name\My Documents\ACP Astronomy\...

    But bottom line is... when you're using the web browser, use the tools and forms on the web browser. Don't go looking for the man behind the curtain :-))) Later, after you get familiar, and maybe want to do some exotic things, you should find the file storage conventions at the server are straightforward. One thing to note - on ACP6 the web document root is being moved out of Program Files.
    -- Bob

 

 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •