Unix pass in for --inlist
nkphysics opened this issue · comments
It would be useful not to have to make an inlist file every time.
Instead consider navigating to a dir containing all NICER OBSID datasets and the running either
--inlist=*
or
--inlist=/PATH-TO-DIR/*
Need to add error handling for other non OBSID components of a dir:
NotADirectoryError: [Errno 20] Not a directory: 'tmp2.lis'
Also need to address handling for the following case:
autonicer --checkcal --inlist *
usage: autonicer [-h] [-src SRC] [-checkcal] [-reprocess] [-bc] [-compress] [-inlist INLIST]
autonicer: error: unrecognized arguments: 2050260102 2050260103 2050260104 2050260105 2050260106 2050260107 2050260108 2050260109 2050260110 2584010101 2584010102 2584010103 2584010104 2584010105 2584010106 2584010107 2584010108 2584010109 2584010110 2584010111 2584010112 2584010201 2584010301 2584010501 2584010502 2584010601 2584010701 2584010801 2584010901 2584011001 2584011101 2584011102 2584011201 2584011301 2584011401 2584011501 2584011502 2584011601 2584011701 2584011702 2584011801 2584011901 2584012102 2584012201 2584012301 2584012401 2584012501 2584012601 2584012701 2584012801 2584012901 2584013001 2584013101 2584013201 2584013301 2584013401 2584013501 2584013601 2584013701 2584013801 2584013901 2584014001 2584014101 2584014201 2584014301 2584014701 2584014901 2584014902 2584015001 tmp2.lis
Need to add error handling for other non OBSID components of a dir:
NotADirectoryError: [Errno 20] Not a directory: 'tmp2.lis'
Addressed in 01eb2c7
Also need to address handling for the following case:
autonicer --checkcal --inlist * usage: autonicer [-h] [-src SRC] [-checkcal] [-reprocess] [-bc] [-compress] [-inlist INLIST] autonicer: error: unrecognized arguments: 2050260102 2050260103 2050260104 2050260105 2050260106 2050260107 2050260108 2050260109 2050260110 2584010101 2584010102 2584010103 2584010104 2584010105 2584010106 2584010107 2584010108 2584010109 2584010110 2584010111 2584010112 2584010201 2584010301 2584010501 2584010502 2584010601 2584010701 2584010801 2584010901 2584011001 2584011101 2584011102 2584011201 2584011301 2584011401 2584011501 2584011502 2584011601 2584011701 2584011702 2584011801 2584011901 2584012102 2584012201 2584012301 2584012401 2584012501 2584012601 2584012701 2584012801 2584012901 2584013001 2584013101 2584013201 2584013301 2584013401 2584013501 2584013601 2584013701 2584013801 2584013901 2584014001 2584014101 2584014201 2584014301 2584014701 2584014901 2584014902 2584015001 tmp2.lis
Addressed in a910cd9
Finished off with #40