-
Notifications
You must be signed in to change notification settings - Fork 18
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
DM-1579: HTM indexed files. #42
Merged
Merged
Commits on Mar 31, 2016
-
Implement simple spacial indexer
This implements an indexer that provides the methods necessary to shard a catalog and then look up the correct shard later. The package I use currently has a problem if you call the lookup_id method without first calling another function. This hack will go away if the package is fixed or if we get an LSST maintained version.
Configuration menu - View commit details
-
Copy full SHA for b36d318 - Browse repository at this point
Copy the full SHA b36d318View commit details -
Add a task for reading text files
This will be used to read files from disk for indexing
Configuration menu - View commit details
-
Copy full SHA for 9d1d1d8 - Browse repository at this point
Copy the full SHA 9d1d1d8View commit details -
Add config for the catalog ingester
The catalog ingester will load files using a helper task and put the contents in a set of SourceCatalogs, one per HTM trixel. Most of the config is to allow mapping of columns in the file to the schema needed for referenc catalogs.
Configuration menu - View commit details
-
Copy full SHA for 0d2cb01 - Browse repository at this point
Copy the full SHA 0d2cb01View commit details -
Implement the reference catalog ingester
This implements the task to take files and parse them into SourceCatalogs. Some of the tasks implemented here are: read the file into a numpy array (the whole file needs to fit in memory), construct the SourceCatalog schema from the array dtype, index the catalog and fill the SourceCatalog. Command line tasks need a command runner. Since this task doesn't need to parse an `--id` argument, we an forego that step. Essentially, this just calls the task run method and gives a place to persist the config.
Configuration menu - View commit details
-
Copy full SHA for 57d0dc1 - Browse repository at this point
Copy the full SHA 57d0dc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d5acdf - Browse repository at this point
Copy the full SHA 2d5acdfView commit details
Commits on Apr 1, 2016
-
This involves reconstituting the task that ingested the files. The only config is the name of the config to read to create the ingester task. The loader then borrows the indexer from the ingester task to grab the files from the repo it needs to load the reference catalog. The shards are only clipped if they land on the boundary of the circular aperture. This is a minimal override of the reference catalog loader. It may be possible to optimize by overriding other default implementations.
Configuration menu - View commit details
-
Copy full SHA for 5f09f1c - Browse repository at this point
Copy the full SHA 5f09f1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c21ed6d - Browse repository at this point
Copy the full SHA c21ed6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c56e30d - Browse repository at this point
Copy the full SHA c56e30dView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.