Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't require ".fits" extension #1

Open
dstndstn opened this issue Jun 18, 2014 · 1 comment
Open

Don't require ".fits" extension #1

dstndstn opened this issue Jun 18, 2014 · 1 comment

Comments

@dstndstn
Copy link

I just encountered:

processFile.py fpC-004192-r4-0300.fit --output output --clobber-config -c gain=2 doVariance=True calibrate.astrometry.solver.matchThreshold=14. calibrate.astrometry.solver.maxStars=100
: Loading config overrride file '/nfs/lsst/home/dstn/lsst/obs_file/config/processFile.py'
: Loading config overrride file '/nfs/lsst/home/dstn/lsst/obs_file/config/processFile.py'
: input=/nfs/lsst/home/dstn/lsst/lsst_dm_stack_demo-8.0.0.0
: output=/nfs/lsst/home/dstn/lsst/lsst_dm_stack_demo-8.0.0.0/output
CameraMapper: Loading registry registry from /nfs/lsst/home/dstn/lsst/lsst_dm_stack_demo-8.0.0.0/output/_parent/registry.sqlite3
 WARNING: No data found for dataId=OrderedDict([('calexp', 'fpC-004192-r4-0300')])

and the solution is:

> mv fpC-004192-r4-0300.fit fpC-004192-r4-0300.fitsmv: cannot stat `fpC-004192-r4-0300.fit': No such file or directory
> processFile.py fpC-004192-r4-0300.fits --output output --clobber-config -c gain=2 doVariance=True calibrate.astrometry.solver.matchThreshold=14. calibrate.astrometry.solver.maxStars=100
: Loading config overrride file '/nfs/lsst/home/dstn/lsst/obs_file/config/processFile.py'
: Loading config overrride file '/nfs/lsst/home/dstn/lsst/obs_file/config/processFile.py'
: input=/nfs/lsst/home/dstn/lsst/lsst_dm_stack_demo-8.0.0.0
: output=/nfs/lsst/home/dstn/lsst/lsst_dm_stack_demo-8.0.0.0/output
CameraMapper: Loading registry registry from /nfs/lsst/home/dstn/lsst/lsst_dm_stack_demo-8.0.0.0/output/_parent/registry.sqlite3
processFile: Processing {'calexp': 'fpC-004192-r4-0300'}

If processFile's argument is a file that exists, why require its filename to be .fits? Depending on filename extensions is a Windows-y ickfest.

@RobertLuptonTheGood
Copy link
Member

There's a ticket on that somewhere.

It's a "feature" of the butler's glob matching, and will go away with the new butler when KT finds some time...

                    R

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants