Menu

#781 pngwalk tool "show only QC records" more options

closed
nobody
None
5
2022-06-10
2022-05-03
No

Sadie asks that the pngwalk tool have a way to show only the QCRecords that are okay, as well as only QCRecords. We had to write a short script to pull out the "okay" images with a script, and then look at that extracted set with the pngwalk tool.

Discussion

  • Jeremy Faden

    Jeremy Faden - 2022-05-03

    The script to do this in the meantime, which is to be run in the pngwalk directory:

    from java.io import File
    from org.das2.util import FileUtil
    
    cwd= URI(PWD).path
    
    ll= listDirectory( cwd + '/*.ok')
    
    for l in ll:
        fsrc= File(cwd+l[:-3])
        fdest= File(cwd+'okay_data/'+l[:-3])    
        FileUtil.fileCopy( fsrc, fdest )
    
     
  • Jeremy Faden

    Jeremy Faden - 2022-05-06

    This is done

     
  • Jeremy Faden

    Jeremy Faden - 2022-06-10
    • status: open --> closed