Open larnoldgithub opened 3 weeks ago
additional question: does SCIENCE_TARGETS accept DRSOBJN ?
objects with some not worth being in the astrometric db
They should all be in the astrometric database - for lbl and air if they have no proper motion you can use one of the arguments (see the --help) please comment of these for now and I'll add a tag to them for NO_PM - in v0.8 we'll use this tag
SCIENCE_TARGETS crossmatches against the database - the preferred name is the DRSOBJN but any alias will work.
I have 150 stars to process for 24A, some of them aren't in Simbad. How can I proceed then ?
those are 'custom targets' entered by PI in our Kealahou system.
I'm running another Apero for the quicklook, just for one night, with SCIENCE_TARGETS=All and I get
00:42:11.031-@!|PP_SCI[00159]| W[10-010-00005]: Object LP_695M351 is not in the astrometric database. Using
00:42:11.031-@!|PP_SCI[00159]| header values for astrometric parameters
This is the usual warning, so just a warning, not an error as with the processing mentioned above.
It seems that SCIENCE_TARGETS=All and SCIENCE_TARGETS=obj1, obj2,obj3 aren'n processed the same way ?
I have 150 stars to process for 24A, some of them aren't in Simbad. How can I proceed then ?
Can you not process all targets in 24A? Why do you need such a big list, how many targets are not in your list?
It seems that SCIENCE_TARGETS=All and SCIENCE_TARGETS=obj1, obj2,obj3 aren'n processed the same way ?
I'm not sure what you mean here. SCIENCE_TARGETS=All does not filter by target name so just gets all .fits for the raw directory. For SCIENCE_TARGETS=obj1,obj2,obj3 I have to look in the database for aliases hence why they have to be there. How does APERO know obj1 is not an alias to another target? It is dangerous to process objects not in the database because it means no one has checked for an entry already existing under another name. That being said I should be able to just try to find any object name you have on disk - right now I don't know how much code change this would be, I'll have to check.
I have 150 stars to process for 24A, some of them aren't in Simbad. How can I proceed then ? Can you not process all targets in 24A? Why do you need such a big list, how many targets are not in your list?
I only want to process the objects of 24A (new or already observed before); I'll recalculate the template for those, so I set INCLUDE_OBS_DIRS =All. If I do SCIENCE_TARGETS=All too, then I'll repreocess all SPI data, which I don't want. I only want to reprocess the 24A objects and update the template for those.
Is there better way to proceed for that ?
It seems that SCIENCE_TARGETS=All and SCIENCE_TARGETS=obj1, obj2,obj3 aren'n processed the same way ? I'm not sure what you mean here. SCIENCE_TARGETS=All does not filter by target name so just gets all .fits for the raw directory. For SCIENCE_TARGETS=obj1,obj2,obj3 I have to look in the database for aliases hence why they have to be there. How does APERO know obj1 is not an alias to another target? It is dangerous to process objects not in the database because it means no one has checked for an entry already existing under another name. That being said I should be able to just try to find any object name you have on disk - right now I don't know how much code change this would be, I'll have to check.
What I meant is what you're explaining: SCIENCE_TARGETS=All doesn't filter, ='obj1,obj2,obj3' does filter. So I understand that if I would set SCIENCE_TARGETS=All instead of the long list of objects, I would have no issues reducing all objects, but as I said this is not what I want to do.
Let me know if I'll still unclear!
Is there better way to proceed for that ?
Currently no objects have to be in the astrometric database.
Hi @njcuk9999 good to hear this morning that fixing this issue is in your immediate todo list ;)
A full reprocessing may be worth with the new CCF of the .7.290. Do you need a test of the .290 with the minidata2 ? I may be able to run a test in the coming days. Or could I run the CCF on the existing .288 files ?
Urm there were some changes to the background which start with the preprocessing so probably best to run the mini data fresh.
You can of course try to run existing files but I can't promise you wont get errors.
So I've been looking into doing this, so I can do this but:
In the future, there may be other reasons why these won't work as having an object database is being used in multiple places (not just for the BERV).
I would still strongly recommend adding all objects to the object database.
It will also be much slower to find the targets as instead of currently just looking in the object database I would have to do the following:
This takes a lot of time every time I want to find "unique" objects when one could just get a list of objects from the object database very quickly.
Also there is no way to know whether the user made a typo or really wants these targets - I've found it very useful to have a "catch" when writing the wrong target name in SCIENCE_TARGETS (i.e. WASP-90 instead of WASP-80)
okay one thing I could do is when checking whether they are all in the database ask the user to confirm if targets that are missing from the database are okay to be added to processing... you'll get a pause and have to confirm each one that was found to be missing but otherwise, I see no way to "check" these are the objects you want.
Hi Neil Follow up after the email I sent you - I'm opening this ticket
Its seems that with SCIENCE_TARGETS= obj1, obj2, obj3 and with obj3 not in the astrometric db, the processing fails to start. How to handle a list of objects with some not worth being in the astrometric db ?
I do want to process only a limited number of objects, with a bunch not in the astrometric db (too faint objects).