-
Notifications
You must be signed in to change notification settings - Fork 0
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
Resolve targets #5
Comments
Potentially easier ones to resolve are examples of just using hyphenation/punctuation differently:
Some of these cases are for targets that have large amounts of exposure time, so keeping them together would be very beneficial. |
Perhaps we can hack into the archive's target resolver? |
It is probably best to resolve some of these targets by hand. One way we could do this is build a dictionary whose keys are the TARGNAMEs that we want to consider true and whose values are lists of TARGNAME alternatives to the key. For example: targ_dict['SATURN'] = ['SATURN-VISIT11-SLEW-ORBIT1', 'SATURN-VISIT11-SLEW-ORBIT2', ...] This dictionary can then be flipped to save on computing time, as such: targ_dict['SATURN-VISIT11-SLEW-ORBIT1'] = 'SATURN'
targ_dict['SATURN-VISIT11-SLEW-ORBIT2'] = 'SATURN' Then, in the pipeline, before the TARGNAME is added to the database, it can be checked to see if it exists as a key in this dictionary, and if it is, the TARGNAME can be exchanged with the dictionary value. This will help us build a TARGNAME vs EXPTIME plot, as mentioned in issue #9. |
@justincely found an online target resolving service that perhaps can help us resolve some of the targets. He made a wrapper function I've made an notebook that plays around with the target resolver. It appears that only ~20% of the target names are able to be resolved. |
@bourque 20% of the targets is fine - that actually makes a good deal of sense. HST time is very competitive, and duplications need to be well justified. So it's definitely going to be in the minority when a target is observed twice with different names. |
I created a dictionary in utils.targname_dict that stores some manually resolved targets. This dictionary was made with two general rules:
For targets that do not need to be resolved, the dictionary values are blank (e.g. |
@justincely found the resolver that MAST uses: http://mastresolver.stsci.edu/Santa-war/. This could help us resolve targets even further. |
Output lightcurves are separated based on
TARGNAME
, but many of theTARGNAME
s differ even though they refer to the same target. For example,presumably all refer to the same target. It would be useful to resolve the targets during
ingest
and place similar targets in the same directory in the filesystem (thus enabling more complete composite lightcurves)The text was updated successfully, but these errors were encountered: