Workflow maps

Replacing an object completely (reprocessing)

If I have reprocessed an object and the images carry the same name as before, each of my programs replaces the old one by itself. Nothing is overwritten and nothing is silently deleted: the old files first move into a legacy folder, and only at the end, after I have checked Notion and the website, does the publisher delete them for good.

What remains by hand: start the program, confirm the question, check the result and synchronise the folder in Lightroom.

  1. Processing Step 1 of 9

    Reprocess

    Tool: PixInsight and Photoshop

    The new processing is done as the first time. The only thing that matters is that the exported files belong to the same object later on: same catalogue number, same setup, same composition. The object name in the file name may differ.

    Input
    The existing stacks.
    Output
    The reprocessed image.
    Needed before
    Starting point
    Feeds into
    Export: secure the old files (new image)
  2. Scriptself-made Step 2 of 9

    Export: secure the old files

    Tool: AoP Export MultiSize

    If MultiSize finds files for the catalogue number and setup ID in the target folders it does not overwrite them. It shows a list with tick boxes and, after confirmation, moves the old files together with their metadata sidecars into a folder “@Löschen - Altbestand” next to the respective target folder, with a subfolder carrying catalogue number, setup and date.

    Input
    The new image from Photoshop.
    Output
    New files in the target folders, the old ones in the legacy folder.
    Notes
    The legacy folder sits next to the export folder on purpose, not inside it: all my programs and Lightroom search folders including subfolders, so a subfolder would be found as well. Nothing is ever deleted here.
    Needed before
    Reprocess (new image)
    Feeds into
    Image analysis: reprocessing detected (new files)
  3. Analysis Step 3 of 9

    Image analysis: reprocessing detected

    Tool: AoP Bildanalyse

    When a measurement starts, the script recognises on its own that the object has been reprocessed: it compares the images in the export folder by size and modification time with the state of the last measurement run. Then a single question with numbers follows. After my yes the old reports are renamed to “.alt”, the old JPEGs move to a replaced folder, the new images are copied and everything is measured again.

    Input
    The new images in the export folder.
    Output
    New measurements and a new report, the old state is set aside.
    Notes
    The new state is built in a temporary folder first, and only after a successful measurement is the old one moved away: nothing is missing after an abort. The import report and the measurements of the raw subs are kept. Nothing is deleted. If the archive drive is switched off, a message appears and nothing changes.
    Needed before
    Export: secure the old files (new files)
    Feeds into
    Importer: update images (new report)
  4. Import Step 4 of 9

    Importer: update images

    Tool: AoP AstroPhoto Importer

    The scan recognises on its own that a file with different content belongs to an existing card. The key is catalogue number, setup ID and composition (with variant, marker and crop), the object name does not count. The dialog “Update images” shows the old and the new file per card. With one click the importer replaces the image in Notion (the cover image only if it is affected), sets the tick for the metadata export, puts in the new report and writes the metadata.

    Input
    The new files in the export folder and the new report.
    Output
    Updated cards in Notion and metadata in the new files.
    Notes
    Dropped compositions (card exists, file missing) are listed separately and not pre-ticked. After confirmation the importer marks them in Notion with “🗑️ LÖSCHEN (Komposition entfallen)”, nothing is deleted. New compositions go through “Do these files belong to …?” as usual. The run has a log with an undo button. Afterwards a note reminds me to synchronise the folder in Lightroom.
    Needed before
    Image analysis: reprocessing detected (new report)
    Feeds into
    Lightroom: synchronise the folder (new metadata), Publisher: upload again (updated cards)
  5. Archive Step 5 of 9

    Lightroom: synchronise the folder

    Tool: Lightroom Classic

    In Lightroom I synchronise the web folder: new files come into the catalogue, missing files disappear from it. This remains a manual step in Lightroom.

    Input
    The new files with metadata.
    Output
    An up-to-date catalogue.
    Needed before
    Importer: update images (new metadata)
    Feeds into
    End point
  6. Publishing Step 6 of 9

    Publisher: upload again

    Tool: 🔁 Upload an existing project again

    The publisher compares the source files with its last state by SHA-256. If it finds changed images in an already published project, it writes “Bilder geändert N” to the log and proposes switching to route 🔁 on its own. Then: build locally, upload, dry run, import. The web IDs are kept.

    Input
    The updated cards and the new image files.
    Output
    The new images on the server.
    Notes
    So that the browser does not show the old picture, the website appends an identifier derived from the checksum to every image address: new content means a new address.
    Needed before
    Importer: update images (updated cards)
    Feeds into
    Withdraw dropped items (import), Check the website (import)
  7. Publishing Step 7 of 9

    Withdraw dropped items

    Tool: Optional step in the publisher

    The server never deletes an image that is missing from the data bundle. If a composition is marked “🗑️ LÖSCHEN (Komposition entfallen)” in Notion and was already published, this step takes it off the website. It only switches the “published” flag off, nothing is deleted.

    Input
    The cards marked as dropped in Notion.
    Output
    The dropped compositions are no longer visible.
    Notes
    Undo works via “↩ Import”.
    Needed before
    Publisher: upload again (import)
    Feeds into
    Check the website
  8. Website Step 8 of 9

    Check the website

    Tool: artofpix.at

    I open the object page and check that the new images are there, the old ones are gone and texts, data and report are right. Only then does the cleanup continue.

    Input
    The import.
    Output
    My go-ahead for the cleanup.
    Needed before
    Publisher: upload again (import), Withdraw dropped items
    Feeds into
    Clean up the old files (checked)
  9. Publishing Step 9 of 9

    Clean up the old files

    Tool: Last step in the publisher

    The publisher searches the legacy files for the project (catalogue number plus setup ID, never just the catalogue number): the “@Löschen - Altbestand” folders, the “.alt” reports and the replaced folders of the image analysis. It lists everything with path, size and date. The delete button only becomes active once I have ticked “Notion checked” and “Website checked”, followed by a confirmation with count and total size.

    Input
    The legacy files from the steps before.
    Output
    Tidy folders and a log of the deletion.
    Notes
    This is the only place where files are deleted for good: no recycle bin and no undo. If a drive cannot be reached the publisher reports it and does not guess. Nothing is ever deleted in Notion.
    Needed before
    Check the website (checked)
    Feeds into
    End point